summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-12-14 09:15:09 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-12-14 09:15:09 -0800
commit1071000a070678909c20ccccf64b9ce33286e16e (patch)
tree7822d094d44068005d66300c59c42a98965d45d7
parent86df89f3821b1a4b9760d6a9614ffa9c899f4981 (diff)
downloadnet-tools-1071000a070678909c20ccccf64b9ce33286e16e.tar.gz
net-tools-1071000a070678909c20ccccf64b9ce33286e16e.tar.bz2
net-tools-1071000a070678909c20ccccf64b9ce33286e16e.zip
-rw-r--r--packaging/net-tools.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/packaging/net-tools.spec b/packaging/net-tools.spec
index 6dc34a2..643acd1 100644
--- a/packaging/net-tools.spec
+++ b/packaging/net-tools.spec
@@ -32,8 +32,10 @@ make
make BASEDIR=%{buildroot} mandir=%{_mandir} install
mkdir -p %{buildroot}/usr/sbin
+mkdir -p %{buildroot}/usr/bin
mv %{buildroot}/bin/ifconfig %{buildroot}/usr/sbin
mv %{buildroot}/bin/route %{buildroot}/usr/sbin
+mv %{buildroot}/bin/* %{buildroot}/usr/bin
rm %{buildroot}/sbin/rarp
@@ -50,10 +52,10 @@ rm %{buildroot}/bin/ypdomainname
%files
%license COPYING
-/bin/netstat
+/usr/bin/netstat
/usr/sbin/ifconfig
/usr/sbin/route
-/sbin/arp
+/usr/sbin/arp
/sbin/ipmaddr
/sbin/iptunnel
/sbin/nameif