File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 44Summary: Ethernet settings python bindings
55Name: python-ethtool
66Version: 0.3
7- Release: 1 %{?dist }
7+ Release: 2 %{?dist }
88URL: http://git.kernel.org/?p= linux/kernel/git/acme/python-ethtool.git
99Source: http://userweb.kernel.org/~acme/python-ethtool/%{name }-%{version }.tar.bz2
1010License: GPLv2
@@ -21,14 +21,14 @@ PCI locations.
2121%setup -q
2222
2323%build
24- make
24+ %{__python} setup.py build
2525
2626%install
2727rm -rf %{buildroot }
28- make DESTDIR=%{ buildroot } install
28+ %{__python} setup.py install --skip-build --root %{ buildroot }
2929mkdir -p %{buildroot }%{_sbindir }
30- cp -f pethtool.py %{buildroot }%{_sbindir }/pethtool
31- cp -f pifconfig.py %{buildroot }%{_sbindir }/pifconfig
30+ cp -p pethtool.py %{buildroot }%{_sbindir }/pethtool
31+ cp -p pifconfig.py %{buildroot }%{_sbindir }/pifconfig
3232
3333%clean
3434rm -rf %{buildroot }
@@ -44,6 +44,10 @@ rm -rf %{buildroot}
4444%endif
4545
4646%changelog
47+ * Fri Sep 5 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.3-2
48+ - Rewrote build and install sections as part of the fedora review process
49+ BZ #459549
50+
4751* Tue Aug 26 2008 Arnaldo Carvalho de Melo < acme@redhat.com> - 0.3-1
4852- Add get_flags method from the first python-ethtool contributor, yay
4953- Add pifconfig command, that mimics the ifconfig tool using the
You can’t perform that action at this time.
0 commit comments