]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
net-snmp: Switch to patchelf to remove the RPATH
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 21 Mar 2023 19:17:46 +0000 (20:17 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 21 Mar 2023 19:17:46 +0000 (20:17 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
net-snmp/net-snmp.nm

index 26e90531393d38a8f02c2bf555a86a416f91957a..af62067a0cf2c9166dca669796f4a9d3dd7fefe9 100644 (file)
@@ -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