Fix rpath not being removed correctly
Signed-off-by: Antonio Torres <antorres@redhat.com>
This commit is contained in:
parent
f7c2c07435
commit
508c8f0746
@ -1,7 +1,7 @@
|
||||
Summary: High-performance and highly configurable free RADIUS server
|
||||
Name: freeradius
|
||||
Version: 3.0.23
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?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/* || true
|
||||
chrpath --delete $RPM_BUILD_ROOT/usr/bin/* || true
|
||||
for f in $RPM_BUILD_ROOT/usr/sbin/*; do chrpath --delete $f || true; done
|
||||
for f in $RPM_BUILD_ROOT/usr/bin/*; do chrpath --delete $f || true; done
|
||||
|
||||
# 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 <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
|
||||
- Remove RPATH usage from additional binaries
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user