ethtool/ethtool.spec
2019-09-30 10:38:22 -04:00

52 lines
1.3 KiB
RPMSpec

Name: ethtool
Version: 4.17
Release: 4
Epoch: 2
Summary: Query or control network driver and hardware settings
License: GPLv2
URL: https://linux.die.net/man/8/ethtool
Source0: https://mirrors.edge.kernel.org/pub/software/network/ethtool/%{name}-%{version}.tar.xz
BuildRequires: gcc
Patch6000: Fix-uninitialized-variable-use-at-qsfp-dump.patch
Patch6001: 0026-ethtool-move-cmdline_coalesce-out-of-do_scoalesce.patch
Patch6002: 0030-ethtool-fix-up-dump_coalesce-output-to-match-actual-.patch
Patch6003: 0032-ethtool-qsfp-fix-special-value-comparison.patch
%description
Ethtool is used to query and control network device driver and hardware
settings, particularly for wired Ethernet devices.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure
%make_build
%install
make install DESTDIR=%{buildroot} INSTALL='install -p'
%files
%doc ChangeLog* AUTHORS
%license COPYING LICENSE
%{_sbindir}/ethtool
%files help
%doc README NEWS
%{_mandir}/man8/ethtool.8.gz
%changelog
* Wed Sep 4 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:4.17-4
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add requires
* Thu Aug 22 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:4.17-3
- Package Init