SPECS: mol.spec - without up bcond - fixed %files for smp-only

sparky sparky at pld-linux.org
Tue Feb 27 17:54:18 CET 2007


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

---- Files affected:
SPECS:
   mol.spec (1.47 -> 1.48) 

---- Diffs:

================================================================
Index: SPECS/mol.spec
diff -u SPECS/mol.spec:1.47 SPECS/mol.spec:1.48
--- SPECS/mol.spec:1.47	Tue Feb 13 07:46:54 2007
+++ SPECS/mol.spec	Tue Feb 27 17:54:13 2007
@@ -6,6 +6,7 @@
 # Conditional build:
 %bcond_without	dist_kernel	# without distribution kernel
 %bcond_without	kernel		# don't build kernel modules
+%bcond_without	up		# don't build UP module
 %bcond_without	smp		# don't build SMP module
 %bcond_with	verbose		# verbose build (V=1)
 %bcond_without	userspace	# don't build userspace tools
@@ -282,10 +283,12 @@
 %endif
 
 %if %{with kernel}
+%if %{with up} || %{without dist_kernel}
 %files -n kernel%{_alt_kernel}-misc-mol
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}/misc/mol.ko*
 /lib/modules/%{_kernel_ver}/misc/sheep.ko*
+%endif
 
 %if %{with smp} && %{with dist_kernel}
 %files -n kernel%{_alt_kernel}-smp-misc-mol
@@ -301,6 +304,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.48  2007/02/27 16:54:13  sparky
+- without up bcond
+- fixed %files for smp-only
+
 Revision 1.47  2007/02/13 06:46:54  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mol.spec?r1=1.47&r2=1.48&f=u



More information about the pld-cvs-commit mailing list