SHA256
1
0
forked from pool/jq

Accepting request 1005649 from home:dirkmueller:Factory

- build without valgrind on riscv64 - does not exist (yet)

OBS-URL: https://build.opensuse.org/request/show/1005649
OBS-URL: https://build.opensuse.org/package/show/utilities/jq?expand=0&rev=24
This commit is contained in:
Michael Vetter 2022-10-06 10:14:02 +00:00 committed by Git OBS Bridge
parent 719bc14653
commit 2d26332642
2 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 23 16:16:46 UTC 2022 - Dirk Müller <dmueller@suse.com>
- build without valgrind on riscv64 - does not exist (yet)
-------------------------------------------------------------------
Thu Jul 4 17:27:13 UTC 2019 - myen@suse.com

13
jq.spec
View File

@ -1,7 +1,7 @@
#
# spec file for package jq
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -20,14 +20,16 @@ Name: jq
Version: 1.6
Release: 0
Summary: A lightweight and flexible command-line JSON processor
License: MIT AND CC-BY-3.0
License: CC-BY-3.0 AND MIT
Group: Productivity/Text/Utilities
URL: http://stedolan.github.io/jq/
URL: https://stedolan.github.io/jq/
Source: https://github.com/stedolan/jq/releases/download/jq-%{version}/jq-%{version}.tar.gz
BuildRequires: chrpath
BuildRequires: flex
BuildRequires: oniguruma-devel
%ifnarch riscv64
BuildRequires: valgrind
%endif
Requires: libjq1 = %{version}
%description
@ -57,6 +59,9 @@ Development files (headers and libraries for jq).
%build
%configure \
--disable-static \
%ifarch riscv64
--disable-valgrind \
%endif
--disable-silent-rules
make %{?_smp_mflags}