Remove RPATH usage from additional binaries

Signed-off-by: Antonio Torres <antorres@redhat.com>
This commit is contained in:
Antonio Torres 2021-06-29 14:53:31 +02:00
parent c54625805c
commit f7c2c07435

View File

@ -1,7 +1,7 @@
Summary: High-performance and highly configurable free RADIUS server Summary: High-performance and highly configurable free RADIUS server
Name: freeradius Name: freeradius
Version: 3.0.23 Version: 3.0.23
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
URL: http://www.freeradius.org/ 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 # remove rpath where needed
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/freeradius/*.so chrpath --delete $RPM_BUILD_ROOT%{_libdir}/freeradius/*.so
chrpath --delete $RPM_BUILD_ROOT/usr/sbin/radiusd chrpath --delete $RPM_BUILD_ROOT/usr/sbin/* || true
chrpath --delete $RPM_BUILD_ROOT/usr/sbin/radmin chrpath --delete $RPM_BUILD_ROOT/usr/bin/* || true
# update ld with freeradius libs # update ld with freeradius libs
mkdir -p %{buildroot}/%{_sysconfdir}/ld.so.conf.d 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 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/rest
%changelog %changelog
* Tue Jun 29 2021 Antonio Torres <antorres@redhat.com> - 3.0.23-2
- Remove RPATH usage from additional binaries
* Tue Jun 29 2021 Antonio Torres <antorres@redhat.com> - 3.0.23-1 * Tue Jun 29 2021 Antonio Torres <antorres@redhat.com> - 3.0.23-1
- Rebase to 3.0.23 - Rebase to 3.0.23
Fixes: bz#1970528 Fixes: bz#1970528