rpms/util-vserver/FC-6 util-vserver.spec,1.28,1.29

Enrico Scholz (ensc) fedora-extras-commits at redhat.com
Wed Sep 19 20:11:50 UTC 2007


Author: ensc

Update of /cvs/extras/rpms/util-vserver/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9448/FC-6

Modified Files:
	util-vserver.spec 
Log Message:
- fixed upgrade path from 0.30.213 to 0.30.214; rpm fails to handle when
  a directory becomes a symlink. Hence, remove the 'etch' directory in
  %%pre



Index: util-vserver.spec
===================================================================
RCS file: /cvs/extras/rpms/util-vserver/FC-6/util-vserver.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- util-vserver.spec	3 Sep 2007 17:56:55 -0000	1.28
+++ util-vserver.spec	19 Sep 2007 20:11:18 -0000	1.29
@@ -29,7 +29,7 @@
 Summary:	Linux virtual server utilities
 Name:		util-vserver
 Version:	0.30.214
-Release:	%release_func 1
+Release:	%release_func 2
 License:	GPL
 Group:		System Environment/Base
 URL:		http://savannah.nongnu.org/projects/util-vserver/
@@ -261,6 +261,9 @@
 copy centos /usr/share/doc/centos-*/RPM-GPG-KEY-*
 
 
+%pre build
+d=%_libdir/util-vserver/distributions/etch; test x"$1" = x1 -o ! -d "$d" -o -L "$d" || rm -rf "$d" || :
+
 %post build
 test -d /vservers/.hash || mkdir -m0700 /vservers/.hash
 
@@ -361,6 +364,11 @@
 
 
 %changelog
+* Wed Sep 19 2007 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.30.214-2
+- fixed upgrade path from 0.30.213 to 0.30.214; rpm fails to handle when
+  a directory becomes a symlink. Hence, remove the 'etch' directory in
+  %%pre
+
 * Mon Sep  3 2007 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.30.214-1
 - updated to 0.30.214
 




More information about the fedora-extras-commits mailing list