[python-sqlalchemy0.7] Fix build issues on non python 2.6 systems

Pádraig Brady pbrady at fedoraproject.org
Mon Jul 23 13:31:54 UTC 2012


commit 19b98aedfe49c66e094ce61a6c2f9eb60ecdf968
Author: Pádraig Brady <P at draigBrady.com>
Date:   Mon Jul 23 14:31:10 2012 +0100

    Fix build issues on non python 2.6 systems

 python-sqlalchemy0.7.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/python-sqlalchemy0.7.spec b/python-sqlalchemy0.7.spec
index 9fbbe1b..b5801b5 100644
--- a/python-sqlalchemy0.7.spec
+++ b/python-sqlalchemy0.7.spec
@@ -11,7 +11,7 @@
 
 Name:           python-sqlalchemy0.7
 Version:        0.7.3
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Modular and flexible ORM library for python
 
 Group:          Development/Libraries
@@ -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}-py2.6-linux-%{_target_cpu}.egg/sqlalchemy/ -name '*.py' |
+find %{buildroot}%{python_sitearch}/SQLAlchemy-%{version}-*-linux-%{_target_cpu}.egg/sqlalchemy/ -name '*.py' |
  xargs chmod 0644
 
 
@@ -106,7 +106,7 @@ find %{buildroot}%{python_sitearch}/SQLAlchemy-%{version}-py2.6-linux-%{_target_
 pushd %{py3dir}
 mkdir -p %{buildroot}%{python3_sitearch}
 easy_install -m --install-dir %{buildroot}%{python_sitearch} dist/*.egg #TODO what about c-extensions
-find %{buildroot}%{python3_sitearch}/SQLAlchemy-%{version}-py2.6-linux-%{_target_cpu}.egg/sqlalchemy/ -name '*.py' |
+find %{buildroot}%{python3_sitearch}/SQLAlchemy-%{version}-*-linux-%{_target_cpu}.egg/sqlalchemy/ -name '*.py' |
  xargs chmod 0644
 popd
 %endif
@@ -140,6 +140,9 @@ popd
 %endif # with_python3
 
 %changelog
+* Mon Jul 23 2012 Pádraig Brady <P at draigBrady.com> - 0.7.3-7
+- Fix build issues on non python 2.6 systems
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.3-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list