From 49317de5f456741d218f43bfaf3193d3f8fd735b Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Tue, 21 Mar 2023 20:09:35 +0100 Subject: [PATCH] tcpdump: Switch to patchelf to remove the RPATH Signed-off-by: Stefan Schantl --- tcpdump/tcpdump.nm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.47.3