Fix fedora conditional macro (rhbz#1836656)

This commit is contained in:
John Eckersberg 2020-05-18 09:31:51 -04:00
parent bd203720cf
commit 9abd7fefa2

View File

@ -1,5 +1,5 @@
# Python 2 removal, RHBZ#1775075
%if 0%{fedora} >= 32
%if 0%{?fedora} >= 32
%bcond_with python2
%else
%bcond_without python2
@ -7,7 +7,7 @@
Name: PyYAML
Version: 5.3.1
Release: 1%{?dist}
Release: 2%{?dist}
%global uversion %{version}
Summary: YAML parser and emitter for Python
@ -116,6 +116,9 @@ rm -rf ext/_yaml.c
%changelog
* Mon May 18 2020 John Eckersberg <eck@redhat.com> - 5.3.1-2
- Fix fedora conditional macro (rhbz#1836656)
* Thu Mar 19 2020 John Eckersberg <eck@redhat.com> - 5.3.1-1
- New upstream release 5.3.1 (rhbz#1814882)
- Fixes CVE-2020-1747 (rhbz#1807367,1809011)