diff --git a/python-virtinst.spec b/python-virtinst.spec index c7cce5f..1b6df59 100644 --- a/python-virtinst.spec +++ b/python-virtinst.spec @@ -11,7 +11,7 @@ Summary: Python modules and utilities for installing virtual machines Name: python-%{appname} Version: 0.400.0 -Release: 2%{_extra_release} +Release: 3%{_extra_release} Source0: http://virt-manager.org/download/sources/%{appname}/%{appname}-%{version}.tar.gz Patch1: %{appname}-%{version}-polish-translation.patch Patch2: %{appname}-%{version}-qemu-conn-check.patch @@ -20,6 +20,7 @@ Patch4: %{appname}-%{version}-virtio-f9.patch Patch5: %{appname}-%{version}-log-fail-traceback.patch Patch6: %{appname}-%{version}-bridge-network-collision.patch Patch7: %{appname}-%{version}-refresh-storage-pool.patch +Patch8: %{appname}-%{version}-missing-variable.patch License: GPLv2+ Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -55,6 +56,7 @@ and install new VMs) and virt-clone (clone an existing virtual machine). %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 %build python setup.py build @@ -89,6 +91,9 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/virt-convert %changelog +* Mon Oct 20 2008 Cole Robinson - 0.400.0-3.fc10 +- Fix missing variable error (bz 467228) + * Tue Oct 14 2008 Cole Robinson - 0.400.0-2.fc10 - Updated polish translation (bz 310781) - Fix error accessing os dictionary in virt-convert diff --git a/virtinst-0.400.0-missing-variable.patch b/virtinst-0.400.0-missing-variable.patch new file mode 100644 index 0000000..c07b996 --- /dev/null +++ b/virtinst-0.400.0-missing-variable.patch @@ -0,0 +1,19 @@ +# HG changeset patch +# User "Cole Robinson " +# Date 1224170141 14400 +# Node ID d920fb2662c1a2f431d4bdbb2184060c7d90cf84 +# Parent 9f6f1a0111747919593704903b9247a7a70ca381 +Fix missing variable error. + +diff -r 9f6f1a011174 -r d920fb2662c1 virtinst/VirtualDisk.py +--- a/virtinst/VirtualDisk.py Tue Oct 14 14:32:46 2008 -0400 ++++ b/virtinst/VirtualDisk.py Thu Oct 16 11:15:41 2008 -0400 +@@ -302,7 +302,7 @@ + + def __check_if_path_managed(self): + vol = None +- err = None ++ verr = None + pool = util.lookup_pool_by_path(self.conn, + os.path.dirname(self.path)) + if pool: