SPECS: kernel-net-e1000.spec - without up bcond - fixed %files for...

sparky sparky at pld-linux.org
Tue Feb 27 17:53:04 CET 2007


Author: sparky                       Date: Tue Feb 27 16:53:04 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- without up bcond
- fixed %files for smp-only

---- Files affected:
SPECS:
   kernel-net-e1000.spec (1.60 -> 1.61) 

---- Diffs:

================================================================
Index: SPECS/kernel-net-e1000.spec
diff -u SPECS/kernel-net-e1000.spec:1.60 SPECS/kernel-net-e1000.spec:1.61
--- SPECS/kernel-net-e1000.spec:1.60	Tue Feb 13 09:06:37 2007
+++ SPECS/kernel-net-e1000.spec	Tue Feb 27 17:52:59 2007
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_without	dist_kernel	# allow non-distribution kernel
+%bcond_without	up		# don't build UP module
 %bcond_without	smp		# don't build SMP module
 %bcond_with	verbose		# verbose build (V=1)
 #
@@ -87,11 +88,13 @@
 %postun -n kernel%{_alt_kernel}-smp-net-e1000
 %depmod %{_kernel_ver}smp
 
+%if %{with up} || %{without dist_kernel}
 %files
 %defattr(644,root,root,755)
 %doc e1000.7 README ldistrib.txt
 /etc/modprobe.d/%{_kernel_ver}/e1000.conf
 /lib/modules/%{_kernel_ver}/kernel/drivers/net/e1000*.ko*
+%endif
 
 %if %{with smp} && %{with dist_kernel}
 %files -n kernel%{_alt_kernel}-smp-net-e1000
@@ -107,6 +110,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.61  2007/02/27 16:52:59  sparky
+- without up bcond
+- fixed %files for smp-only
+
 Revision 1.60  2007/02/13 08:06:37  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel-net-e1000.spec?r1=1.60&r2=1.61&f=u



More information about the pld-cvs-commit mailing list