!14 remove Rpath to fix EulerMaker build error

From: @wang--ge 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2023-12-20 07:13:16 +00:00 committed by Gitee
commit 8e039d099f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

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