SPECS: module-init-tools.spec - bad adapter

glen glen at pld-linux.org
Thu Oct 25 17:53:05 CEST 2007


Author: glen                         Date: Thu Oct 25 15:53:05 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- bad adapter

---- Files affected:
SPECS:
   module-init-tools.spec (1.58 -> 1.59) 

---- Diffs:

================================================================
Index: SPECS/module-init-tools.spec
diff -u SPECS/module-init-tools.spec:1.58 SPECS/module-init-tools.spec:1.59
--- SPECS/module-init-tools.spec:1.58	Thu Oct 25 15:23:46 2007
+++ SPECS/module-init-tools.spec	Thu Oct 25 17:52:59 2007
@@ -64,32 +64,32 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir}/{cron.d,modprobe.d},%{_mandir}/man{5,8}}
+install -d $RPM_BUILD_ROOT{/etc/{cron.d,modprobe.d},%{_mandir}/man{5,8}}
 
 %{__make} install install-am \
 	DESTDIR=$RPM_BUILD_ROOT \
 	mandir=%{_mandir} \
 	INSTALL=install
 
-:> $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.conf
+:> $RPM_BUILD_ROOT/etc/modprobe.conf
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/blacklist
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/modprobe.d/blacklist
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-if [ ! -s %{_sysconfdir}/modprobe.conf -a -x /sbin/modprobe.modutils -a -f /etc/modules.conf ] && [ -d /lib/modules/`uname -r` ]; then
-	echo "Generating %{_sysconfdir}/modprobe.conf from obsolete /etc/modules.conf"
-	%{_sbindir}/generate-modprobe.conf %{_sysconfdir}/modprobe.conf
+if [ ! -s /etc/modprobe.conf -a -x /sbin/modprobe.modutils -a -f /etc/modules.conf ] && [ -d /lib/modules/`uname -r` ]; then
+	echo "Generating /etc/modprobe.conf from obsolete /etc/modules.conf"
+	%{_sbindir}/generate-modprobe.conf /etc/modprobe.conf
 fi
 
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog NEWS README
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.conf
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/blacklist
-%dir %{_sysconfdir}/modprobe.d
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/modprobe.conf
+%dir /etc/modprobe.d
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/modprobe.d/blacklist
 %attr(755,root,root) %{_sbindir}/*
 %{_mandir}/man*/*
 
@@ -99,6 +99,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.59  2007/10/25 15:52:59  glen
+- bad adapter
+
 Revision 1.58  2007/10/25 13:23:46  blues
 - introduced initial blacklist support
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/module-init-tools.spec?r1=1.58&r2=1.59&f=u



More information about the pld-cvs-commit mailing list