From 368b350eae9e9a574d25827d9cbd5591c584e2c3258cf43360ce7d52bbc39ceb Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 11 Jun 2025 06:27:06 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-jose?expand=0&rev=21 --- python-python-jose.changes | 5 +++++ python-python-jose.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-python-jose.changes b/python-python-jose.changes index 15fe472..5970434 100644 --- a/python-python-jose.changes +++ b/python-python-jose.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 11 05:49:33 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Tue May 6 17:27:12 UTC 2025 - Guang Yee diff --git a/python-python-jose.spec b/python-python-jose.spec index 441582e..882be80 100644 --- a/python-python-jose.spec +++ b/python-python-jose.spec @@ -44,7 +44,9 @@ Summary: JOSE implementation in Python License: MIT URL: https://github.com/mpdavis/python-jose Source: https://files.pythonhosted.org/packages/source/p/python-jose/python-jose-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 39.2.0} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-ecdsa >= 0.16 @@ -95,10 +97,10 @@ This package provides the python-jose[cryptography] extra. %if ! %{with test} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -111,7 +113,7 @@ This package provides the python-jose[cryptography] extra. %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/python_jose-%{version}*-info +%{python_sitelib}/python_jose-%{version}.dist-info %{python_sitelib}/jose %files %{python_files cryptography}