]> git.pld-linux.org Git - packages/atmelwlandriver.git/blobdiff - atmelwlandriver.spec
- fix shell syntax
[packages/atmelwlandriver.git] / atmelwlandriver.spec
index 8a2689cd65af757bf659d5917742599f389b6b6c..e7cc0533fd0fd6ae0e1f33c5254089f555f401cc 100644 (file)
@@ -2,6 +2,7 @@
 # Conditional build:
 %bcond_without dist_kernel     # allow non-distribution kernel
 %bcond_without kernel          # don't build kernel modules
+%bcond_without up              # don't build UP modules
 %bcond_without smp             # don't build SMP modules
 %bcond_with    unicode         # use wx-gtk2-unicode-config instead of ansi
 %bcond_without userspace       # don't build userspace applications
@@ -124,7 +125,7 @@ Group:              Networking/Utilities
 Requires:      kernel-net(atmelwlandriver) = %{version}
 
 %description winter
-Winter is an X application, that provides a visual enviroment to
+Winter is an X application, that provides a visual environment to
 configure and manage ATMEL cards. It's functionality is similar to
 that of lvnet, extended by very useful features such as profiles,
 localization and support for more than one devices alternatively.
@@ -270,6 +271,7 @@ rm -rf $RPM_BUILD_ROOT
 %depmod %{_kernel_ver}smp
 
 %if %{with kernel}
+%if %{with up} || %{without dist_kernel}
 %files -n kernel-net-atmelwlandriver
 %defattr(644,root,root,755)
 %doc CHANGES README
@@ -278,6 +280,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_sbindir}/fastvnet.sh
 /lib/modules/%{_kernel_ver}/kernel/drivers/net/pcmcia/*.ko*
 /lib/modules/%{_kernel_ver}/kernel/drivers/usb/net/*.ko*
+%endif
 
 %if %{with smp} && %{with dist_kernel}
 %files -n kernel-smp-net-atmelwlandriver
This page took 0.076631 seconds and 4 git commands to generate.