diff --git a/python-virtinst-0.200.0-default-arch.patch b/python-virtinst-0.200.0-default-arch.patch new file mode 100644 index 0000000..9766b5d --- /dev/null +++ b/python-virtinst-0.200.0-default-arch.patch @@ -0,0 +1,12 @@ +diff -rup virtinst-0.200.0.orig/virtinst/util.py virtinst-0.200.0.new/virtinst/util.py +--- virtinst-0.200.0.orig/virtinst/util.py 2007-07-18 22:04:21.000000000 -0400 ++++ virtinst-0.200.0.new/virtinst/util.py 2007-07-26 10:25:15.000000000 -0400 +@@ -124,7 +124,7 @@ def get_default_arch(): + arch = os.uname()[4] + if arch == "x86_64": + return "x86_64" +- return "i386" ++ return "i686" + + # this function is directly from xend/server/netif.py and is thus + # available under the LGPL, diff --git a/python-virtinst.spec b/python-virtinst.spec index a8872ef..402ead1 100644 --- a/python-virtinst.spec +++ b/python-virtinst.spec @@ -11,9 +11,10 @@ Summary: Python modules for starting Xen guest installations Name: python-%{appname} Version: 0.300.0 -Release: 2%{_extra_release} +Release: 3%{_extra_release} Source0: http://virt-manager.org/download/sources/%{appname}/%{appname}-%{version}.tar.gz Patch1: %{name}-%{version}-fedora8-distro.patch +Patch2: %{name}-0.200.0-default-arch.patch License: GPL Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -37,6 +38,7 @@ virtinst in a command line mode. %prep %setup -q -n %{appname}-%{version} %patch1 -p1 +%patch2 -p1 %build python setup.py build @@ -66,6 +68,9 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/virt-image %changelog +* Tue Sep 11 2007 Daniel P. Berrange - 0.300.0-3.fc8 +- Fixed default architecture. Again. + * Tue Sep 11 2007 Daniel P. Berrange - 0.300.0-2.fc8 - Fixed detection of Fedora 8 distro trees (rhbz #273781)