rpms/python-virtinst/FC-6 virtinst-0.200.0-default-arch.patch, NONE, 1.1 python-virtinst.spec, 1.6, 1.7

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Jul 26 15:14:57 UTC 2007


Author: berrange

Update of /cvs/dist/rpms/python-virtinst/FC-6
In directory cvs.devel.redhat.com:/tmp/cvs-serv5264

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

virtinst-0.200.0-default-arch.patch:
 util.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- 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/dist/rpms/python-virtinst/FC-6/python-virtinst.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- python-virtinst.spec	19 Jul 2007 02:36:18 -0000	1.6
+++ python-virtinst.spec	26 Jul 2007 15:14:55 -0000	1.7
@@ -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
@@ -26,6 +26,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
@@ -39,6 +40,7 @@
 
 %prep
 %setup -q -n %{appname}-%{version}
+%patch1 -p1
 
 %build
 python setup.py build
@@ -71,6 +73,9 @@
 %{_bindir}/virt-clone
 
 %changelog
+* Thu Jul 26 2007 Daniel P. Berrange <berrange at redhat.com> - 0.200.0-2.fc6
+- Fixed default architecture
+
 * Tue Jul 18 2007 Daniel P. Berrange <berrange at redhat.com> - 0.200.0-1.fc6
 - Updated to 0.200.0
 - Added virt-clone tool




More information about the fedora-cvs-commits mailing list