From 688efb1b26b4c0d837b3b575db1f05ffeb803066 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Mon, 30 Nov 2020 21:25:48 +0000 Subject: [PATCH] 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 --- PyYAML.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/PyYAML.spec b/PyYAML.spec index e921db3..7b0a7e4 100644 --- a/PyYAML.spec +++ b/PyYAML.spec @@ -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 - 5.3.1-5 +- Disable Python 2 build on RHEL 9+ + * Mon Jul 27 2020 Fedora Release Engineering - 5.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild