!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
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