rpms/python-virtinst/F-7 virtinst-0.200.0-distro-fetch.patch, NONE, 1.1 python-virtinst.spec, 1.22, 1.23
Daniel P. Berrange (berrange)
fedora-extras-commits at redhat.com
Tue Nov 20 12:39:41 UTC 2007
Author: berrange
Update of /cvs/pkgs/rpms/python-virtinst/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11776
Modified Files:
python-virtinst.spec
Added Files:
virtinst-0.200.0-distro-fetch.patch
Log Message:
Fix detection of F8 distros & NFS validity checks
virtinst-0.200.0-distro-fetch.patch:
--- NEW FILE virtinst-0.200.0-distro-fetch.patch ---
diff -rup virtinst-0.200.0.orig/virtinst/DistroManager.py virtinst-0.200.0.new/virtinst/DistroManager.py
--- virtinst-0.200.0.orig/virtinst/DistroManager.py 2007-07-18 22:04:21.000000000 -0400
+++ virtinst-0.200.0.new/virtinst/DistroManager.py 2007-11-20 07:25:43.000000000 -0500
@@ -161,7 +161,7 @@ class MountedImageFetcher(ImageFetcher):
if tmpfile is not None:
os.unlink(tmpfile)
return True
- except RuntimeError, e:
+ except Exception, e:
logging.debug("Cannot find file %s" % filename)
return False
@@ -210,6 +210,9 @@ class RedHatImageStore(ImageStore):
# Fedora distro check
class FedoraImageStore(RedHatImageStore):
def isValidStore(self, fetcher, progresscb):
+ if fetcher.hasFile("fedora.css", progresscb):
+ logging.debug("Detected a Fedora distro")
+ return True
if fetcher.hasFile("Fedora", progresscb):
logging.debug("Detected a Fedora distro")
return True
Index: python-virtinst.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-virtinst/F-7/python-virtinst.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- python-virtinst.spec 7 Sep 2007 17:33:50 -0000 1.22
+++ python-virtinst.spec 20 Nov 2007 12:39:08 -0000 1.23
@@ -11,7 +11,7 @@
Summary: Python modules for starting Xen guest installations
Name: python-%{appname}
Version: 0.200.0
-Release: 3%{_extra_release}
+Release: 4%{_extra_release}
Source0: http://virt-manager.et.redhat.com/download/sources/%{appname}/%{appname}-%{version}.tar.gz
License: GPL
Group: Development/Libraries
@@ -27,6 +27,7 @@
Patch1: %{appname}-%{version}-default-arch.patch
Patch2: %{appname}-%{version}-cdrom-src.patch
Patch3: %{appname}-%{version}-kvm-kernel.patch
+Patch4: %{appname}-%{version}-distro-fetch.patch
%description
virtinst is a module to help in starting installations of Fedora/Red
@@ -43,6 +44,7 @@
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
python setup.py build
@@ -71,6 +73,10 @@
%{_bindir}/virt-clone
%changelog
+* Tue Nov 20 2007 Daniel P. Berrange <berrange at redhat.com> - 0.200.0-4.fc7
+- Fixed install of F8 distros (rhbz 391211)
+- Fixed validity checking of NFS locations (rhbz 370221)
+
* Thu Sep 6 2007 Daniel P. Berrange <berrange at redhat.com> - 0.200.0-3.fc7
- Fixed CDROM source post-install (rhbz #260981)
- Fixed kernel for post-install config with KVM guests
More information about the fedora-extras-commits
mailing list