[python-migrate0.5] - Fix Requires on sqlalchemy0.5 -- no need for the compat version of SQLAlchemy on epel.

Toshio くらとみ toshio at fedoraproject.org
Thu Jan 13 17:00:59 UTC 2011


commit 2e80fb410d56369a8b541ade7f0e07d5c2c5ef8b
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Thu Jan 13 09:00:45 2011 -0800

    - Fix Requires on sqlalchemy0.5 -- no need for the compat version of
      SQLAlchemy on epel.

 python-migrate0.5.spec |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/python-migrate0.5.spec b/python-migrate0.5.spec
index a45db35..e82565c 100644
--- a/python-migrate0.5.spec
+++ b/python-migrate0.5.spec
@@ -4,7 +4,7 @@
 
 Name: python-migrate0.5
 Version: 0.5.3
-Release: 7%{?dist}
+Release: 8%{?dist}
 Summary: Schema migration tools for SQLAlchemy
 
 Group: Development/Languages
@@ -20,12 +20,18 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch: noarch
 BuildRequires: python-devel
-BuildRequires: python-sqlalchemy0.5
 BuildRequires: python-sqlite2
 BuildRequires: python-setuptools-devel
 BuildRequires: python-nose
 BuildRequires: python-sphinx
+%if 0%{?fedora}
+# Fedora has SA-0.5 in a compat package
+BuildRequires: python-sqlalchemy0.5
 Requires: python-sqlalchemy0.5
+%else
+BuildRequires: python-sqlalchemy
+Requires: python-sqlalchemy
+%endif
 Requires: python-setuptools
 
 %description
@@ -67,6 +73,10 @@ echo 'sqlite:///__tmp__' > test_db.cfg
 %{python_sitelib}/*
 
 %changelog
+* Mon Oct 19 2009 Luke Macken <lmacken at redhat.com> - 0.5.3-8
+- Fix Requires on sqlalchemy0.5 -- no need for the compat version of
+  SQLAlchemy on epel.
+
 * Mon Oct 19 2009 Luke Macken <lmacken at redhat.com> - 0.5.3-7
 - Use %%global instead of %%define
 - Fix a typo in the description


More information about the scm-commits mailing list