remove rpath
This commit is contained in:
parent
9ad0a53df6
commit
40818b6c49
12
tcpdump.spec
12
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 <xingwei14@h-partners.com> - 14:4.9.3-8
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:remove rpath
|
||||
|
||||
* Wed Sep 07 2022 gaihuiying <eaglegai@163.com> - 14:4.9.3-7
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user