From 0108f1e934f804f7526cf27f267c8f2d003b4970 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 14 Mar 2007 00:13:57 +0000 Subject: [PATCH] - up bcond Changed files: VMware-server.spec -> 1.24 --- VMware-server.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/VMware-server.spec b/VMware-server.spec index caa21ca..0abfe28 100644 --- a/VMware-server.spec +++ b/VMware-server.spec @@ -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 -- 2.44.0