rpms/python-virtinst/F-7 virtinst-0.200.0-default-arch.patch, NONE, 1.1 python-virtinst.spec, 1.20, 1.21

Daniel P. Berrange (berrange) fedora-extras-commits at redhat.com
Thu Jul 26 15:08:27 UTC 2007


Author: berrange

Update of /cvs/pkgs/rpms/python-virtinst/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9628

Modified Files:
	python-virtinst.spec 
Added Files:
	virtinst-0.200.0-default-arch.patch 
Log Message:
Fixed default arch for 32-bit platform

virtinst-0.200.0-default-arch.patch:

--- NEW FILE virtinst-0.200.0-default-arch.patch ---
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,


Index: python-virtinst.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-virtinst/F-7/python-virtinst.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- python-virtinst.spec	19 Jul 2007 02:23:29 -0000	1.20
+++ python-virtinst.spec	26 Jul 2007 15:07:55 -0000	1.21
@@ -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: 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 @@
 
 %prep
 %setup -q -n %{appname}-%{version}
+%patch1 -p1
 
 %build
 python setup.py build
@@ -65,6 +67,9 @@
 %{_bindir}/virt-clone
 
 %changelog
+* Thu Jul 26 2007 Daniel P. Berrange <berrange at redhat.com> - 0.200.0-2.fc7
+- Fixed default architecture
+
 * Tue Jul 18 2007 Daniel P. Berrange <berrange at redhat.com> - 0.200.0-1.fc7
 - Updated to 0.200.0
 - Added virt-clone tool




More information about the scm-commits mailing list