SPECS (AC-branch): kernel-net-dm9601.spec - added up bcond

megabajt megabajt at pld-linux.org
Sat Jun 16 18:34:39 CEST 2007


Author: megabajt                     Date: Sat Jun 16 16:34:39 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- added up bcond

---- Files affected:
SPECS:
   kernel-net-dm9601.spec (1.4 -> 1.4.2.1) 

---- Diffs:

================================================================
Index: SPECS/kernel-net-dm9601.spec
diff -u SPECS/kernel-net-dm9601.spec:1.4 SPECS/kernel-net-dm9601.spec:1.4.2.1
--- SPECS/kernel-net-dm9601.spec:1.4	Mon Feb 12 23:09:10 2007
+++ SPECS/kernel-net-dm9601.spec	Sat Jun 16 18:34:34 2007
@@ -3,6 +3,7 @@
 # Conditionan build:
 %bcond_without	dist_kernel	# allow non-distribution kernel
 %bcond_without	smp		# don't build SMP module
+%bcond_without	up		# don't build UP module
 %bcond_with	verbose		# verbose build (V=1)
 #
 %define		_rel	1
@@ -81,11 +82,13 @@
 %postun -n kernel%{_alt_kernel}-smp-net-dm9601
 %depmod %{_kernel_ver}smp
 
+%if %{with up} || %{without dist_kernel}
 %files
 %defattr(644,root,root,755)
 %doc readme.txt
 /etc/modprobe.d/%{_kernel_ver}/dm9601.conf
 /lib/modules/%{_kernel_ver}/kernel/drivers/net/dm9601*.ko*
+%endif
 
 %if %{with smp} && %{with dist_kernel}
 %files -n kernel%{_alt_kernel}-smp-net-dm9601
@@ -101,6 +104,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4.2.1  2007/06/16 16:34:34  megabajt
+- added up bcond
+
 Revision 1.4  2007/02/12 22:09:10  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel-net-dm9601.spec?r1=1.4&r2=1.4.2.1&f=u



More information about the pld-cvs-commit mailing list