Accepting request 448554 from utilities

1

OBS-URL: https://build.opensuse.org/request/show/448554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jq?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2017-01-09 09:32:31 +00:00 committed by Git OBS Bridge
commit e8f43e3188
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

10
jq.spec
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
@ -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