[python-routes1.12] fix build issue on non python 2.6 systems

Pádraig Brady pbrady at fedoraproject.org
Sat Aug 4 04:17:32 UTC 2012


commit b1b9473104cd2345cbc0e71ef96dcf05a8a0c36f
Author: Pádraig Brady <P at draigBrady.com>
Date:   Sat Aug 4 05:15:56 2012 +0100

    fix build issue on non python 2.6 systems

 python-routes1.12.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-routes1.12.spec b/python-routes1.12.spec
index 05b063f..87881ec 100644
--- a/python-routes1.12.spec
+++ b/python-routes1.12.spec
@@ -12,7 +12,7 @@ Source0: http://pypi.python.org/packages/source/R/Routes/Routes-%{version}.tar.g
 Source1: README.Fedora
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
-BuildRequires: python-setuptools-devel 
+BuildRequires: python-setuptools-devel
 BuildRequires: python-nose1.1 python-coverage python-webtest python-paste
 
 
@@ -35,7 +35,7 @@ rm -rf $RPM_BUILD_ROOT
 
 mkdir -p %{buildroot}%{python_sitelib}
 easy_install -m --install-dir %{buildroot}%{python_sitelib} dist/*.egg #TODO what about c-extensions
-find %{buildroot}%{python_sitelib}/Routes-%{version}-py2.6.egg/routes/ -name '*.py' |
+find %{buildroot}%{python_sitelib}/Routes-%{version}-*.egg/routes/ -name '*.py' |
  xargs chmod 0644
 
 


More information about the scm-commits mailing list