From f7c2c074353ea1ce89bd9f9af9e2463a973998d4 Mon Sep 17 00:00:00 2001 From: Antonio Torres Date: Tue, 29 Jun 2021 14:53:31 +0200 Subject: [PATCH] Remove RPATH usage from additional binaries Signed-off-by: Antonio Torres --- freeradius.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/freeradius.spec b/freeradius.spec index 11f155d..370b951 100644 --- a/freeradius.spec +++ b/freeradius.spec @@ -1,7 +1,7 @@ Summary: High-performance and highly configurable free RADIUS server Name: freeradius Version: 3.0.23 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ and LGPLv2+ URL: http://www.freeradius.org/ @@ -280,8 +280,8 @@ install -m 644 mibs/*RADIUS*.mib $RPM_BUILD_ROOT%{_datadir}/snmp/mibs/ # remove rpath where needed chrpath --delete $RPM_BUILD_ROOT%{_libdir}/freeradius/*.so -chrpath --delete $RPM_BUILD_ROOT/usr/sbin/radiusd -chrpath --delete $RPM_BUILD_ROOT/usr/sbin/radmin +chrpath --delete $RPM_BUILD_ROOT/usr/sbin/* || true +chrpath --delete $RPM_BUILD_ROOT/usr/bin/* || true # update ld with freeradius libs mkdir -p %{buildroot}/%{_sysconfdir}/ld.so.conf.d @@ -894,6 +894,9 @@ exit 0 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/rest %changelog +* Tue Jun 29 2021 Antonio Torres - 3.0.23-2 +- Remove RPATH usage from additional binaries + * Tue Jun 29 2021 Antonio Torres - 3.0.23-1 - Rebase to 3.0.23 Fixes: bz#1970528