Backport PR#1752 to fix an integer logic issue

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2008983

Signed-off-by: Davide Cavalca <dcavalca@centosproject.org>
This commit is contained in:
Davide Cavalca 2021-09-29 11:03:56 -07:00
parent 04773f1f9b
commit 0663542d14
2 changed files with 27608 additions and 2 deletions

File diff suppressed because it is too large Load Diff

14
jq.spec
View File

@ -1,11 +1,13 @@
Name: jq
Version: 1.6
Release: 9%{?dist}
Release: 10%{?dist}
Summary: Command-line JSON processor
License: MIT and ASL 2.0 and CC-BY and GPLv3
URL: http://stedolan.github.io/jq/
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: flex
@ -16,6 +18,9 @@ BuildRequires: oniguruma-devel
BuildRequires: valgrind
%endif
BuildRequires: make
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
%description
@ -43,9 +48,10 @@ Development files for %{name}
%prep
%setup -qn %{name}-%{version}
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -if
%configure --disable-static
make %{?_smp_mflags}
# Docs already shipped in jq's tarball.
@ -90,6 +96,10 @@ make check
%changelog
* 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
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688