SHA256
1
0
forked from pool/jq

Accepting request 1126667 from utilities

OBS-URL: https://build.opensuse.org/request/show/1126667
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jq?expand=0&rev=14
This commit is contained in:
Ana Guerrero 2023-11-16 19:27:15 +00:00 committed by Git OBS Bridge
commit 1747099250
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>

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}