update to ethtool version 3
This commit is contained in:
parent
6c4bae4af7
commit
d257a5630a
@ -1 +1,2 @@
|
|||||||
ethtool-1.8.tar.gz
|
ethtool-3
|
||||||
|
ethtool-3.tar.gz
|
||||||
|
21
ethtool.spec
21
ethtool.spec
@ -1,12 +1,11 @@
|
|||||||
Summary: Ethernet settings tool for PCI ethernet cards
|
Summary: Ethernet settings tool for PCI ethernet cards
|
||||||
Name: ethtool
|
Name: ethtool
|
||||||
Version: 1.8
|
Version: 3
|
||||||
Release: 5
|
Release: 1
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: http://sourceforge.net/projects/gkernel/
|
URL: http://sourceforge.net/projects/gkernel/
|
||||||
Patch: ethtool-1.8-dev.patch
|
Source0: http://download.sourceforge.net/gkernel/%{name}-%{version}.tar.gz
|
||||||
Source: http://download.sourceforge.net/gkernel/%{name}-%{version}.tar.gz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
|
|
||||||
%define _sbindir /sbin
|
%define _sbindir /sbin
|
||||||
@ -18,20 +17,19 @@ and PCI locations.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
%makeinstall
|
%makeinstall
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/sbin
|
mkdir -p %{buildroot}/usr/sbin
|
||||||
ln -s /sbin/ethtool $RPM_BUILD_ROOT/usr/sbin
|
ln -s /sbin/ethtool %{buildroot}/usr/sbin
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -41,6 +39,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man8/ethtool.*
|
%{_mandir}/man8/ethtool.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 3 2005 Jeff Garzik <jgarzik@pobox.com>
|
||||||
|
- Update to version 3.
|
||||||
|
- Use %%buildroot macro, rather than RPM_BUILD_ROOT env var,
|
||||||
|
as recommended by RPM packaging guidelines.
|
||||||
|
|
||||||
* Sun Feb 27 2005 Florian La Roche <laroche@redhat.com>
|
* Sun Feb 27 2005 Florian La Roche <laroche@redhat.com>
|
||||||
- Copyright: -> License
|
- Copyright: -> License
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user