Remove broken RPATH usage from all conflicting files
Since Fedora 35, broken RPATH usage is detected and causes builds to fail: https://fedoraproject.org/wiki/Changes/Broken_RPATH_will_fail_rpmbuild This commit extends the list of files to remove the RPATH usage from. Signed-off-by: Antonio Torres <antorres@redhat.com>
This commit is contained in:
parent
a8e0c3d9ed
commit
0bee016e79
@ -280,8 +280,9 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/snmp/mibs/
|
|||||||
install -m 644 mibs/*RADIUS*.mib $RPM_BUILD_ROOT%{_datadir}/snmp/mibs/
|
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/rlm_sql_postgresql.so
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/freeradius/*.so
|
||||||
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/freeradius/rlm_sql_unixodbc.so
|
chrpath --delete $RPM_BUILD_ROOT/usr/sbin/radiusd
|
||||||
|
chrpath --delete $RPM_BUILD_ROOT/usr/sbin/radmin
|
||||||
|
|
||||||
# remove unneeded stuff
|
# remove unneeded stuff
|
||||||
rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/certs/*.crt
|
rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/raddb/certs/*.crt
|
||||||
|
Loading…
Reference in New Issue
Block a user