import jq-1.6-12.el9
This commit is contained in:
parent
f59610b976
commit
c4d3936358
27596
SOURCES/jq-decimal-literal-number.patch
Normal file
27596
SOURCES/jq-decimal-literal-number.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,21 +1,27 @@
|
|||||||
Name: jq
|
Name: jq
|
||||||
Version: 1.6
|
Version: 1.6
|
||||||
Release: 9%{?dist}
|
Release: 12%{?dist}
|
||||||
Summary: Command-line JSON processor
|
Summary: Command-line JSON processor
|
||||||
|
|
||||||
License: MIT and ASL 2.0 and CC-BY and GPLv3
|
License: MIT and ASL 2.0 and CC-BY and GPLv3
|
||||||
URL: http://stedolan.github.io/jq/
|
URL: http://stedolan.github.io/jq/
|
||||||
Source0: https://github.com/stedolan/jq/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/stedolan/jq/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||||
|
# Backport of PR#1752 for RHBZ#2008979
|
||||||
|
Patch0: jq-decimal-literal-number.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: oniguruma-devel
|
BuildRequires: oniguruma-devel
|
||||||
|
BuildRequires: chrpath
|
||||||
|
|
||||||
%ifarch %{valgrind_arches}
|
%ifarch %{valgrind_arches}
|
||||||
BuildRequires: valgrind
|
BuildRequires: valgrind
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: libtool
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -43,9 +49,10 @@ Development files for %{name}
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn %{name}-%{version}
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
autoreconf -if
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
# Docs already shipped in jq's tarball.
|
# Docs already shipped in jq's tarball.
|
||||||
@ -65,6 +72,7 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install
|
make DESTDIR=%{buildroot} install
|
||||||
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||||
|
chrpath --delete %{buildroot}/usr/bin/jq
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Valgrind used, so restrict architectures for check
|
# Valgrind used, so restrict architectures for check
|
||||||
@ -90,6 +98,14 @@ make check
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 15 2021 Tomas Halman <thalman@redhat.com>
|
||||||
|
- Strip rpath from jq binary
|
||||||
|
Related: rhbz#2008983
|
||||||
|
|
||||||
|
* Wed Sep 29 2021 Davide Cavalca <dcavalca@centosproject.org> - 1.6-10
|
||||||
|
- Backport PR#1752 to fix an integer logic issue
|
||||||
|
Resolves: rhbz#2008983
|
||||||
|
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.6-9
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.6-9
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Related: rhbz#1991688
|
Related: rhbz#1991688
|
||||||
|
Loading…
Reference in New Issue
Block a user