!16 [sync] PR-14: Remove rpath

From: @openeuler-sync-bot 
Reviewed-by: @starlet-dx 
Signed-off-by: @starlet-dx
This commit is contained in:
openeuler-ci-bot 2024-08-20 10:53:05 +00:00 committed by Gitee
commit 65512f39a8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: gsl
Version: 2.7
Release: 1
Release: 2
Summary: The GNU Scientific Library for numerical analysis
URL: http://www.gnu.org/software/gsl/
License: GPLv3 and GFDL-1.3-or-later and BSD
@ -9,6 +9,7 @@ Source: ftp://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz
Patch0: gsl-test.patch
BuildRequires: gcc pkgconfig
BuildRequires: chrpath
%description
The GNU Scientific Library (GSL) is a collection of routines for
@ -51,6 +52,9 @@ make check || ( cat */test-suite.log && exit 1 )
%install_info_rm
%delete_la_and_a
chrpath -d %{buildroot}/%{_bindir}/gsl-randist
chrpath -d %{buildroot}/%{_bindir}/gsl-histogram
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@ -90,6 +94,9 @@ fi
%{_mandir}/man3/*.3*
%changelog
* Tue Aug 20 2024 yaoxin <yao_xin001@hoperun.com> - 2.7-2
- Remove rpath
* Sat Feb 04 2023 wenchaofan <349464272@qq.com> - 2.7-1
- Update to 2.7 version