From 0a9048c7a895567a4fc46098a2f4e1104a4f7f45ea8b97cebf805193d175af6d Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Sat, 29 May 2021 07:51:21 +0000 Subject: [PATCH] - skip python2 to fix leap build - add missing group tag to fix leap build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=2 --- python-time-machine.changes | 6 ++++++ python-time-machine.spec | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) 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}