%endif
%if %{without kernel}
-%undefine with_dist_kernel
+%undefine with_dist_kernel
%endif
%if "%{_alt_kernel}" != "%{nil}"
%undefine with_userspace
%endif
+# nothing to be placed to debuginfo package
+%define _enable_debug_packages 0
-%define rel 7
+%define rel 36
%define pname e1000
Summary: Intel(R) PRO/1000 driver for Linux
Summary(pl.UTF-8): Sterownik do karty Intel(R) PRO/1000
Name: %{pname}%{_alt_kernel}
-Version: 8.0.1
+Version: 8.0.23
Release: %{rel}
License: GPL v2
Group: Base/Kernel
Source0: http://dl.sourceforge.net/e1000/%{pname}-%{version}.tar.gz
-# Source0-md5: c9464fc1ac8f2c44647262f3a06b0020
+# Source0-md5: 6dedf514cfd443261791e376da2845fc
URL: http://sourceforge.net/projects/e1000/
%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
BuildRequires: rpmbuild(macros) >= 1.379
%description
This package contains the Linux driver for the Intel(R) PRO/1000
-adapters with 8254x chipsets.
+adapters with 8254x non-PCIe chipsets.
%description -l pl.UTF-8
Ten pakiet zawiera sterownik dla Linuksa do kart sieciowych z rodziny
-Intel(R) PRO/1000 opartych o układy 8254x.
+Intel(R) PRO/1000 opartych o układy 8254x niebędące PCIe.
%package -n kernel%{_alt_kernel}-net-e1000
Summary: Intel(R) PRO/1000 driver for Linux
%description -n kernel%{_alt_kernel}-net-e1000
This package contains the Linux driver for the Intel(R) PRO/1000
-adapters with 8254x chipsets.
+adapters with 8254x non-PCIe chipsets.
%description -n kernel%{_alt_kernel}-net-e1000 -l pl.UTF-8
Ten pakiet zawiera sterownik dla Linuksa do kart sieciowych z rodziny
-Intel(R) PRO/1000 opartych o układy 8254x.
+Intel(R) PRO/1000 opartych o układy 8254x nie będące PCIe.
%prep
%setup -q -n %{pname}-%{version}
e1000_mac.o e1000_nvm.o e1000_phy.o e1000_manage.o e1000_param.o e1000_ethtool.o \
kcompat.o e1000_api.o
-EXTRA_CFLAGS=-DDRIVER_E1000
+EXTRA_CFLAGS=-DDRIVER_E1000 -DVLAN_GROUP_ARRAY_LEN=VLAN_N_VID
EOF
%build