Enable wrapper for obsoleted tcptraceroute (#733030)

This commit is contained in:
Dmitry Butskoy 2011-11-02 20:34:06 +04:00
parent 48535dbd94
commit aebf7a8738

View File

@ -2,13 +2,16 @@ Summary: Traces the route taken by packets over an IPv4/IPv6 network
Name: traceroute Name: traceroute
Epoch: 3 Epoch: 3
Version: 2.0.18 Version: 2.0.18
Release: 1%{?dist} Release: 2%{?dist}
Group: Applications/Internet Group: Applications/Internet
License: GPLv2+ License: GPLv2+
URL: http://traceroute.sourceforge.net URL: http://traceroute.sourceforge.net
Source0: http://downloads.sourceforge.net/project/traceroute/traceroute/traceroute-%{version}/traceroute-%{version}.tar.gz Source0: http://downloads.sourceforge.net/project/traceroute/traceroute/traceroute-%{version}/traceroute-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides: tcptraceroute = 1.5-1
Obsoletes: tcptraceroute < 1.5-1
%description %description
The traceroute utility displays the route used by IP packets on their 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 ln -s traceroute traceroute6
popd popd
install -d $RPM_BUILD_ROOT%{_bindir}
install -m755 wrappers/tcptraceroute $RPM_BUILD_ROOT%{_bindir}
install -d $RPM_BUILD_ROOT%{_mandir}/man8 install -d $RPM_BUILD_ROOT%{_mandir}/man8
install -p -m644 traceroute/traceroute.8 $RPM_BUILD_ROOT%{_mandir}/man8 install -p -m644 traceroute/traceroute.8 $RPM_BUILD_ROOT%{_mandir}/man8
pushd $RPM_BUILD_ROOT%{_mandir}/man8 pushd $RPM_BUILD_ROOT%{_mandir}/man8
ln -s traceroute.8 traceroute6.8 ln -s traceroute.8 traceroute6.8
ln -s traceroute.8 tcptraceroute.8
popd popd
@ -54,10 +61,14 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING README TODO CREDITS %doc COPYING README TODO CREDITS
/bin/* /bin/*
%{_bindir}/*
%{_mandir}/*/* %{_mandir}/*/*
%changelog %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 * 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) - update to 2.0.18 (make possible to use unprivileged icmp echo sockets)