summaryrefslogtreecommitdiff
path: root/packaging/net-tools.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/net-tools.spec')
-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