From: Stefan Schantl Date: Tue, 21 Mar 2023 19:09:35 +0000 (+0100) Subject: tcpdump: Switch to patchelf to remove the RPATH X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=49317de5f456741d218f43bfaf3193d3f8fd735b;p=people%2Fstevee%2Fipfire-3.x.git tcpdump: Switch to patchelf to remove the RPATH Signed-off-by: Stefan Schantl --- diff --git a/tcpdump/tcpdump.nm b/tcpdump/tcpdump.nm index 226744143..9c4d33822 100644 --- a/tcpdump/tcpdump.nm +++ b/tcpdump/tcpdump.nm @@ -5,7 +5,7 @@ name = tcpdump version = 4.99.1 -release = 1 +release = 2 groups = Networking/Sniffer url = https://www.tcpdump.org/ @@ -23,9 +23,9 @@ source_dl = https://www.tcpdump.org/release/ build requires - chrpath libpcap-devel openssl-devel + patchelf end configure_options += \ @@ -37,7 +37,7 @@ build rm -vf %{BUILDROOT}%{sbindir}/tcpdump.%{version} # Remove RPATH. - chrpath --delete %{BUILDROOT}%{bindir}/tcpdump + patchelf --remove-rpath %{BUILDROOT}%{bindir}/tcpdump end end