From: zbyniu Date: Thu, 5 Apr 2007 13:03:43 +0000 (+0000) Subject: - s/misc/block/ X-Git-Tag: auto/th/drbd-8_2_6-1~12 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdrbd.git;a=commitdiff_plain;h=475f67f194e4826981155bbe1ac06e6751d4ea70 - s/misc/block/ Changed files: drbd.spec -> 1.95 --- diff --git a/drbd.spec b/drbd.spec index f2293dc..977e20f 100644 --- a/drbd.spec +++ b/drbd.spec @@ -2,7 +2,7 @@ # Conditional build: %bcond_without dist_kernel # allow non-distribution kernel %bcond_without kernel # don't build kernel modules -%bcond_without up # don't build SMP module +%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) @@ -133,7 +133,7 @@ install -d $RPM_BUILD_ROOT{/sbin,%{_mandir}/man{5,8},%{_sysconfdir}} \ $RPM_BUILD_ROOT{/etc/rc.d/init.d,/etc/ha.d/resource.d} %if %{with kernel} -%install_kernel_modules -m drbd/drbd -d misc +%install_kernel_modules -m drbd/drbd -d block %endif %if %{with userspace} @@ -186,12 +186,12 @@ fi %files -n kernel%{_alt_kernel}-block-drbd %defattr(644,root,root,755) %doc ChangeLog README -/lib/modules/%{_kernel_ver}/misc/drbd.ko* +/lib/modules/%{_kernel_ver}/block/drbd.ko* %if %{with smp} && %{with dist_kernel} %files -n kernel%{_alt_kernel}-smp-block-drbd %defattr(644,root,root,755) %doc ChangeLog README -/lib/modules/%{_kernel_ver}smp/misc/drbd.ko* +/lib/modules/%{_kernel_ver}smp/block/drbd.ko* %endif %endif