14
0

- Limit package to python >= 3.7

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=14
This commit is contained in:
Sebastian Wagner
2022-01-11 10:01:25 +00:00
committed by Git OBS Bridge
parent 9e5b5a2600
commit 47a481e96e
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 11 10:01:09 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Limit package to python >= 3.7
-------------------------------------------------------------------
Mon Jan 10 17:18:47 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>

View File

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