[packages/igb] - drop non-dist kernel support

baggins baggins at pld-linux.org
Tue Jan 27 19:24:43 CET 2015


commit e5bfe24c2d1c01dc288871af6e71977df8460e53
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Jan 27 19:22:35 2015 +0100

    - drop non-dist kernel support

 igb.spec | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/igb.spec b/igb.spec
index 2f6f59a..b2f96ee 100644
--- a/igb.spec
+++ b/igb.spec
@@ -1,5 +1,4 @@
 # Conditional build:
-%bcond_without	dist_kernel	# allow non-distribution kernel
 %bcond_with	verbose		# verbose build (V=1)
 
 %if "%{_alt_kernel}" != "%{nil}"
@@ -33,7 +32,7 @@ Group:		Base/Kernel
 Source0:	http://downloads.sourceforge.net/e1000/%{pname}-%{version}.tar.gz
 # Source0-md5:	b59b8d5ae7d8f53f3481004051fb7b87
 URL:		http://sourceforge.net/projects/e1000/
-%{?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}
 BuildRequires:	rpm-build-macros >= 1.678
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -52,10 +51,8 @@ Summary(pl.UTF-8):	Sterownik do karty Intel(R) PRO/1000\
 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-igb\
 This package contains the Linux driver for the Intel(R) PRO/1000\
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/igb.git/commitdiff/a5730afb564aafe018c035deca17bf1cca41fb3d



More information about the pld-cvs-commit mailing list