Add support for Python 3.13.0a2+

This commit is contained in:
Miro Hrončok
2023-11-24 14:24:49 +01:00
parent 2d493fedf0
commit a9fed333de
2 changed files with 59 additions and 0 deletions
+4
View File
@@ -6,6 +6,10 @@ License: MIT
URL: https://github.com/adamchainz/time-machine
Source: %{url}/archive/%{version}/time-machine-%{version}.tar.gz
# time.clock_gettime and clock_gettime_ns are METH_O in Python 3.13.0a2+
# From https://github.com/adamchainz/time-machine/pull/409
Patch: %{url}/commit/275e88f44b.patch
BuildRequires: gcc
BuildRequires: python3-devel