diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2008-07-01 11:53:54 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2008-07-01 11:53:54 -0300 |
commit | 13ec0f5d8f226a8c3acf4c61a916ffcb7ecf0cac (patch) | |
tree | e30022ec75daa1609cd0e040d4622c3bf5ec4a42 /rpm | |
parent | 401e728eff71577d553a56e35ad62c093c4f9003 (diff) | |
download | python-ethtool-13ec0f5d8f226a8c3acf4c61a916ffcb7ecf0cac.tar.gz python-ethtool-13ec0f5d8f226a8c3acf4c61a916ffcb7ecf0cac.tar.xz python-ethtool-13ec0f5d8f226a8c3acf4c61a916ffcb7ecf0cac.zip |
pethtool: Add python ethtool equivalent to test features
It should be as close to the ethtool usage model as possible, but things like
doing the same command on all available interfaces when no interface is
specified is implemented.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'rpm')
-rw-r--r-- | rpm/SPECS/python-ethtool.spec | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rpm/SPECS/python-ethtool.spec b/rpm/SPECS/python-ethtool.spec index 06a744f..84340a2 100644 --- a/rpm/SPECS/python-ethtool.spec +++ b/rpm/SPECS/python-ethtool.spec @@ -19,6 +19,8 @@ ethtool python bindings %install rm -rf %{buildroot} make DESTDIR=%{buildroot} install +mkdir -p %{buildroot}%{_sbindir} +cp -f ethtool-cmd.py %{buildroot}%{_sbindir}/pethtool %clean rm -rf %{buildroot} @@ -26,6 +28,7 @@ rm -rf %{buildroot} %files %defattr(-,root,root) %doc COPYING +%{_sbindir}/pethtool %{python_sitearch}/ethtool.so %changelog |