diff options
| author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2008-09-05 11:34:28 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2008-09-05 11:34:28 -0300 |
| commit | 2db1ec98f472c9829d8a697f2e1254926c319abf (patch) | |
| tree | 9332958670a227a72d08949af30e0d92491a31c7 | |
| parent | 2a83efb83ae4f878bf4ecfdc711f287446e5f630 (diff) | |
| download | python-ethtool-2db1ec98f472c9829d8a697f2e1254926c319abf.tar.gz python-ethtool-2db1ec98f472c9829d8a697f2e1254926c319abf.tar.xz python-ethtool-2db1ec98f472c9829d8a697f2e1254926c319abf.zip | |
rpm: Rewrote build and install sections as part of the fedora review process
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
| -rw-r--r-- | rpm/SPECS/python-ethtool.spec | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/rpm/SPECS/python-ethtool.spec b/rpm/SPECS/python-ethtool.spec index cbd2969..6b16e6f 100644 --- a/rpm/SPECS/python-ethtool.spec +++ b/rpm/SPECS/python-ethtool.spec @@ -4,7 +4,7 @@ Summary: Ethernet settings python bindings Name: python-ethtool Version: 0.3 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://git.kernel.org/?p=linux/kernel/git/acme/python-ethtool.git Source: http://userweb.kernel.org/~acme/python-ethtool/%{name}-%{version}.tar.bz2 License: GPLv2 @@ -21,14 +21,14 @@ PCI locations. %setup -q %build -make +%{__python} setup.py build %install rm -rf %{buildroot} -make DESTDIR=%{buildroot} install +%{__python} setup.py install --skip-build --root %{buildroot} mkdir -p %{buildroot}%{_sbindir} -cp -f pethtool.py %{buildroot}%{_sbindir}/pethtool -cp -f pifconfig.py %{buildroot}%{_sbindir}/pifconfig +cp -p pethtool.py %{buildroot}%{_sbindir}/pethtool +cp -p pifconfig.py %{buildroot}%{_sbindir}/pifconfig %clean rm -rf %{buildroot} @@ -44,6 +44,10 @@ rm -rf %{buildroot} %endif %changelog +* Fri Sep 5 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.3-2 +- Rewrote build and install sections as part of the fedora review process + BZ #459549 + * Tue Aug 26 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.3-1 - Add get_flags method from the first python-ethtool contributor, yay - Add pifconfig command, that mimics the ifconfig tool using the |
