]> git.pld-linux.org Git - packages/kernel-char-frandom.git/commitdiff
- with up bcond master
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 17 Mar 2007 11:51:10 +0000 (11:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    kernel-char-frandom.spec -> 1.10

kernel-char-frandom.spec

index 0160c111f8481ceb4d1550843569f5ecf16e799b..6cae21adae3b7823dcfcaf71799cbf051e1e3418 100644 (file)
@@ -1,6 +1,7 @@
 #
 # Conditional build:
 %bcond_without dist_kernel     # allow non-distribution kernel
+%bcond_without up              # don't build UP module
 %bcond_without smp             # don't build SMP module
 %bcond_with    verbose         # verbose build (V=1)
 #
@@ -117,10 +118,12 @@ rm -rf $RPM_BUILD_ROOT
 %postun        -n kernel%{_alt_kernel}-smp-char-frandom
 %depmod %{_kernel_ver}smp
 
+%if %{with up} || %{without dist_kernel}
 %files -n kernel%{_alt_kernel}-char-frandom
 %defattr(644,root,root,755)
 %doc README CHANGELOG
 /lib/modules/%{_kernel_ver}/char/*.ko*
+%endif
 
 %if %{with smp} && %{with dist_kernel}
 %files -n kernel%{_alt_kernel}-smp-char-frandom
This page took 0.081752 seconds and 4 git commands to generate.