From 29d0a973efe8d21d537cb5aa3863f524d3727b8b064d551976169d5c621c3154 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 25 Mar 2025 06:04:25 +0000 Subject: [PATCH 1/2] - Lowercase metadata directory name. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyYAML?expand=0&rev=63 --- python-PyYAML.changes | 5 +++++ python-PyYAML.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-PyYAML.changes b/python-PyYAML.changes index 310efa4..70c7900 100644 --- a/python-PyYAML.changes +++ b/python-PyYAML.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 25 06:04:15 UTC 2025 - Steve Kowalik + +- Lowercase metadata directory name. + ------------------------------------------------------------------- Wed Oct 2 08:15:26 UTC 2024 - John Paul Adrian Glaubitz diff --git a/python-PyYAML.spec b/python-PyYAML.spec index 1eab669..051bb37 100644 --- a/python-PyYAML.spec +++ b/python-PyYAML.spec @@ -1,7 +1,7 @@ # # spec file for package python-PyYAML # -# 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 @@ -72,6 +72,6 @@ ulimit -Sn 2048 %doc CHANGES README.md examples/ %{python_sitearch}/yaml %{python_sitearch}/_yaml -%{python_sitearch}/PyYAML-%{version}.dist-info +%{python_sitearch}/pyyaml-%{version}.dist-info %changelog From 03d7f60052dd6e52b88fd777ae8a5513716ca4b03517f1fdcf1c45b50480b916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 1 Apr 2025 12:54:58 +0000 Subject: [PATCH 2/2] - Wrap the metadata directory name in a distro-based conditional OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyYAML?expand=0&rev=64 --- python-PyYAML.changes | 5 +++++ python-PyYAML.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/python-PyYAML.changes b/python-PyYAML.changes index 70c7900..e238895 100644 --- a/python-PyYAML.changes +++ b/python-PyYAML.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 1 12:54:40 UTC 2025 - Markéta Machová + +- Wrap the metadata directory name in a distro-based conditional + ------------------------------------------------------------------- Tue Mar 25 06:04:15 UTC 2025 - Steve Kowalik diff --git a/python-PyYAML.spec b/python-PyYAML.spec index 051bb37..45bbb46 100644 --- a/python-PyYAML.spec +++ b/python-PyYAML.spec @@ -72,6 +72,10 @@ ulimit -Sn 2048 %doc CHANGES README.md examples/ %{python_sitearch}/yaml %{python_sitearch}/_yaml +%if 0%{?suse_version} > 1600 %{python_sitearch}/pyyaml-%{version}.dist-info +%else +%{python_sitearch}/PyYAML-%{version}.dist-info +%endif %changelog