From 75c51e113725bcec5da6bdfc737f5b30dd92b087 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: adm8211.spec -> 1.16 --- adm8211.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/adm8211.spec b/adm8211.spec index 4194783..80fdad3 100644 --- a/adm8211.spec +++ b/adm8211.spec @@ -3,6 +3,7 @@ # Conditional build: %bcond_without dist_kernel # without distribution kernel +%bcond_without up # don't build UP module %bcond_without smp # don't build SMP module %bcond_with verbose # verbose build (V=1) # @@ -106,9 +107,11 @@ rm -rf $RPM_BUILD_ROOT %postun -n kernel-smp-net-adm8211 %depmod %{_kernel_ver}smp +%if %{with up} || %{without dist_kernel} %files -n kernel-net-adm8211 %defattr(644,root,root,755) /lib/modules/%{_kernel_ver}/kernel/drivers/net/wireless/*.ko* +%endif %if %{with smp} && %{with dist_kernel} %files -n kernel-smp-net-adm8211 -- 2.43.0