14
0

Accepting request 1078375 from home:dimstar:Factory

- BuildRequire python38-backports.zoneinfo only when python38-base
  is present in the buildsystem: fix build on distros where python
  3.8 is no longer in the supported set of python interpreters.

- Update to version 2.8.2

OBS-URL: https://build.opensuse.org/request/show/1078375
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-time-machine?expand=0&rev=19
This commit is contained in:
2023-04-12 15:29:33 +00:00
committed by Git OBS Bridge
parent 179132594e
commit ad15759670
2 changed files with 10 additions and 3 deletions

View File

@@ -1,7 +1,14 @@
-------------------------------------------------------------------
Tue Apr 11 08:32:21 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- BuildRequire python38-backports.zoneinfo only when python38-base
is present in the buildsystem: fix build on distros where python
3.8 is no longer in the supported set of python interpreters.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Oct 29 16:04:03 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com> Sat Oct 29 16:04:03 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 2.8.2 - Update to version 2.8.2
* Improve type hints for time_machine.travel() to preserve the types of the wrapped function/coroutine/class. * Improve type hints for time_machine.travel() to preserve the types of the wrapped function/coroutine/class.
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-time-machine # spec file for package python-time-machine
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -33,7 +33,7 @@ BuildRequires: python-rpm-macros
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module dateutil} BuildRequires: %{python_module dateutil}
BuildRequires: %{python_module pytzdata} BuildRequires: %{python_module pytzdata}
BuildRequires: python38-backports.zoneinfo BuildRequires: (python38-backports.zoneinfo if python38-base)
# /SECTION # /SECTION
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-generators BuildRequires: python-rpm-generators