rpms/util-vserver/devel util-vserver.spec,1.32,1.33
Enrico Scholz (ensc)
fedora-extras-commits at redhat.com
Wed Sep 19 20:11:47 UTC 2007
Author: ensc
Update of /cvs/extras/rpms/util-vserver/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9448/devel
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/devel/util-vserver.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- util-vserver.spec 3 Sep 2007 17:42:38 -0000 1.32
+++ util-vserver.spec 19 Sep 2007 20:11:14 -0000 1.33
@@ -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,10 @@
copy centos /usr/share/doc/centos-*/RPM-GPG-KEY-*
+%pre build
+# TODO: remove in FC9...
+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 +365,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