Accepting request 448457 from home:pluskalm:branches:utilities

- 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

OBS-URL: https://build.opensuse.org/request/show/448457
OBS-URL: https://build.opensuse.org/package/show/utilities/jq?expand=0&rev=15
This commit is contained in:
Robert Munteanu 2017-01-02 23:10:44 +00:00 committed by Git OBS Bridge
parent b43d7b532e
commit 19c14242f5
2 changed files with 15 additions and 3 deletions

View File

@ -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

View File

@ -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
@ -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