From 4a505941633a3ab2ac4af05b40f2a0382e575d53 Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Tue, 20 Aug 2024 10:29:45 +0800 Subject: [PATCH] Remove rpath (cherry picked from commit 3b5b0bafa94edd6f9d75beef590a953ccdeb5263) --- gsl.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gsl.spec b/gsl.spec index c9580a7..ec7829a 100644 --- a/gsl.spec +++ b/gsl.spec @@ -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 - 2.7-2 +- Remove rpath + * Sat Feb 04 2023 wenchaofan <349464272@qq.com> - 2.7-1 - Update to 2.7 version -- Gitee