[python-webob: 6/12] Fix python3 subpackage.

Luke Macken lmacken at fedoraproject.org
Fri Apr 5 18:04:29 UTC 2013


commit eddbf4bc0b29648c6d73bd9184e2488b5e6397f7
Author: Ralph Bean <rbean at redhat.com>
Date:   Thu Nov 29 11:54:31 2012 -0500

    Fix python3 subpackage.

 python-webob1.2.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/python-webob1.2.spec b/python-webob1.2.spec
index d064250..46d9ed3 100644
--- a/python-webob1.2.spec
+++ b/python-webob1.2.spec
@@ -9,7 +9,7 @@
 Name:           python-webob1.2
 Summary:        WSGI request and response object
 Version:        1.2.1
-Release:        7%{?dist}
+Release:        8%{?dist}
 License:        MIT
 Group:          System Environment/Libraries
 URL:            http://pythonpaste.org/webob/
@@ -74,7 +74,7 @@ popd
 %install
 %if 0%{?with_python3}
 pushd %{py3dir}
-easy_install-%{pyver} -m --prefix %{buildroot}%{_usr} dist/*.egg
+easy_install-3.3 -m --prefix %{buildroot}%{_usr} dist/*.egg
 %{__chmod} 0644 %{buildroot}%{python3_sitelib}/WebOb-%{version}-*.egg/%{modname}/*.py
 popd
 %endif
@@ -103,6 +103,9 @@ popd
 %endif
 
 %changelog
+* Thu Nov 29 2012 Ralph Bean <rbean at redhat.com> - 1.2.1-8
+- Hardcode python3 version
+
 * Thu Nov 29 2012 Ralph Bean <rbean at redhat.com> - 1.2.1-7
 - Forced rebuild.
 


More information about the scm-commits mailing list