]> git.pld-linux.org Git - packages/linux-gpib.git/commitdiff
- up bcond
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 14 Mar 2007 00:16:22 +0000 (00:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    linux-gpib.spec -> 1.14

linux-gpib.spec

index 7d0b6b4ef8a59af3c55cc2cb59ff1f07bfd46e05..e67df3a598b2a41aef2fffff09ade70bded21d76 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 module
 %bcond_without smp             # don't build SMP module
 %bcond_without userspace       # don't build userspace module
 %bcond_with    verbose         # verbose build (V=1)
@@ -214,9 +215,11 @@ rm -rf $RPM_BUILD_ROOT
 %depmod %{_kernel_ver}smp
 
 %if %{with kernel}
+%if %{with up} || %{without dist_kernel}
 %files -n kernel-%{mod_name}
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}/misc/*.ko*
+%endif
 
 %if %{with smp} && %{with dist_kernel}
 %files -n kernel-smp-%{mod_name}
This page took 0.044309 seconds and 4 git commands to generate.