[python-migrate0.5] Fix requires on python-sqlite2. Only in rhel5 (py2.4). Later pythons have this builtin

Toshio くらとみ toshio at fedoraproject.org
Sun Jul 22 23:15:33 UTC 2012


commit 767732352e9f66b76a4596f041160d68d8c3104a
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Sun Jul 22 16:15:27 2012 -0700

    Fix requires on python-sqlite2.  Only in rhel5 (py2.4).  Later pythons have this builtin

 python-migrate0.5.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/python-migrate0.5.spec b/python-migrate0.5.spec
index 84cb439..a87390f 100644
--- a/python-migrate0.5.spec
+++ b/python-migrate0.5.spec
@@ -4,7 +4,7 @@
 
 Name: python-migrate0.5
 Version: 0.5.4
-Release: 3%{?dist}
+Release: 4%{?dist}
 Summary: Schema migration tools for SQLAlchemy
 
 Group: Development/Languages
@@ -19,7 +19,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch: noarch
 BuildRequires: python2-devel
+%if 0%{?rhel} && 0%{?rhel} <= 5
+# sqlite is built into later python
 BuildRequires: python-sqlite2
+%endif
 BuildRequires: python-setuptools
 BuildRequires: python-nose
 BuildRequires: python-sphinx
@@ -73,6 +76,9 @@ echo 'sqlite:///__tmp__' > test_db.cfg
 %{python_sitelib}/*
 
 %changelog
+* Sun Jul 22 2012 Toshio Kuratomi <toshio at fedoraproject.org> - 0.5.4-4
+- Fix requires on python-sqlite2.  Only in rhel5 (py2.4).  Later pythons have this builtin
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.4-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list