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

cdemu.spec

index 5e7e664968100c8e6fa9fe581478419e721f4ca5..b54509337ce9d3f07e805da025390f1fd87426ca 100644 (file)
@@ -1,7 +1,8 @@
 #
 # Conditional build:
 %bcond_without dist_kernel     # without distribution kernel
-%bcond_without smp             # without smp packages
+%bcond_without up              # without UP packages
+%bcond_without smp             # without SMP packages
 %bcond_without kernel          # without kernel packages
 %bcond_with    verbose         # verbose build (V=1)
 %bcond_without userspace       # don't build userspace tools
@@ -138,9 +139,11 @@ rm -rf $RPM_BUILD_ROOT
 %depmod %{_kernel_ver}smp
 
 %if %{with kernel}
+%if %{with up} || %{without dist_kernel}
 %files -n kernel%{_alt_kernel}-misc-%{name}
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}/misc/cdemu.ko*
+%endif
 
 %if %{with smp} && %{with dist_kernel}
 %files -n kernel%{_alt_kernel}-smp-misc-%{name}
This page took 0.080161 seconds and 4 git commands to generate.