From 6ff5eb6fc6b67e21c1413f666c0a243875b766e73460a0d603c7261e7f94d5d8 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 26 Mar 2025 05:51:55 +0000 Subject: [PATCH 1/2] - Normalize metadata directory name. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.versioning?expand=0&rev=5 --- python-jaraco.versioning.changes | 5 +++++ python-jaraco.versioning.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-jaraco.versioning.changes b/python-jaraco.versioning.changes index 7f0dfd7..5a69573 100644 --- a/python-jaraco.versioning.changes +++ b/python-jaraco.versioning.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 26 05:48:36 UTC 2025 - Steve Kowalik + +- Normalize metadata directory name. + ------------------------------------------------------------------- Wed Jan 3 17:31:36 UTC 2024 - ecsos diff --git a/python-jaraco.versioning.spec b/python-jaraco.versioning.spec index 7cbee12..0f7fd8b 100644 --- a/python-jaraco.versioning.spec +++ b/python-jaraco.versioning.spec @@ -1,7 +1,7 @@ # # spec file for package python-jaraco.versioning # -# Copyright (c) 2023 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 @@ -24,11 +24,11 @@ Summary: More sophisticated version manipulation (than packaging) License: MIT URL: https://github.com/jaraco/jaraco.versioning Source: https://files.pythonhosted.org/packages/source/j/jaraco.versioning/jaraco.versioning-1.1.0.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module pip} -BuildRequires: %{python_module wheel} BuildRequires: %{python_module setuptools >= 56} BuildRequires: %{python_module setuptools_scm >= 3.4.1} +BuildRequires: %{python_module wheel} +BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module packaging} BuildRequires: %{python_module pytest} @@ -60,7 +60,7 @@ More sophisticated version manipulation (than packaging) %license LICENSE %dir %{python_sitelib}/jaraco %{python_sitelib}/jaraco/versioning.py -%{python_sitelib}/jaraco.versioning-%{version}.dist-info +%{python_sitelib}/jaraco_versioning-%{version}.dist-info %dir %{python_sitelib}/jaraco/__pycache__ %pycache_only %{python_sitelib}/jaraco/__pycache__/versioning.*.py* From 279d1186ae68a99126555d433ef3c0bade0b3e955fca986c65fac190dcc5678d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 1 Apr 2025 15:41:19 +0000 Subject: [PATCH 2/2] - Make it compatible with older setuptools OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.versioning?expand=0&rev=6 --- python-jaraco.versioning.changes | 5 +++++ python-jaraco.versioning.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-jaraco.versioning.changes b/python-jaraco.versioning.changes index 5a69573..153b8fa 100644 --- a/python-jaraco.versioning.changes +++ b/python-jaraco.versioning.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 1 15:36:05 UTC 2025 - Markéta Machová + +- Make it compatible with older setuptools + ------------------------------------------------------------------- Wed Mar 26 05:48:36 UTC 2025 - Steve Kowalik diff --git a/python-jaraco.versioning.spec b/python-jaraco.versioning.spec index 0f7fd8b..e4e42ce 100644 --- a/python-jaraco.versioning.spec +++ b/python-jaraco.versioning.spec @@ -60,7 +60,7 @@ More sophisticated version manipulation (than packaging) %license LICENSE %dir %{python_sitelib}/jaraco %{python_sitelib}/jaraco/versioning.py -%{python_sitelib}/jaraco_versioning-%{version}.dist-info +%{python_sitelib}/jaraco[_.]versioning-%{version}.dist-info %dir %{python_sitelib}/jaraco/__pycache__ %pycache_only %{python_sitelib}/jaraco/__pycache__/versioning.*.py*