diff --git a/traceroute.changes b/traceroute.changes index f215577..873bc1d 100644 --- a/traceroute.changes +++ b/traceroute.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Mar 7 17:52:47 UTC 2013 - crrodriguez@opensuse.org + +- The previous incarnation of traceroute had a traceroute6 + binary, provide a compatibility symlink for it. + +- Build with full RELRO. + ------------------------------------------------------------------- Sun Jan 27 19:20:20 UTC 2013 - crrodriguez@opensuse.org diff --git a/traceroute.spec b/traceroute.spec index 428a4d7..eb92ebd 100644 --- a/traceroute.spec +++ b/traceroute.spec @@ -1,5 +1,5 @@ # -# spec file for package +# spec file for package traceroute # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -15,13 +15,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: traceroute Version: 2.0.19 Release: 0 -License: GPL-2.0+ Summary: A new modern implementation of traceroute(8) utility for Linux systems -Url: http://traceroute.sourceforge.net/ +License: GPL-2.0+ Group: Productivity/Networking/Other +Url: http://traceroute.sourceforge.net/ Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch: traceroute-autotools.patch @@ -38,17 +39,21 @@ response from each gateway along the path to the host. %patch %build +export LDFLAGS="-Wl,-z,relro,-z,now" autoreconf -fiv %configure make %{?_smp_mflags} %install %make_install +ln -sf %{_sbindir}/%{name} %{buildroot}%{_sbindir}/%{name}6 +ln -s %{_mandir}/man8/traceroute.8 %{buildroot}%{_mandir}/man8/traceroute6.8 %files %defattr(-,root,root) %doc ChangeLog README COPYING %{_sbindir}/%{name} -%{_mandir}/man8/traceroute.8* +%{_sbindir}/%{name}6 +%{_mandir}/man8/traceroute*.8* %changelog