commit af24afb188bd3812bcc615ab7286220d41435cd2
Author: Jan Rękorajski <[email protected]>
Date:   Tue Jan 27 19:19:58 2015 +0100

    - 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\
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/e1000e.git/commitdiff/7ad0beb4f82390a0d9e37c458eb17a20e7c5dd21

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to