[packages/ixgbe] - drop non-dist kernl support

baggins baggins at pld-linux.org
Tue Jan 27 19:30:07 CET 2015


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

    - drop non-dist kernl support

 ixgbe.spec | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/ixgbe.spec b/ixgbe.spec
index 1e3283c..8c40d40 100644
--- a/ixgbe.spec
+++ b/ixgbe.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}"
@@ -31,7 +30,7 @@ Group:		Base/Kernel
 Source0:	http://downloads.sourceforge.net/e1000/%{pname}-%{version}.tar.gz
 # Source0-md5:	bf70143cd1060698050745b212a1523e
 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:	rpmbuild(macros) >= 1.678
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -50,10 +49,8 @@ Summary(pl.UTF-8):	Sterownik do karty Intel(R) 10 Gigabit\
 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-ixgbe\
 This package contains the Linux driver for the Intel(R) 10 Gigabit\
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ixgbe.git/commitdiff/4c38240027d5681656632631f8eac81575912b1b



More information about the pld-cvs-commit mailing list