diff --git a/jq.changes b/jq.changes index bd09f25..cdaede8 100644 --- a/jq.changes +++ b/jq.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Jan 2 08:47:00 UTC 2017 - mpluskal@suse.com + +- Update tests dependencies to increase test coverage (bsc#1017157) + * valgrind based tests were skipped +- Do not run tests in qemu builds, valgrind does not work reliably + in such conditions + ------------------------------------------------------------------- Sat Jul 16 10:14:33 UTC 2016 - mpluskal@suse.com diff --git a/jq.spec b/jq.spec index ebd23d6..2c82173 100644 --- a/jq.spec +++ b/jq.spec @@ -1,7 +1,7 @@ # # spec file for package jq # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,9 @@ Url: http://stedolan.github.io/jq/ Source: https://github.com/stedolan/jq/releases/download/jq-%{version}/jq-%{version}.tar.gz Patch1: CVE-2015-8863.patch BuildRequires: chrpath +BuildRequires: flex BuildRequires: oniguruma-devel +BuildRequires: valgrind BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -57,7 +59,7 @@ Development files (headers and libraries for jq). %build %configure \ --disable-static \ - --disable-silent-rules + --disable-silent-rules make %{?_smp_mflags} %install @@ -73,7 +75,9 @@ rm %{buildroot}%{_libdir}/libjq.la rm -rf %{buildroot}%{_datadir}/doc/%{name} %check -make check +%if "%{qemu_user_space_build}" == "0" +make %{?_smp_mflags} check +%endif %post -n libjq1 -p /sbin/ldconfig %postun -n libjq1 -p /sbin/ldconfig