From: Elan Ruusamäe Date: Wed, 14 Mar 2007 00:13:57 +0000 (+0000) Subject: - up bcond X-Git-Url: http://git.pld-linux.org/?p=packages%2Fadm8211.git;a=commitdiff_plain;h=HEAD - up bcond Changed files: adm8211.spec -> 1.16 --- 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