]> git.pld-linux.org Git - packages/drbd.git/commitdiff
- allow build without up kernel
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 22 Oct 2007 19:48:29 +0000 (19:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drbd.spec -> 1.90.4.13

drbd.spec

index e8e5bcd1c36d209d42753ec1da2fc9048a84e308..64c3471ebb2dc6a6dedfb4e2f0354e21acd1b215 100644 (file)
--- a/drbd.spec
+++ b/drbd.spec
@@ -187,10 +187,12 @@ fi
 %endif
 
 %if %{with kernel}
+%if %{with up} || %{without dist_kernel}
 %files -n kernel%{_alt_kernel}-block-drbd
 %defattr(644,root,root,755)
 %doc ChangeLog README
 /lib/modules/%{_kernel_ver}/misc/drbd.ko*
+%endif
 
 %if %{with smp} && %{with dist_kernel}
 %files -n kernel%{_alt_kernel}-smp-block-drbd
This page took 0.054892 seconds and 4 git commands to generate.