diff --git a/python-time-machine.changes b/python-time-machine.changes index cff012f..bee87f9 100644 --- a/python-time-machine.changes +++ b/python-time-machine.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat May 29 07:50:49 UTC 2021 - Sebastian Wagner + +- skip python2 to fix leap build +- add missing group tag to fix leap build + ------------------------------------------------------------------- Tue May 25 11:43:44 UTC 2021 - Sebastian Wagner diff --git a/python-time-machine.spec b/python-time-machine.spec index dfaa95d..c8af061 100644 --- a/python-time-machine.spec +++ b/python-time-machine.spec @@ -16,17 +16,19 @@ # +%define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-time-machine +Group: Development/Languages/Python Version: 2.1.0 Release: 0 Summary: Travel through time in your tests License: MIT URL: https://github.com/adamchainz/time-machine Source: https://files.pythonhosted.org/packages/source/t/time_machine/time-machine-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros # SECTION BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module dateutil}