SPECS: lufs.spec - fixed for up-only and smp-only build

sparky sparky at pld-linux.org
Sat Feb 17 12:28:27 CET 2007


Author: sparky                       Date: Sat Feb 17 11:28:27 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed for up-only and smp-only build

---- Files affected:
SPECS:
   lufs.spec (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: SPECS/lufs.spec
diff -u SPECS/lufs.spec:1.40 SPECS/lufs.spec:1.41
--- SPECS/lufs.spec:1.40	Tue Feb 13 07:46:53 2007
+++ SPECS/lufs.spec	Sat Feb 17 12:28:21 2007
@@ -3,6 +3,7 @@
 # Conditional build:
 %bcond_without	dist_kernel	# allow non-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_without	userspace	# don't build userspace module
 %bcond_with	verbose		# verbose build (V=1)
@@ -202,10 +203,12 @@
 %endif
 
 %if %{with kernel}
+%if %{with up} || %{without dist_kernel}
 %files -n kernel%{_alt_kernel}-fs-lufs
 %defattr(644,root,root,755)
 %dir /lib/modules/%{_kernel_ver}/kernel/fs/lufs
 /lib/modules/%{_kernel_ver}/kernel/fs/lufs/lufs.ko*
+%endif
 
 %if %{with smp} && %{with dist_kernel}
 %files -n kernel%{_alt_kernel}-smp-fs-lufs
@@ -221,6 +224,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.41  2007/02/17 11:28:21  sparky
+- fixed for up-only and smp-only build
+
 Revision 1.40  2007/02/13 06:46:53  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lufs.spec?r1=1.40&r2=1.41&f=u



More information about the pld-cvs-commit mailing list