Fix rpath not being removed correctly

Signed-off-by: Antonio Torres <antorres@redhat.com>
This commit is contained in:
Antonio Torres 2021-06-29 16:26:48 +02:00
parent f7c2c07435
commit 508c8f0746

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: 2%{?dist} Release: 3%{?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/* || true for f in $RPM_BUILD_ROOT/usr/sbin/*; do chrpath --delete $f || true; done
chrpath --delete $RPM_BUILD_ROOT/usr/bin/* || true for f in $RPM_BUILD_ROOT/usr/bin/*; do chrpath --delete $f || true; done
# 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
- Fix rpath not being removed correctly
* Tue Jun 29 2021 Antonio Torres <antorres@redhat.com> - 3.0.23-2 * Tue Jun 29 2021 Antonio Torres <antorres@redhat.com> - 3.0.23-2
- Remove RPATH usage from additional binaries - Remove RPATH usage from additional binaries