diff --git a/.gitignore b/.gitignore index 86cfa03..854b412 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ /alembic-1.0.8.tar.gz /alembic-1.0.10.tar.gz /alembic-1.0.11.tar.gz +/alembic-1.1.0.tar.gz diff --git a/python-alembic.spec b/python-alembic.spec index cc18125..71e148d 100644 --- a/python-alembic.spec +++ b/python-alembic.spec @@ -27,8 +27,8 @@ %global modname alembic Name: python-alembic -Version: 1.0.11 -Release: 3%{?dist} +Version: 1.1.0 +Release: 1%{?dist} Summary: Database migration tool for SQLAlchemy License: MIT @@ -47,17 +47,8 @@ BuildRequires: python2-mock BuildRequires: python2-dateutil BuildRequires: python2-editor BuildRequires: python2-pytest - -# See if we're building for python earlier than 2.7 -%if 0%{?rhel} && 0%{?rhel} <= 6 -BuildRequires: python-sqlalchemy0.7 >= 0.7.4 -BuildRequires: python-argparse -BuildRequires: python-nose1.1 -%else BuildRequires: python2-nose -BuildRequires: python2-sqlalchemy >= 0.7.4 -%endif - +BuildRequires: python2-sqlalchemy >= 1.1 # Just for the tests BuildRequires: python2-psycopg2 BuildRequires: python2-mysql @@ -65,8 +56,7 @@ BuildRequires: python2-mysql %if %{with python3} BuildRequires: python3-devel -BuildRequires: python2-tools -BuildRequires: python3-sqlalchemy >= 0.7.4 +BuildRequires: python3-sqlalchemy >= 1.1 BuildRequires: python3-mako BuildRequires: python3-nose BuildRequires: python3-setuptools @@ -98,12 +88,7 @@ Documentation and status of Alembic is at http://readthedocs.org/docs/alembic/ Summary: %summary # See if we're building for python earlier than 2.7 -%if 0%{?rhel} && 0%{?rhel} <= 6 -Requires: python-sqlalchemy0.7 >= 0.7.4 -Requires: python-argparse -%else -Requires: python2-sqlalchemy >= 0.9.0 -%endif +Requires: python2-sqlalchemy >= 1.1 Requires: python2-editor Requires: python2-dateutil @@ -118,7 +103,7 @@ Requires: python2-mako %package -n python3-alembic Summary: %summary -Requires: python3-sqlalchemy >= 0.9.0 +Requires: python3-sqlalchemy >= 1.1 Requires: python3-mako Requires: python3-setuptools Requires: python3-editor @@ -218,12 +203,12 @@ sed -i -e "s|__requires__ = 'alembic==0.4.2'|__requires__ = ['alembic==0.4.2', ' %check %if %{with python2} -%{__python2} setup.py test +py.test-2 %endif %if %{with python3} pushd %{py3dir} -%{__python3} setup.py test +py.test-3 popd %endif @@ -266,6 +251,10 @@ popd %changelog +* Tue Sep 03 2019 Randy Barlow - 1.1.0-1 +- Upgrade to 1.1.0 (#1747053). +- https://alembic.sqlalchemy.org/en/latest/changelog.html#change-1.1.0 + * Sun Aug 18 2019 Miro HronĨok - 1.0.11-3 - Rebuilt for Python 3.8 diff --git a/sources b/sources index 5044fdb..5b782b2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (alembic-1.0.11.tar.gz) = 5e59c90a0f0b0ca1fab356accc7f28cd4e2a76625fc7a268e6b3f925b3dd905aa3fda3d0044474b79fc969610fb9f0e795de5c4bdf42f047a194d178ca3d016c +SHA512 (alembic-1.1.0.tar.gz) = 9ddd5b64048aba67c03effa8839eec2ba486295f86223f281c345ef95077c3dc205773a2a4367c5204ca7789e3f05235de9ed6bc0d200f51515bf3ce5ed8e447