Strip rpath from jq binary
Related: rhbz#2008983
This commit is contained in:
parent
ebc1d92bfc
commit
d88867bb86
28
jq.spec
28
jq.spec
@ -1,6 +1,6 @@
|
|||||||
Name: jq
|
Name: jq
|
||||||
Version: 1.6
|
Version: 1.6
|
||||||
Release: 11%{?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
|
||||||
@ -13,6 +13,7 @@ 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
|
||||||
@ -26,18 +27,18 @@ BuildRequires: libtool
|
|||||||
%description
|
%description
|
||||||
lightweight and flexible command-line JSON processor
|
lightweight and flexible command-line JSON processor
|
||||||
|
|
||||||
jq is like sed for JSON data – you can use it to slice
|
jq is like sed for JSON data – you can use it to slice
|
||||||
and filter and map and transform structured data with
|
and filter and map and transform structured data with
|
||||||
the same ease that sed, awk, grep and friends let you
|
the same ease that sed, awk, grep and friends let you
|
||||||
play with text.
|
play with text.
|
||||||
|
|
||||||
It is written in portable C, and it has zero runtime
|
It is written in portable C, and it has zero runtime
|
||||||
dependencies.
|
dependencies.
|
||||||
|
|
||||||
jq can mangle the data format that you have into the
|
jq can mangle the data format that you have into the
|
||||||
one that you want with very little effort, and the
|
one that you want with very little effort, and the
|
||||||
program to do so is often shorter and simpler than
|
program to do so is often shorter and simpler than
|
||||||
you'd expect.
|
you'd expect.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
@ -71,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
|
||||||
@ -96,6 +98,10 @@ 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
|
* Wed Sep 29 2021 Davide Cavalca <dcavalca@centosproject.org> - 1.6-10
|
||||||
- Backport PR#1752 to fix an integer logic issue
|
- Backport PR#1752 to fix an integer logic issue
|
||||||
Resolves: rhbz#2008983
|
Resolves: rhbz#2008983
|
||||||
|
Loading…
Reference in New Issue
Block a user