Skip the valgrind tests when building an RPM, as it appears that the optimisation flags do not work well with valgrind and lead to false results.

This commit is contained in:
Andrew Wood
2024-12-19 21:40:11 +00:00
parent 4a287f96fd
commit 5c3743e1f8
+1 -1
View File
@@ -60,7 +60,7 @@ make %{?_smp_mflags}
%install
test -n "\${RPM_BUILD_ROOT}" && test "\${RPM_BUILD_ROOT}" != '/' && rm -rf "\${RPM_BUILD_ROOT}"
make install DESTDIR="\${RPM_BUILD_ROOT}"
make install DESTDIR="\${RPM_BUILD_ROOT}" SKIP_VALGRIND_TESTS=1
rm -rf "\${RPM_BUILD_ROOT}/usr/share/doc"
%find_lang %{name}