diff --git a/python-time-machine.changes b/python-time-machine.changes index 59e5e4f..faebaa3 100644 --- a/python-time-machine.changes +++ b/python-time-machine.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 11 10:01:09 UTC 2022 - Sebastian Wagner + +- Limit package to python >= 3.7 + ------------------------------------------------------------------- Mon Jan 10 17:18:47 UTC 2022 - Sebastian Wagner diff --git a/python-time-machine.spec b/python-time-machine.spec index 3c34880..90f0b11 100644 --- a/python-time-machine.spec +++ b/python-time-machine.spec @@ -17,7 +17,6 @@ %define skip_python2 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-time-machine Group: Development/Languages/Python Version: 2.6.0 @@ -27,7 +26,7 @@ License: MIT URL: https://github.com/adamchainz/time-machine # pypi packages don't contain the tests anymore since 2.2.0, see changelog Source: https://github.com/adamchainz/time-machine/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: %{python_module devel} +BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros # SECTION @@ -36,6 +35,8 @@ BuildRequires: %{python_module dateutil} BuildRequires: %{python_module pytzdata} # /SECTION BuildRequires: fdupes +BuildRequires: python-rpm-generators +%{?python_enable_dependency_generator} %python_subpackages %description