From 13ec0f5d8f226a8c3acf4c61a916ffcb7ecf0cac Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Tue, 1 Jul 2008 11:53:54 -0300 Subject: 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 --- rpm/SPECS/python-ethtool.spec | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rpm/SPECS/python-ethtool.spec') 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 -- cgit