SPECS: qemu.spec - modprobe.d dir is versioned

glen glen at pld-linux.org
Fri May 19 23:08:30 CEST 2006


Author: glen                         Date: Fri May 19 21:08:30 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- modprobe.d dir is versioned

---- Files affected:
SPECS:
   qemu.spec (1.49 -> 1.50) 

---- Diffs:

================================================================
Index: SPECS/qemu.spec
diff -u SPECS/qemu.spec:1.49 SPECS/qemu.spec:1.50
--- SPECS/qemu.spec:1.49	Fri May 19 23:01:21 2006
+++ SPECS/qemu.spec	Fri May 19 23:08:25 2006
@@ -231,7 +231,7 @@
 %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
 
@@ -277,14 +277,14 @@
 %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
@@ -295,6 +295,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.50  2006/05/19 21:08:25  glen
+- modprobe.d dir is versioned
+
 Revision 1.49  2006/05/19 21:01:21  glen
 - update kqemu to 1.3.0pre7
 - use /etc/modprobe.d for alias
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/qemu.spec?r1=1.49&r2=1.50&f=u



More information about the pld-cvs-commit mailing list