diff --git a/python-virtinst.spec b/python-virtinst.spec index 1aa69d7..58ab969 100644 --- a/python-virtinst.spec +++ b/python-virtinst.spec @@ -11,7 +11,7 @@ Summary: Python modules for starting Xen guest installations Name: python-%{appname} Version: 0.200.0 -Release: 1%{_extra_release} +Release: 2%{_extra_release} Source0: http://virt-manager.et.redhat.com/download/sources/%{appname}/%{appname}-%{version}.tar.gz License: GPL Group: Development/Libraries @@ -24,6 +24,7 @@ Requires: libvirt-python >= 0.2.1 Requires: urlgrabber BuildRequires: python-devel Obsoletes: python-xeninst < 0.97.0 +Patch1: %{appname}-%{version}-default-arch.patch %description virtinst is a module to help in starting installations of Fedora/Red @@ -37,6 +38,7 @@ virtinst in a command line mode. %prep %setup -q -n %{appname}-%{version} +%patch1 -p1 %build python setup.py build @@ -65,6 +67,9 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/virt-clone %changelog +* Thu Jul 26 2007 Daniel P. Berrange - 0.200.0-2.fc8 +- Fixed default architecture + * Tue Jul 18 2007 Daniel P. Berrange - 0.200.0-1.fc8 - Updated to 0.200.0 - Added virt-clone tool diff --git a/virtinst-0.200.0-default-arch.patch b/virtinst-0.200.0-default-arch.patch new file mode 100644 index 0000000..9766b5d --- /dev/null +++ b/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,