From af24afb188bd3812bcc615ab7286220d41435cd2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 27 Jan 2015 19:19:58 +0100 Subject: [PATCH] - drop non-dist kernel support --- e1000e.spec | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/e1000e.spec b/e1000e.spec index aaea83f..b5fae25 100644 --- a/e1000e.spec +++ b/e1000e.spec @@ -1,12 +1,7 @@ # # Conditional build: -%bcond_without dist_kernel # allow non-distribution kernel %bcond_with verbose # verbose build (V=1) -%if %{without kernel} -%undefine with_dist_kernel -%endif - %if "%{_alt_kernel}" != "%{nil}" %if 0%{?build_kernels:1} %{error:alt_kernel and build_kernels are mutually exclusive} @@ -34,7 +29,7 @@ Source0: http://downloads.sourceforge.net/e1000/%{pname}-%{version}.tar.gz # Source0-md5: b8d770160691edd247a90070f45642ce URL: http://downloads.sourceforge.net/e1000/ BuildRequires: rpm-build-macros >= 1.678 -%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2} +%{?with_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -56,10 +51,8 @@ Summary(pl.UTF-8): Sterownik do karty Intel® PRO/1000e\ Release: %{rel}@%{_kernel_ver_str}\ Group: Base/Kernel\ Requires(post,postun): /sbin/depmod\ -%if %{with dist_kernel}\ %requires_releq_kernel\ Requires(postun): %releq_kernel\ -%endif\ \ %description -n kernel%{_alt_kernel}-net-%{pname}\ This package contains the Linux driver for the Intel(R) PRO/1000\ -- 2.43.0