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
This commit is contained in:
Matej Cepl 2022-06-27 15:57:46 +00:00 committed by Git OBS Bridge
parent 9f5df749af
commit 4b82018bd3
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 27 12:09:15 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Actually we DO want to build the bindings.
-------------------------------------------------------------------
Wed Jun 15 05:09:29 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

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