]> git.pld-linux.org Git - packages/VMware-workstation.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-workstation.spec -> 1.107

VMware-workstation.spec

index c1b55fd0eb223529763fb6ebc1e8ca9b440f664d..4a4503ae20959cc09aafeb87f918dca06bd00f0c 100644 (file)
@@ -6,6 +6,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)
@@ -572,7 +573,8 @@ fi
 %endif
 
 %if %{with kernel}
-%if !%{with kernel24}
+%if %{without kernel24}
+%if %{with up} || %{without dist_kernel}
 %files -n kernel%{_alt_kernel}-misc-vmmon
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}/misc/vmmon.ko*
@@ -580,6 +582,7 @@ fi
 %files -n kernel%{_alt_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%{_alt_kernel}-smp-misc-vmmon
This page took 0.147857 seconds and 4 git commands to generate.