From 8f72af2857d02ebed969b581725e0d37d727ac76 Mon Sep 17 00:00:00 2001 From: xingwei Date: Wed, 8 Nov 2023 11:37:54 +0000 Subject: [PATCH] remove rpath (cherry picked from commit 40818b6c49e9eb10da13e8106689be9ed1bc288b) --- tcpdump.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tcpdump.spec b/tcpdump.spec index 7f76c4d..deb3186 100644 --- a/tcpdump.spec +++ b/tcpdump.spec @@ -1,7 +1,7 @@ Name: tcpdump Epoch: 14 Version: 4.9.3 -Release: 7 +Release: 8 Summary: A network traffic monitoring tool License: BSD with advertising URL: http://www.tcpdump.org @@ -23,7 +23,7 @@ Patch0013: CVE-2020-8037.patch Patch0014: backport-CVE-2018-16301.patch Requires(pre): shadow-utils -BuildRequires: automake openssl-devel libpcap-devel git-core gcc +BuildRequires: automake openssl-devel libpcap-devel git-core gcc chrpath %define tcpslice_dir tcpslice-1.2a3 @@ -70,6 +70,8 @@ popd install -m755 tcpdump ${RPM_BUILD_ROOT}%{_sbindir} install -m644 tcpdump.1 ${RPM_BUILD_ROOT}%{_mandir}/man8/tcpdump.8 +chrpath -d %{buildroot}%{_sbindir}/tcpdump + # fix section numbers sed -i 's/\(\.TH[a-zA-Z ]*\)[1-9]\(.*\)/\18\2/' \ ${RPM_BUILD_ROOT}%{_mandir}/man8/* @@ -94,6 +96,12 @@ make check %{_mandir}/man8/tcpdump.8* %changelog +* Wed Nov 08 2023 xingwei - 14:4.9.3-8 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:remove rpath + * Wed Sep 07 2022 gaihuiying - 14:4.9.3-7 - Type:bugfix - ID:NA -- Gitee