diff --git a/python-tempora.changes b/python-tempora.changes index b41066e..0014465 100644 --- a/python-tempora.changes +++ b/python-tempora.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Mar 20 01:58:47 UTC 2019 - John Vandenberg + +- Add missing %license +- Re-activate test suite +- Remove bcond python2 +- Add missing build dependency jaraco.functools >= 1.20 +- Remove inappropriate build dependency pytest-flake8 + ------------------------------------------------------------------- Mon Mar 18 09:31:58 UTC 2019 - Dirk Mueller diff --git a/python-tempora.spec b/python-tempora.spec index 2bbf529..2884a29 100644 --- a/python-tempora.spec +++ b/python-tempora.spec @@ -17,7 +17,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without python2 Name: python-tempora Version: 1.14 Release: 0 @@ -26,7 +25,7 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/jaraco/tempora Source: https://files.pythonhosted.org/packages/source/t/tempora/tempora-%{version}.tar.gz -BuildRequires: %{python_module pytest-flake8} +BuildRequires: %{python_module jaraco.functools >= 1.20} BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytz} BuildRequires: %{python_module setuptools_scm} @@ -35,13 +34,11 @@ BuildRequires: %{python_module six} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: python2-backports.unittest_mock Requires: python-jaraco.functools >= 1.20 Requires: python-pytz Requires: python-six BuildArch: noarch -%if %{with python2} -BuildRequires: python2-backports.unittest_mock -%endif %python_subpackages %description @@ -63,10 +60,10 @@ Modules include: %fdupes %{buildroot} %check -# https://github.com/jaraco/tempora/issues/6 -# %%pytest tests +%python_exec setup.py test %files %{python_files} +%license LICENSE %doc CHANGES.rst README.rst docs/*rst %python3_only %{_bindir}/calc-prorate %{python_sitelib}/*