Enable wrapper for obsoleted tcptraceroute (#733030)
This commit is contained in:
parent
48535dbd94
commit
aebf7a8738
@ -2,13 +2,16 @@ Summary: Traces the route taken by packets over an IPv4/IPv6 network
|
||||
Name: traceroute
|
||||
Epoch: 3
|
||||
Version: 2.0.18
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Group: Applications/Internet
|
||||
License: GPLv2+
|
||||
URL: http://traceroute.sourceforge.net
|
||||
Source0: http://downloads.sourceforge.net/project/traceroute/traceroute/traceroute-%{version}/traceroute-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Provides: tcptraceroute = 1.5-1
|
||||
Obsoletes: tcptraceroute < 1.5-1
|
||||
|
||||
|
||||
%description
|
||||
The traceroute utility displays the route used by IP packets on their
|
||||
@ -39,10 +42,14 @@ pushd $RPM_BUILD_ROOT/bin
|
||||
ln -s traceroute traceroute6
|
||||
popd
|
||||
|
||||
install -d $RPM_BUILD_ROOT%{_bindir}
|
||||
install -m755 wrappers/tcptraceroute $RPM_BUILD_ROOT%{_bindir}
|
||||
|
||||
install -d $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
|
||||
|
||||
|
||||
@ -54,10 +61,14 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING README TODO CREDITS
|
||||
/bin/*
|
||||
%{_bindir}/*
|
||||
%{_mandir}/*/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Nov 2 2011 Dmitry Butskoy <Dmitry@Butskoy.name> - 3:2.0.18-2
|
||||
- add wrapper for tcptraceroute (which is obsoleted now, #733030)
|
||||
|
||||
* Wed Aug 24 2011 Dmitry Butskoy <Dmitry@Butskoy.name> - 3:2.0.18-1
|
||||
- update to 2.0.18 (make possible to use unprivileged icmp echo sockets)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user