Accepting request 157930 from home:elvigia:branches:network:utilities

- The previous incarnation of traceroute had a traceroute6
  binary, provide a compatibility symlink for it.
- Build with full RELRO.

OBS-URL: https://build.opensuse.org/request/show/157930
OBS-URL: https://build.opensuse.org/package/show/network:utilities/traceroute?expand=0&rev=3
This commit is contained in:
Ismail Dönmez 2013-03-07 18:12:56 +00:00 committed by Git OBS Bridge
parent 5e86298636
commit 0f1160657c
2 changed files with 17 additions and 4 deletions

View File

@ -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 Sun Jan 27 19:20:20 UTC 2013 - crrodriguez@opensuse.org

View File

@ -1,5 +1,5 @@
# #
# spec file for package # spec file for package traceroute
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -15,13 +15,14 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: traceroute Name: traceroute
Version: 2.0.19 Version: 2.0.19
Release: 0 Release: 0
License: GPL-2.0+
Summary: A new modern implementation of traceroute(8) utility for Linux systems 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 Group: Productivity/Networking/Other
Url: http://traceroute.sourceforge.net/
Source: %{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch: traceroute-autotools.patch Patch: traceroute-autotools.patch
@ -38,17 +39,21 @@ response from each gateway along the path to the host.
%patch %patch
%build %build
export LDFLAGS="-Wl,-z,relro,-z,now"
autoreconf -fiv autoreconf -fiv
%configure %configure
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
%make_install %make_install
ln -sf %{_sbindir}/%{name} %{buildroot}%{_sbindir}/%{name}6
ln -s %{_mandir}/man8/traceroute.8 %{buildroot}%{_mandir}/man8/traceroute6.8
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc ChangeLog README COPYING %doc ChangeLog README COPYING
%{_sbindir}/%{name} %{_sbindir}/%{name}
%{_mandir}/man8/traceroute.8* %{_sbindir}/%{name}6
%{_mandir}/man8/traceroute*.8*
%changelog %changelog