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] - 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