Fix python2 on Fedora < 32 (rhbz#1808812)

This commit is contained in:
John Eckersberg 2020-03-02 10:08:58 -05:00
parent fcc6c570f6
commit 6797a272e9

View File

@ -1,9 +1,13 @@
# Python 2 removal, RHBZ#1775075
%if 0%{fedora} >= 32
%bcond_with python2
%else
%bcond_without python2
%endif
Name: PyYAML
Version: 5.3
Release: 2%{?dist}
Release: 3%{?dist}
%global uversion %{version}
Summary: YAML parser and emitter for Python
@ -110,6 +114,9 @@ rm -rf ext/_yaml.c
%changelog
* Mon Mar 2 2020 John Eckersberg <eck@redhat.com> - 5.3-3
- Fix python2 on Fedora < 32 (rhbz#1808812)
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild