Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/PyYAML.git#fdae8aa3a5bd478cd8a685a6ec2cd267241335dd
This commit is contained in:
DistroBaker 2020-11-30 21:25:48 +00:00
parent 5442e4d168
commit 688efb1b26
1 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# Python 2 removal, RHBZ#1775075
%if 0%{?fedora} >= 32
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9
%bcond_with python2
%else
%bcond_without python2
@ -7,7 +7,7 @@
Name: PyYAML
Version: 5.3.1
Release: 4%{?dist}
Release: 5%{?dist}
%global uversion %{version}
Summary: YAML parser and emitter for Python
@ -116,6 +116,9 @@ rm -rf ext/_yaml.c
%changelog
* Mon Nov 23 2020 Miro Hrončok <mhroncok@redhat.com> - 5.3.1-5
- Disable Python 2 build on RHEL 9+
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild