From 1321fbe06b00882425f30b326ad8de5b041324a472253b58186499a19e8bcd13 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 19 Apr 2025 16:00:44 +0000 Subject: [PATCH] Accepting request 1270619 from home:darix:apps - dont use suse version for the dist info handling as people can build with newer setuptools on older distros OBS-URL: https://build.opensuse.org/request/show/1270619 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyYAML?expand=0&rev=66 --- python-PyYAML.changes | 6 ++++++ python-PyYAML.spec | 6 +----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/python-PyYAML.changes b/python-PyYAML.changes index e238895..f970b41 100644 --- a/python-PyYAML.changes +++ b/python-PyYAML.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 17 18:31:57 UTC 2025 - Marcus Rueckert + +- dont use suse version for the dist info handling as people can + build with newer setuptools on older distros + ------------------------------------------------------------------- Tue Apr 1 12:54:40 UTC 2025 - Markéta Machová diff --git a/python-PyYAML.spec b/python-PyYAML.spec index 45bbb46..f0a3898 100644 --- a/python-PyYAML.spec +++ b/python-PyYAML.spec @@ -72,10 +72,6 @@ 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 +%{python_sitearch}/[Pp]y[Yy][Aa][Mm][Ll]-%{version}.dist-info %changelog