diff --git a/python-alembic.changes b/python-alembic.changes index 3f97861..b2ef422 100644 --- a/python-alembic.changes +++ b/python-alembic.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 14 13:59:58 UTC 2018 - Tomáš Chvátal + +- Do not require old pytest and simply execute the pytest binary + ------------------------------------------------------------------- Thu Nov 1 22:51:27 UTC 2018 - Arun Persaud diff --git a/python-alembic.spec b/python-alembic.spec index ee18151..6407a70 100644 --- a/python-alembic.spec +++ b/python-alembic.spec @@ -41,8 +41,8 @@ Requires: python-Mako Requires: python-SQLAlchemy >= 0.9.0 Requires: python-python-dateutil Requires: python-python-editor >= 0.3 -Requires(post): %{_sbindir}/update-alternatives -Requires(postun): %{_sbindir}/update-alternatives +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -93,7 +93,7 @@ sed -i -e '1d' alembic/testing/runner.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} %post %python_install_alternative alembic