!48 remove rpath
From: @XWwalker Reviewed-by: @robertxw Signed-off-by: @robertxw
This commit is contained in:
commit
7eebe0d739
12
tcpdump.spec
12
tcpdump.spec
@ -1,7 +1,7 @@
|
|||||||
Name: tcpdump
|
Name: tcpdump
|
||||||
Epoch: 14
|
Epoch: 14
|
||||||
Version: 4.9.3
|
Version: 4.9.3
|
||||||
Release: 7
|
Release: 8
|
||||||
Summary: A network traffic monitoring tool
|
Summary: A network traffic monitoring tool
|
||||||
License: BSD with advertising
|
License: BSD with advertising
|
||||||
URL: http://www.tcpdump.org
|
URL: http://www.tcpdump.org
|
||||||
@ -23,7 +23,7 @@ Patch0013: CVE-2020-8037.patch
|
|||||||
Patch0014: backport-CVE-2018-16301.patch
|
Patch0014: backport-CVE-2018-16301.patch
|
||||||
|
|
||||||
Requires(pre): shadow-utils
|
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
|
%define tcpslice_dir tcpslice-1.2a3
|
||||||
|
|
||||||
@ -70,6 +70,8 @@ popd
|
|||||||
install -m755 tcpdump ${RPM_BUILD_ROOT}%{_sbindir}
|
install -m755 tcpdump ${RPM_BUILD_ROOT}%{_sbindir}
|
||||||
install -m644 tcpdump.1 ${RPM_BUILD_ROOT}%{_mandir}/man8/tcpdump.8
|
install -m644 tcpdump.1 ${RPM_BUILD_ROOT}%{_mandir}/man8/tcpdump.8
|
||||||
|
|
||||||
|
chrpath -d %{buildroot}%{_sbindir}/tcpdump
|
||||||
|
|
||||||
# fix section numbers
|
# fix section numbers
|
||||||
sed -i 's/\(\.TH[a-zA-Z ]*\)[1-9]\(.*\)/\18\2/' \
|
sed -i 's/\(\.TH[a-zA-Z ]*\)[1-9]\(.*\)/\18\2/' \
|
||||||
${RPM_BUILD_ROOT}%{_mandir}/man8/*
|
${RPM_BUILD_ROOT}%{_mandir}/man8/*
|
||||||
@ -94,6 +96,12 @@ make check
|
|||||||
%{_mandir}/man8/tcpdump.8*
|
%{_mandir}/man8/tcpdump.8*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Sep 07 2022 gaihuiying <eaglegai@163.com> - 14:4.9.3-7
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user