rpms/util-linux/devel util-linux.spec,1.125,1.126

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Jul 10 09:45:19 UTC 2006


Author: karsten

Update of /cvs/dist/rpms/util-linux/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv31216

Modified Files:
	util-linux.spec 
Log Message:
- silence install in minimal buildroot without /var/log

matchpathcon(/var/log/lastlog) failed: No such file or directory
error: %post(util-linux-2.13-0.29.x86_64) scriptlet failed, exit status 1



Index: util-linux.spec
===================================================================
RCS file: /cvs/dist/rpms/util-linux/devel/util-linux.spec,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -r1.125 -r1.126
--- util-linux.spec	7 Jul 2006 09:32:01 -0000	1.125
+++ util-linux.spec	10 Jul 2006 09:45:16 -0000	1.126
@@ -9,7 +9,7 @@
 Summary: A collection of basic system utilities.
 Name: util-linux
 Version: 2.13
-Release: 0.29
+Release: 0.30
 License: distributable
 Group: System Environment/Base
 
@@ -497,6 +497,8 @@
 
 %post
 /sbin/install-info %{_infodir}/ipc.info* %{_infodir}/dir
+# only for minimal buildroots without /var/log
+[ -d /var/log ] || mkdir -p /var/log
 touch /var/log/lastlog
 chown root:root /var/log/lastlog
 chmod 0644 /var/log/lastlog
@@ -698,6 +700,9 @@
 /sbin/losetup
 
 %changelog
+* Mon Jul 10 2006 Karsten Hopp <karsten at redhat.de> 2.13-0.30
+- silence install in minimal buildroot without /var/log
+
 * Fri Jul  7 2006 Karel Zak <kzak at redhat.com> 2.13-0.29 
 - include the raw command for RHELs
 




More information about the fedora-cvs-commits mailing list