diff --git a/python-virtinst.spec b/python-virtinst.spec index 209f07c..5319a4a 100644 --- a/python-virtinst.spec +++ b/python-virtinst.spec @@ -3,8 +3,9 @@ Summary: Python modules for starting Xen guest installations Name: python-virtinst Version: 0.103.0 -Release: 1%{?dist} +Release: 2%{?dist} Source0: virtinst-%{version}.tar.gz +Patch0: virtinst-0.103.0-urlgrabber-import.patch License: GPL Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -30,6 +31,8 @@ virtinst in a command line mode. %prep %setup -q -n virtinst-%{version} +%patch0 -p1 -b .urlgrabber-import + %build python setup.py build @@ -50,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT %{_sbindir}/virt-install %changelog +* Tue Apr 17 2007 Mark McLoughlin - 0.103.0-2.fc7 +- Fix urlgrabber import error + * Mon Apr 16 2007 Daniel P. Berrange - 0.103.0-1.fc7 - Updated to 0.103.0 release - More validation of UUIDs diff --git a/virtinst-0.103.0-urlgrabber-import.patch b/virtinst-0.103.0-urlgrabber-import.patch new file mode 100644 index 0000000..ad4e745 --- /dev/null +++ b/virtinst-0.103.0-urlgrabber-import.patch @@ -0,0 +1,11 @@ +--- virtinst-0.103.0/virtinst/Guest.py.urlgrabber-import 2007-04-16 08:35:35.000000000 -0400 ++++ virtinst-0.103.0/virtinst/Guest.py 2007-04-17 12:30:41.514314000 -0400 +@@ -23,6 +23,8 @@ + + import logging + ++import urlgrabber.progress as progress ++ + class VirtualDisk: + DRIVER_FILE = "file" + DRIVER_PHY = "phy"