diff --git a/python-prompt-toolkit.spec b/python-prompt-toolkit.spec index 162eb7e..978f958 100644 --- a/python-prompt-toolkit.spec +++ b/python-prompt-toolkit.spec @@ -1,14 +1,17 @@ +%global commit 5eb6efd273530dc5517a7bc22bcce1df57a29f0e +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + %global common_description %{expand: prompt_toolkit is a library for building powerful interactive command line applications in Python.} Name: python-prompt-toolkit -Version: 3.0.36 -Release: 2%{?dist} +Version: 3.0.36^1.%{shortcommit} +Release: 1%{?dist} Summary: Library for building powerful interactive command line applications in Python License: BSD-3-Clause URL: https://github.com/prompt-toolkit/python-prompt-toolkit -Source: %{pypi_source prompt_toolkit} +Source: %{url}/archive/%{commit}/prompt_toolkit-%{shortcommit}.tar.gz BuildArch: noarch @@ -27,7 +30,7 @@ Recommends: python3-pygments %prep -%autosetup -n prompt_toolkit-%{version} +%autosetup -n python-prompt-toolkit-%{commit} %generate_buildrequires @@ -52,6 +55,9 @@ Recommends: python3-pygments %changelog +* Sat Feb 18 2023 Carl George - 3.0.36^1.5eb6efd-1 +- Update to upstream snapshot for Python 3.12 compatibility, resolves rhbz#2165570 + * Mon Jan 30 2023 Carl George - 3.0.36-2 - Switch to SPDX license identifier diff --git a/sources b/sources index 0bb03a5..44b01ea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (prompt_toolkit-3.0.36.tar.gz) = db77a3acb8a985b1df3d82eca7ac30fbd5e85bf3bc77f0f6da13af8064a7d4dc9d7fd57be3eabe5eecce610c8220ad493d296f2e425a8f69d62fddd1e419af1e +SHA512 (prompt_toolkit-5eb6efd.tar.gz) = 523ac5222bf61e7d1ffcdfa486f4967b75d9ab42e6722d3567da682fbbb575c489bc13efdd2b46e45461e171d5b09ec45888d50419782a2a47df03e86b595959