Browse code

Fix traceroute package installation.

iputils package provides traceroute6 binary.

traceroute package provides traceroute binary.
Currently traceroute6 is softlinked to traceroute binary in traceroute package.

Since iputils is already providing traceroute6,
we don't need to softlink in traceroute package.

Change-Id: If9828fcf641eeca8226ea7646395a128fb22420a
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/6261
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Sharath George

ashwin-h authored on 2018/12/01 02:09:34
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Name:           traceroute
2 2
 Summary:        Traces the route taken by packets over an IPv4/IPv6 network
3 3
 Version:        2.1.0
4
-Release:        2%{?dist}
4
+Release:        3%{?dist}
5 5
 License:        GPLv2+
6 6
 Group:          Applications/Internet
7 7
 Url:            http://traceroute.sourceforge.net
... ...
@@ -28,7 +28,6 @@ rm -rf %{buildroot}
28 28
 install -d %{buildroot}/bin
29 29
 install -m755 traceroute/traceroute %{buildroot}/bin
30 30
 pushd %{buildroot}/bin
31
-ln -s traceroute traceroute6
32 31
 popd
33 32
 
34 33
 install -d %{buildroot}%{_bindir}
... ...
@@ -37,7 +36,6 @@ install -m755 wrappers/tcptraceroute %{buildroot}%{_bindir}
37 37
 install -d %{buildroot}%{_mandir}/man8
38 38
 install -p -m644 traceroute/traceroute.8 $RPM_BUILD_ROOT%{_mandir}/man8
39 39
 pushd %{buildroot}%{_mandir}/man8
40
-ln -s traceroute.8 traceroute6.8
41 40
 ln -s traceroute.8 tcptraceroute.8
42 41
 popd
43 42
 
... ...
@@ -53,6 +51,8 @@ rm -rf $RPM_BUILD_ROOT
53 53
 
54 54
 
55 55
 %changelog
56
+*   Fri Nov 30 2018 Ashwin H <ashwinh@vmware.com> 2.1.0-3
57
+-   Remove traceroute6 softlink as iputils provides traceroute6
56 58
 *   Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.1.0-2
57 59
 -   Ensure non empty debuginfo
58 60
 *   Tue Mar 28 2017 Xiaolin Li <xiaolinl@vmware.com> 2.1.0-1