14
0

- 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
This commit is contained in:
Sebastian Wagner
2021-05-29 07:51:21 +00:00
committed by Git OBS Bridge
parent 0392639000
commit 0a9048c7a8
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat May 29 07:50:49 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- skip python2 to fix leap build
- add missing group tag to fix leap build
-------------------------------------------------------------------
Tue May 25 11:43:44 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>

View File

@@ -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}