From 4b82018bd316158b4bb478d74ae7ce4924cdb1f8aecbefd87be04ff1141ca337 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 27 Jun 2022 15:57:46 +0000 Subject: [PATCH] Accepting request 985312 from home:bnavigator:branches:devel:languages:python - Actually we DO want to build the bindings. Being non-pure and BR on libyaml-devel makes absolutely no sense without the bindings. Required by python-distributed: Requires the CSafeDumper See https://pyyaml.org/wiki/PyYAMLDocumentation OBS-URL: https://build.opensuse.org/request/show/985312 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyYAML?expand=0&rev=49 --- python-PyYAML.changes | 5 +++++ python-PyYAML.spec | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/python-PyYAML.changes b/python-PyYAML.changes index cddc315..1a0d3d8 100644 --- a/python-PyYAML.changes +++ b/python-PyYAML.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 27 12:09:15 UTC 2022 - Ben Greiner + +- Actually we DO want to build the bindings. + ------------------------------------------------------------------- Wed Jun 15 05:09:29 UTC 2022 - Matej Cepl diff --git a/python-PyYAML.spec b/python-PyYAML.spec index e7c18bb..c3b6a9b 100644 --- a/python-PyYAML.spec +++ b/python-PyYAML.spec @@ -16,8 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define oldpython python +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-PyYAML Version: 6.0 @@ -53,7 +52,6 @@ configuration files to object serialization and persistance. %build export CFLAGS="%{optflags}" -export PYYAML_FORCE_LIBYAML=0 # we don't actually want to build the python lib %python_build # Fix example permissions. find examples/ -type f | xargs chmod a-x @@ -74,6 +72,6 @@ ulimit -Sn 2048 %doc CHANGES README.md examples/ %{python_sitearch}/yaml %{python_sitearch}/_yaml -%{python_sitearch}/PyYAML-%{version}-py%{python_version}.egg-info +%{python_sitearch}/PyYAML-%{version}*-info %changelog