]> git.pld-linux.org Git - packages/shfs.git/commitdiff
- without up bcond
authorsparky <sparky@pld-linux.org>
Tue, 27 Feb 2007 11:20:31 +0000 (11:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fixed %files for smp-only

Changed files:
    shfs.spec -> 1.69

shfs.spec

index 8a39a7583265d46fad5413c97107b4505be247a0..97e2729585b123b10579ff5c65e8499ea5f6c4f9 100644 (file)
--- a/shfs.spec
+++ b/shfs.spec
@@ -2,6 +2,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
@@ -171,10 +172,12 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.072253 seconds and 4 git commands to generate.