Update version to 2.1.2

This commit is contained in:
seuzw 2023-07-22 13:41:17 +08:00
parent dd7d69f67d
commit 7c760a022b
3 changed files with 16 additions and 22 deletions

Binary file not shown.

BIN
traceroute-2.1.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,11 +1,11 @@
Name: traceroute Name: traceroute
Epoch: 3 Epoch: 3
Version: 2.1.1 Version: 2.1.2
Release: 1 Release: 1
Summary: A new modern implementation of traceroute(8) utility for Linux systems Summary: A new modern implementation of traceroute(8) utility for Linux systems
License: GPLv2+ License: GPL-2.0-or-later
URL: http://traceroute.sourceforge.net/ URL: http://traceroute.sourceforge.net/
Source0: https://udomain.dl.sourceforge.net/project/traceroute/traceroute/traceroute-2.1.1/traceroute-2.1.1.tar.gz Source0: https://udomain.dl.sourceforge.net/project/traceroute/traceroute/traceroute-2.1.2/traceroute-2.1.2.tar.gz
Provides: tcptraceroute = 1.5-1 Provides: tcptraceroute = 1.5-1
Obsoletes: tcptraceroute < 1.5-1 Obsoletes: tcptraceroute < 1.5-1
@ -24,31 +24,19 @@ along the path to the host.
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%build %build
make CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" SKIPDIRS="${RPM_SPECPARTS_DIR##*/}"
%install %install
mkdir -p $RPM_BUILD_ROOT/bin install -D -p -m755 traceroute/traceroute $RPM_BUILD_ROOT%{_bindir}/traceroute
install -m755 traceroute/traceroute $RPM_BUILD_ROOT/bin ln -s traceroute $RPM_BUILD_ROOT%{_bindir}/traceroute6
install -D -p -m755 wrappers/tcptraceroute $RPM_BUILD_ROOT%{_bindir}/tcptraceroute
pushd $RPM_BUILD_ROOT/bin install -D -p -m644 traceroute/traceroute.8 $RPM_BUILD_ROOT%{_mandir}/man8/traceroute.8
ln -s traceroute traceroute6 ln -s traceroute.8 $RPM_BUILD_ROOT%{_mandir}/man8/traceroute6.8
popd ln -s traceroute.8 $RPM_BUILD_ROOT%{_mandir}/man8/tcptraceroute.8
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -m755 wrappers/tcptraceroute $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
install -p -m644 traceroute/traceroute.8 $RPM_BUILD_ROOT%{_mandir}/man8
pushd $RPM_BUILD_ROOT%{_mandir}/man8
ln -s traceroute.8 traceroute6.8
ln -s traceroute.8 tcptraceroute.8
popd
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%license COPYING %license COPYING
/bin/*
%{_bindir}/* %{_bindir}/*
%files help %files help
@ -57,6 +45,12 @@ popd
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Jul Sat 22 2023 Xingwei <xingwei14@h-partners.com> - 3:2.1.2-1
- Type:requirement
- Id:NA
- SUG:NA
- DESC:Update to version 2.1.2
* Thu Feb 2 2023 Cao Jingbo <caojb@chinatelecom.cn> - 3:2.1.1-1 * Thu Feb 2 2023 Cao Jingbo <caojb@chinatelecom.cn> - 3:2.1.1-1
- Type:enhancement - Type:enhancement
- Id:NA - Id:NA