rpms/util-vserver/devel util-vserver-0.30.213-yum32.patch, NONE, 1.1 util-vserver.spec, 1.29, 1.30

Enrico Scholz (ensc) fedora-extras-commits at redhat.com
Sat Aug 4 10:52:36 UTC 2007


Author: ensc

Update of /cvs/extras/rpms/util-vserver/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9753/devel

Modified Files:
	util-vserver.spec 
Added Files:
	util-vserver-0.30.213-yum32.patch 
Log Message:
added patch to make 'vyum' work with a patched yum-3.2


util-vserver-0.30.213-yum32.patch:

--- NEW FILE util-vserver-0.30.213-yum32.patch ---
--- util-vserver-0.30.213/scripts/vyum-worker.yum32
+++ util-vserver-0.30.213/scripts/vyum-worker
@@ -60,7 +60,7 @@ case $($yum --version|tail -n 1) in
     (2.[012345]*)
 	check 'import yum,sys; sys.exit(not hasattr(yum.config.yumconf, "getRootedPath"))'
 	;;
-    (2.[6789]*|3.0*)
+    (2.[6789]*|3.[012]*)
 	check 'import yum,sys; sys.exit(not hasattr(yum.config.YumConf, "getRootedPath"))'
 	;;
     (*)


Index: util-vserver.spec
===================================================================
RCS file: /cvs/extras/rpms/util-vserver/devel/util-vserver.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- util-vserver.spec	1 Jun 2007 16:44:01 -0000	1.29
+++ util-vserver.spec	4 Aug 2007 10:51:59 -0000	1.30
@@ -28,12 +28,14 @@
 Summary:	Linux virtual server utilities
 Name:		util-vserver
 Version:	0.30.213
-Release:	%release_func 1
+Release:	%release_func 2
 License:	GPL
 Group:		System Environment/Base
 URL:		http://savannah.nongnu.org/projects/util-vserver/
 Source0:	http://ftp.linux-vserver.org/pub/utils/util-vserver/%name-%version.tar.bz2
 Source1:	http://ftp.linux-vserver.org/pub/utils/util-vserver/%name-%version.tar.bz2.asc
+Patch0:		util-vserver-0.30.213-yum32.patch
+
 BuildRoot:	%_tmppath/%name-%version-%release-root
 Requires:	init(%name)
 Requires:	%name-core = %version-%release
@@ -173,6 +175,8 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .yum32
+
 
 %build
 %configure --with-initrddir=%_initrddir --enable-release \
@@ -365,6 +369,9 @@
 
 
 %changelog
+* Sat Aug  4 2007 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.30.213-2
+- added patch to make 'vyum' work with a patched yum-3.2
+
 * Thu May 31 2007 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.30.213-1
 - updated to 0.30.213
 - disabled dietlibc build for PPC64




More information about the fedora-extras-commits mailing list