[python-sqlalchemy0.7] disable python3 support for now
Pádraig Brady
pbrady at fedoraproject.org
Mon Jul 23 15:06:11 UTC 2012
commit 4c10094fe2f07f7efedfe838d0a7bd5935d52f0b
Author: Pádraig Brady <P at draigBrady.com>
Date: Mon Jul 23 16:04:15 2012 +0100
disable python3 support for now
The python3 easy-install is going out to try and pip install
SQLAlchemy-0.7.3 at the end of the build process?
python3 support is not needed at present for this EPEL6 package,
so disable for now
python-sqlalchemy0.7.spec | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/python-sqlalchemy0.7.spec b/python-sqlalchemy0.7.spec
index 54e38a8..5eb1b43 100644
--- a/python-sqlalchemy0.7.spec
+++ b/python-sqlalchemy0.7.spec
@@ -2,9 +2,9 @@
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif
-%if 0%{?fedora} > 12 || 0%{?rhel} > 6
-%global with_python3 1
-%endif
+#%if 0%{?fedora} > 12 || 0%{?rhel} > 6
+#%global with_python3 1
+#%endif
%global srcname SQLAlchemy
@@ -98,7 +98,7 @@ rm -rf %{buildroot}
mkdir -p %{buildroot}%{python_sitearch}
easy_install -m --install-dir %{buildroot}%{python_sitearch} dist/*.egg #TODO what about c-extensions
-find %{buildroot}%{python_sitearch}/SQLAlchemy-%{version}-*-linux-%{_target_cpu}.egg/sqlalchemy/ -name '*.py' |
+find %{buildroot}%{python_sitearch}/SQLAlchemy-%{version}-*.egg/sqlalchemy/ -name '*.py' |
xargs chmod 0644
@@ -106,7 +106,7 @@ find %{buildroot}%{python_sitearch}/SQLAlchemy-%{version}-*-linux-%{_target_cpu}
pushd %{py3dir}
mkdir -p %{buildroot}%{python3_sitearch}
easy_install -m --install-dir %{buildroot}%{python3_sitearch} dist/*.egg #TODO what about c-extensions
-find %{buildroot}%{python3_sitearch}/SQLAlchemy-%{version}-*-linux-%{_target_cpu}.egg/sqlalchemy/ -name '*.py' |
+find %{buildroot}%{python3_sitearch}/SQLAlchemy-%{version}-*.egg/sqlalchemy/ -name '*.py' |
xargs chmod 0644
popd
%endif
More information about the scm-commits
mailing list