]> git.pld-linux.org Git - packages/qemu.git/commitdiff
- modprobe.d dir is versioned
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 19 May 2006 21:08:25 +0000 (21:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    qemu.spec -> 1.50

qemu.spec

index 8f46f52a2b5a868ba94d2803daee9ed3a6cc6478..bec6cb4551a7da2e13e0e9d47becadd176429c82 100644 (file)
--- a/qemu.spec
+++ b/qemu.spec
@@ -230,7 +230,7 @@ install kqemu-%{_kqemu_version}/kqemu-mod-up.ko $RPM_BUILD_ROOT/lib/modules/%{_k
 %if %{with smp} && %{with dist_kernel}
 install kqemu-%{_kqemu_version}/kqemu-mod-smp.ko $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/misc/kqemu.ko
 %endif
-install -d $RPM_BUILD_ROOT/etc/modprobe.d
+install -d $RPM_BUILD_ROOT/etc/modprobe.d/%{_kernel_ver}{,smp}
 echo 'alias char-major-250 kqemu' > $RPM_BUILD_ROOT/etc/modprobe.d/kqemu.conf
 %endif
 
@@ -276,14 +276,14 @@ EOF
 %files -n kernel-misc-kqemu
 %defattr(644,root,root,755)
 %doc kqemu-%{_kqemu_version}/LICENSE
-%config(noreplace) %verify(not md5 mtime size) /etc/modprobe.d/kqemu.conf
+%config(noreplace) %verify(not md5 mtime size) /etc/modprobe.d/%{_kernel_ver}/kqemu.conf
 /lib/modules/%{_kernel_ver}/misc/kqemu.ko*
 
 %if %{with smp} && %{with dist_kernel}
 %files -n kernel-smp-misc-kqemu
 %defattr(644,root,root,755)
 %doc kqemu-%{_kqemu_version}/LICENSE
-%config(noreplace) %verify(not md5 mtime size) /etc/modprobe.d/kqemu.conf
+%config(noreplace) %verify(not md5 mtime size) /etc/modprobe.d/%{_kernel_ver}smp/kqemu.conf
 /lib/modules/%{_kernel_ver}smp/misc/kqemu.ko*
 %endif
 %endif
This page took 0.258946 seconds and 4 git commands to generate.