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

sparky sparky at pld-linux.org
Tue Feb 27 12:20:37 CET 2007


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

---- Files affected:
SPECS:
   shfs.spec (1.68 -> 1.69) 

---- Diffs:

================================================================
Index: SPECS/shfs.spec
diff -u SPECS/shfs.spec:1.68 SPECS/shfs.spec:1.69
--- SPECS/shfs.spec:1.68	Mon Feb 12 23:09:15 2007
+++ SPECS/shfs.spec	Tue Feb 27 12:20:31 2007
@@ -3,6 +3,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
@@ -172,10 +173,12 @@
 %endif
 
 %if %{with kernel}
+%if %{with up} || %{without dist_kernel}
 %files -n kernel%{_alt_kernel}-fs-shfs
 %defattr(644,root,root,755)
 %dir /lib/modules/%{_kernel_ver}/kernel/fs/shfs
 /lib/modules/%{_kernel_ver}/kernel/fs/shfs/shfs.ko*
+%endif
 
 %if %{with smp} && %{with dist_kernel}
 %files -n kernel%{_alt_kernel}-smp-fs-shfs
@@ -191,6 +194,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.69  2007/02/27 11:20:31  sparky
+- without up bcond
+- fixed %files for smp-only
+
 Revision 1.68  2007/02/12 22:09:15  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/shfs.spec?r1=1.68&r2=1.69&f=u



More information about the pld-cvs-commit mailing list