From b29b559748769a9b44c098536b429497f65092205b642ab6637603567629427c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Wed, 15 Nov 2023 15:16:19 +0000 Subject: [PATCH] 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 --- jq.changes | 7 ++++++- jq.spec | 6 ++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/jq.changes b/jq.changes index aa3b7b5..a06c7bd 100644 --- a/jq.changes +++ b/jq.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 15 10:26:07 UTC 2023 - Dirk Müller + +- build with valgrind only on 64 bit architectures + ------------------------------------------------------------------- Wed Sep 27 04:32:39 UTC 2023 - Andreas Stieger @@ -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 diff --git a/jq.spec b/jq.spec index 44308f5..23dba76 100644 --- a/jq.spec +++ b/jq.spec @@ -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}