diff --git a/json-c.spec b/json-c.spec index b85b249..50efe44 100644 --- a/json-c.spec +++ b/json-c.spec @@ -26,7 +26,7 @@ Name: json-c Version: 0.14 -Release: 4%{?dist} +Release: 5%{?dist} Summary: JSON implementation in C License: MIT @@ -103,9 +103,10 @@ cp -a %{_vpath_builddir}/doc/html ChangeLog README README.* \ %check -pushd %{_vpath_builddir} -ctest %{_smp_mflags} --output-on-failure -popd +USE_VALGRIND=0 %make_build -C %{_vpath_builddir} test +%ifarch %{valgrind_arches} +USE_VALGRIND=1 %make_build -C %{_vpath_builddir} test +%endif %ldconfig_scriptlets @@ -135,6 +136,9 @@ popd %changelog +* Mon May 25 2020 Björn Esser - 0.14-5 +- Run the testssuite with valgrind on %%valgrind_arches + * Mon May 18 2020 Björn Esser - 0.14-4 - Add a patch to fix a test - Add a patch to fix generation of user-documentation