rpms/module-init-tools/devel module-init-tools.spec,1.86,1.87

Jon Masters jcm at fedoraproject.org
Mon May 11 19:39:33 UTC 2009


Author: jcm

Update of /cvs/pkgs/rpms/module-init-tools/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9541

Modified Files:
	module-init-tools.spec 
Log Message:
Oops, the last build caused this:

error: File not found: /builddir/build/BUILDROOT/module-init-tools-3.7-8.fc12.x86_64/etc/modprobe.d/local.conf

This was because we were still creating /etc/modprobe.conf even though it had
moved to /etc/modprobe.d/local.conf. Should be fixed now.



Index: module-init-tools.spec
===================================================================
RCS file: /cvs/pkgs/rpms/module-init-tools/devel/module-init-tools.spec,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -p -r1.86 -r1.87
--- module-init-tools.spec	11 May 2009 19:08:28 -0000	1.86
+++ module-init-tools.spec	11 May 2009 19:39:03 -0000	1.87
@@ -2,7 +2,7 @@ Summary: Kernel module management utilit
 Name: module-init-tools
 Version: 3.7
 %define PreRelease -pre9
-Release: 8%{?dist}
+Release: 9%{?dist}
 License: GPLv2+
 Group: System Environment/Kernel
 Source: http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-%{version}%{PreRelease}.tar.bz2
@@ -55,7 +55,7 @@ install -m 644 %{SOURCE4} $RPM_BUILD_ROO
 
 mv $RPM_BUILD_ROOT/%{_bindir}/lsmod $RPM_BUILD_ROOT/sbin
 
-touch $RPM_BUILD_ROOT/etc/modprobe.conf
+touch $RPM_BUILD_ROOT/etc/modprobe.d/local.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -82,6 +82,10 @@ fi
 %ghost %config(noreplace) %verify(not md5 size mtime) /etc/modprobe.d/local.conf
 
 %changelog
+* Mon May 11 2009 Jon Masters <jcm at redhat.com> - 3.7-9 (pre9)
+- Also create the right file in /etc/modprobe.d/local.conf during build.
+- Related: #488768.
+
 * Mon May 11 2009 Jon Masters <jcm at redhat.com> - 3.7-8 (pre9)
 - Rename /etc/modprobe.conf to /etc/modprobe.d/local.conf on upgrade (#488768)
 




More information about the scm-commits mailing list