rpms/python-virtinst/devel python-virtinst-0.200.0-default-arch.patch, NONE, 1.1 python-virtinst.spec, 1.24, 1.25

Daniel P. Berrange (berrange) fedora-extras-commits at redhat.com
Wed Sep 12 03:47:51 UTC 2007


Author: berrange

Update of /cvs/pkgs/rpms/python-virtinst/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv694

Modified Files:
	python-virtinst.spec 
Added Files:
	python-virtinst-0.200.0-default-arch.patch 
Log Message:
Fixed default  arch again

python-virtinst-0.200.0-default-arch.patch:

--- NEW FILE python-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/devel/python-virtinst.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- python-virtinst.spec	12 Sep 2007 01:31:44 -0000	1.24
+++ python-virtinst.spec	12 Sep 2007 03:47:19 -0000	1.25
@@ -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 @@
 %prep
 %setup -q -n %{appname}-%{version}
 %patch1 -p1
+%patch2 -p1
 
 %build
 python setup.py build
@@ -66,6 +68,9 @@
 %{_bindir}/virt-image
 
 %changelog
+* Tue Sep 11 2007 Daniel P. Berrange <berrange at redhat.com> - 0.300.0-3.fc8
+- Fixed default architecture. Again.
+
 * Tue Sep 11 2007 Daniel P. Berrange <berrange at redhat.com> - 0.300.0-2.fc8
 - Fixed detection of Fedora 8 distro trees (rhbz #273781)
 




More information about the fedora-extras-commits mailing list