remove rpath

This commit is contained in:
wang--ge 2023-11-21 11:29:32 +08:00
parent 8cfdd7ec35
commit 4a691c9046

View File

@ -1,13 +1,13 @@
Name: jq
Version: 1.5
Release: 18
Release: 19
Summary: A lightweight and flexible 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/jq-%{version}/jq-%{version}.tar.gz
Patch0: CVE-2015-8863.patch
Patch1: CVE-2016-4074.patch
BuildRequires: make flex bison valgrind
BuildRequires: make flex bison valgrind chrpath
Requires: %{name}-help = %{version}-%{release}
%description
@ -40,6 +40,7 @@ Documentation for jq package.
%install
%make_install
%delete_la
chrpath -d %{buildroot}/%{_bindir}/jq
%check
%if %{?_with_check:1}%{!?_with_check:0}
@ -72,6 +73,9 @@ make check
%changelog
* Tue Nov 21 2023 Ge Wang <wang__ge@126.com> -1.5-19
- Remove rpath
* Fri Nov 06 2020 leiju <leiju4@huawei.com> -1.5-18
- Add Requires jq-help into jq