Accepting request 985361 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/985361
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyYAML?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2022-06-28 13:21:23 +00:00 committed by Git OBS Bridge
commit 3a2f35d7ab
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