]> git.pld-linux.org Git - packages/CapOver.git/blobdiff - CapOver.spec
- up bcond
[packages/CapOver.git] / CapOver.spec
index 34fe727706f88a08e0644d5e42cd012c2543c8a2..5383772ffd1c7ef2a482abaa96df5bdc020a7752 100644 (file)
@@ -2,6 +2,7 @@
 # Conditional build:
 %bcond_without dist_kernel     # without 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
 #
@@ -145,9 +146,11 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %if %{with kernel}
+%if %{with up} || %{without dist_kernel}
 %files -n kernel%{_alt_kernel}-misc-cap_over
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}/misc/*
+%endif
 
 %if %{with smp} && %{with dist_kernel}
 %files -n kernel%{_alt_kernel}-smp-misc-cap_over
This page took 0.059408 seconds and 4 git commands to generate.