]> git.pld-linux.org Git - packages/dLAN.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:
    dLAN.spec -> 1.12

dLAN.spec

index 78c0f2191b2d3f64a6a50707bc79508288039373..13daaa8ee74c98b99c784ec870efc07de34629e3 100644 (file)
--- a/dLAN.spec
+++ b/dLAN.spec
@@ -2,6 +2,7 @@
 # Conditional build:
 %bcond_without dist_kernel     # without kernel from distribution
 %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)
@@ -152,9 +153,11 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %if %{with kernel}
+%if %{with up} || %{without dist_kernel}
 %files -n kernel-char-dLAN
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}/misc/devolo_usb.*o*
+%endif
 
 %if %{with smp}
 %files -n kernel-smp-char-dLAN
This page took 0.124539 seconds and 4 git commands to generate.