]> git.pld-linux.org Git - packages/VMware-server.git/commitdiff
- up bcond
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 14 Mar 2007 00:13:57 +0000 (00:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    VMware-server.spec -> 1.24

VMware-server.spec

index caa21cae9cb96e3a83853ffefb5ca182d577ae6e..0abfe28d6b88e4bc40c08aa26d1c93ba2270ce7e 100644 (file)
@@ -18,6 +18,7 @@
 # Conditional build:
 %bcond_without dist_kernel     # without distribution kernel
 %bcond_without kernel          # don't build kernel modules
+%bcond_without up              # without UP kernel modules
 %bcond_without smp             # without SMP kernel modules
 %bcond_without userspace       # don't build userspace utilities
 %bcond_with    kernel24        # build kernel24 modules (disable kernel26)
@@ -720,7 +721,8 @@ fi
 %endif
 
 %if %{with kernel}
-%if !%{with kernel24}
+%if %{without kernel24}
+%if %{with up} || %{without dist_kernel}
 %files -n kernel-misc-vmmon
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}/misc/vmmon.ko*
@@ -728,6 +730,7 @@ fi
 %files -n kernel-misc-vmnet
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}/misc/vmnet.ko*
+%endif
 
 %if %{with smp} && %{with dist_kernel}
 %files -n kernel-smp-misc-vmmon
This page took 0.040926 seconds and 4 git commands to generate.