From 891f918fefafd29c95dbc86da99b9e500823647f80a662e109e9a1dd7083ad15 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 25 Mar 2025 04:35:15 +0000 Subject: [PATCH 1/3] - Lowercase metadata directory name. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyJWT?expand=0&rev=79 --- python-PyJWT.changes | 5 +++++ python-PyJWT.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-PyJWT.changes b/python-PyJWT.changes index 35db901..b2beb65 100644 --- a/python-PyJWT.changes +++ b/python-PyJWT.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 25 04:34:47 UTC 2025 - Steve Kowalik + +- Lowercase metadata directory name. + ------------------------------------------------------------------- Tue Dec 3 09:42:44 UTC 2024 - Daniel Garcia diff --git a/python-PyJWT.spec b/python-PyJWT.spec index df98dba..8c329c0 100644 --- a/python-PyJWT.spec +++ b/python-PyJWT.spec @@ -1,7 +1,7 @@ # # spec file for package python-PyJWT # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -63,6 +63,6 @@ donttest+=" or test_ec_to_jwk_with_invalid_curve" %license LICENSE %doc AUTHORS.rst CHANGELOG.rst README.rst %{python_sitelib}/jwt -%{python_sitelib}/PyJWT-%{version}.dist-info +%{python_sitelib}/pyjwt-%{version}.dist-info %changelog From 8892bd0fd9a00c08a0389bd9396d461b07edc047e2a5d124e4c48d5de961a27d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 1 Apr 2025 12:53:05 +0000 Subject: [PATCH 2/3] - Wrap the metadata directory name in a distro-based conditional OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyJWT?expand=0&rev=80 --- python-PyJWT.changes | 5 +++++ python-PyJWT.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/python-PyJWT.changes b/python-PyJWT.changes index b2beb65..25a9b8c 100644 --- a/python-PyJWT.changes +++ b/python-PyJWT.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 1 12:52:41 UTC 2025 - Markéta Machová + +- Wrap the metadata directory name in a distro-based conditional + ------------------------------------------------------------------- Tue Mar 25 04:34:47 UTC 2025 - Steve Kowalik diff --git a/python-PyJWT.spec b/python-PyJWT.spec index 8c329c0..fa37e7d 100644 --- a/python-PyJWT.spec +++ b/python-PyJWT.spec @@ -63,6 +63,10 @@ donttest+=" or test_ec_to_jwk_with_invalid_curve" %license LICENSE %doc AUTHORS.rst CHANGELOG.rst README.rst %{python_sitelib}/jwt +%if 0%{?suse_version} > 1600 %{python_sitelib}/pyjwt-%{version}.dist-info +%else +%{python_sitelib}/PyJWT-%{version}.dist-info +%endif %changelog From 394f441df043b9fbf8ea04de41a8582000aab13e5a73018d321fe160e56682ca Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 4 Apr 2025 10:51:07 +0000 Subject: [PATCH 3/3] Accepting request 1266958 from home:darix:apps - Just use a wildcard for the dist-info metadata to make it properly work on all setuptools versions. OBS-URL: https://build.opensuse.org/request/show/1266958 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyJWT?expand=0&rev=81 --- python-PyJWT.changes | 6 ++++++ python-PyJWT.spec | 6 +----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/python-PyJWT.changes b/python-PyJWT.changes index 25a9b8c..f11c3c2 100644 --- a/python-PyJWT.changes +++ b/python-PyJWT.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 19:47:31 UTC 2025 - Marcus Rueckert + +- Just use a wildcard for the dist-info metadata to make it + properly work on all setuptools versions. + ------------------------------------------------------------------- Tue Apr 1 12:52:41 UTC 2025 - Markéta Machová diff --git a/python-PyJWT.spec b/python-PyJWT.spec index fa37e7d..a41059b 100644 --- a/python-PyJWT.spec +++ b/python-PyJWT.spec @@ -63,10 +63,6 @@ donttest+=" or test_ec_to_jwk_with_invalid_curve" %license LICENSE %doc AUTHORS.rst CHANGELOG.rst README.rst %{python_sitelib}/jwt -%if 0%{?suse_version} > 1600 -%{python_sitelib}/pyjwt-%{version}.dist-info -%else -%{python_sitelib}/PyJWT-%{version}.dist-info -%endif +%{python_sitelib}/*-%{version}.dist-info %changelog