Accepting request 1126574 from home:dirkmueller:Factory

- build with valgrind only on 64 bit architectures

- Add CVE-2015-8863.patch to fix a heap overflow bsc#976992

OBS-URL: https://build.opensuse.org/request/show/1126574
OBS-URL: https://build.opensuse.org/package/show/utilities/jq?expand=0&rev=30
This commit is contained in:
Ondřej Súkup 2023-11-15 15:16:19 +00:00 committed by Git OBS Bridge
parent cb473718cc
commit b29b559748
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 15 10:26:07 UTC 2023 - Dirk Müller <dmueller@suse.com>
- build with valgrind only on 64 bit architectures
-------------------------------------------------------------------
Wed Sep 27 04:32:39 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
@ -123,7 +128,7 @@ Sat Jul 16 10:14:33 UTC 2016 - mpluskal@suse.com
-------------------------------------------------------------------
Mon Apr 25 11:48:27 UTC 2016 - idonmez@suse.com
- Add CVE-2015-8863.patch to fix a heap overflow bsc#976992
- Add CVE-2015-8863.patch to fix a heap overflow bsc#976992
-------------------------------------------------------------------
Tue Aug 18 09:12:21 UTC 2015 - idonmez@suse.com

View File

@ -30,7 +30,7 @@ BuildRequires: pkgconfig
BuildRequires: pkgconfig(oniguruma)
# https://github.com/stedolan/jq/issues/1904
Requires: libjq%{jq_sover} = %{version}
%ifnarch riscv64
%ifarch aarch64 x86_64 ppc64le s390x
BuildRequires: valgrind
%endif
@ -61,7 +61,9 @@ Development files (headers and libraries for jq).
%build
%configure \
--disable-static \
%ifarch riscv64
%ifarch aarch64 x86_64 ppc64le s390x
--enable-valgrind \
%else
--disable-valgrind \
%endif
%{nil}