From: Stefan Schantl Date: Tue, 21 Mar 2023 19:17:46 +0000 (+0100) Subject: net-snmp: Switch to patchelf to remove the RPATH X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b9dbe6d36daaf77760e1c54f1f958ae429b96c59;p=people%2Fstevee%2Fipfire-3.x.git net-snmp: Switch to patchelf to remove the RPATH Signed-off-by: Stefan Schantl --- diff --git a/net-snmp/net-snmp.nm b/net-snmp/net-snmp.nm index 26e905313..af62067a0 100644 --- a/net-snmp/net-snmp.nm +++ b/net-snmp/net-snmp.nm @@ -5,7 +5,7 @@ name = net-snmp version = 5.9.3 -release = 3 +release = 4 groups = Networking/Daemons url = http://net-snmp.sourceforge.net @@ -25,10 +25,10 @@ build autoconf automake bzip2-devel - chrpath elfutils-devel lm-sensors-devel >= 3 openssl-devel + patchelf procps python3-devel python3-setuptools @@ -109,7 +109,7 @@ build # Remove more RPATHs. find %{BUILDROOT}%{bindir} -type f -print \ - -exec chrpath --delete {} \; + -exec patchelf --remove-rpath {} \; end end