X-Git-Url: http://git.pld-linux.org/?p=packages%2Fe1000.git;a=blobdiff_plain;f=e1000.spec;h=c19b6106d1b63dcf6351b2841d884a584d3f6936;hp=c2324e53dacc797951d4586e162a9b12e63f149e;hb=refs%2Fheads%2FRA-branch;hpb=ff367d9a736e61ca4393491dc5d00c5549ae563e diff --git a/e1000.spec b/e1000.spec index c2324e5..c19b610 100644 --- a/e1000.spec +++ b/e1000.spec @@ -1,5 +1,5 @@ # conditional build -# _without_dist_kernel without distribution kernel +# _without_dist_kernel without distribution kernel %define _orig_name e1000 @@ -7,13 +7,15 @@ Summary: Intel(R) PRO/1000 driver for Linux Summary(pl): Sterownik do karty Intel(R) PRO/1000 Name: kernel-net-%{_orig_name} Version: 4.3.15 +%define _rel 8 Release: %{_rel}@%{_kernel_ver_str} -%define _rel 2 License: BSD Vendor: Intel Corporation Group: Base/Kernel Source0: ftp://aiedownload.intel.com/df-support/2897/eng/%{_orig_name}-%{version}.tar.gz -%{!?_without_dist_kernel:BuildRequires: kernel-headers } +# Source0-md5: d1b09d0210c27f8aa931601980da5b56 +Patch0: %{name}-alpha.patch +%{!?_without_dist_kernel:BuildRequires: kernel-headers } BuildRequires: %{kgcc_package} URL: http://support.intel.com/support/network/adapter/pro100/ Obsoletes: e1000 @@ -52,6 +54,7 @@ Ten pakiet zawiera sterownik dla Linuksa SMP do kart sieciowych %prep %setup -q -n %{_orig_name}-%{version} +%patch -p1 %build %{__make} -C src SMP=1 CC="%{kgcc} -DCONFIG_X86_LOCAL_APIC -DSTB_WA" KSRC=%{_kernelsrcdir}