Accepting request 293588 from home:jengelh:branches:network:utilities

- ipmaddr and iptunnel are obsolete too, move them to subpackage.

OBS-URL: https://build.opensuse.org/request/show/293588
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-tools?expand=0&rev=42
This commit is contained in:
OBS User mrdocs 2015-04-01 16:23:47 +00:00 committed by Git OBS Bridge
parent 7f6483a36d
commit 575ee3ce9e
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Mar 29 00:41:21 UTC 2015 - jengelh@inai.de
- ipmaddr and iptunnel are obsolete too, move them to subpackage.
(Superseded by `ip maddr` and `ip tunnel`)
- remove redundant %clean section
-------------------------------------------------------------------
Thu Apr 10 12:33:41 UTC 2014 - mmarek@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package net-tools
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -195,7 +195,7 @@ mv $RPM_BUILD_ROOT/%{_mandir}/fr_FR $RPM_BUILD_ROOT/%{_mandir}/fr
# generate the filelist for net-tools-deprecated
echo '%%defattr(-,root,root)' >deprecated.list
for tool in arp ifconfig netstat route; do
for tool in arp ifconfig ipmaddr iptunnel netstat route; do
for dir in bin sbin; do
if test -x $RPM_BUILD_ROOT/$dir/$tool; then
break
@ -208,9 +208,6 @@ done
cat deprecated.list
sed 's/^/%%exclude /' deprecated.list >>%name.lang
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root)
/bin/*