diff --git a/python-datanommer-models.spec b/python-datanommer-models.spec index 9bf7d31..2653c02 100644 --- a/python-datanommer-models.spec +++ b/python-datanommer-models.spec @@ -2,7 +2,7 @@ Name: python-datanommer-models Version: 0.2.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: SQLAlchemy models for datanommer Group: Development/Libraries @@ -36,6 +36,10 @@ SQLAlchemy models for datanommer. %prep %setup -q -n %{modname}-%{version} +# Make sure that epel/rhel picks up the correct version of sqlalchemy +%{__awk} 'NR==1{print "import __main__; __main__.__requires__ = __requires__ = [\"sqlalchemy>=0.7\"]; import pkg_resources"}1' setup.py > setup.py.tmp +%{__mv} setup.py.tmp setup.py + # Remove upstream egg-info so that it gets rebuilt. rm -rf *.egg-info @@ -61,6 +65,8 @@ rm -rf *.egg-info %changelog +* Thu Nov 08 2012 Ralph Bean - 0.2.0-6 +- Patch setup.py to pull in the correct sqlalchemy for el6. * Thu Nov 08 2012 Ralph Bean - 0.2.0-5 - Added temporary BR on python-bunch to get around an old moksha issue. * Mon Oct 22 2012 Ralph Bean - 0.2.0-4