Disable Python 2 build on RHEL 9+
This commit is contained in:
parent
402b3d57aa
commit
fdae8aa3a5
@ -1,5 +1,5 @@
|
|||||||
# Python 2 removal, RHBZ#1775075
|
# Python 2 removal, RHBZ#1775075
|
||||||
%if 0%{?fedora} >= 32
|
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9
|
||||||
%bcond_with python2
|
%bcond_with python2
|
||||||
%else
|
%else
|
||||||
%bcond_without python2
|
%bcond_without python2
|
||||||
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
Name: PyYAML
|
Name: PyYAML
|
||||||
Version: 5.3.1
|
Version: 5.3.1
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
%global uversion %{version}
|
%global uversion %{version}
|
||||||
Summary: YAML parser and emitter for Python
|
Summary: YAML parser and emitter for Python
|
||||||
|
|
||||||
@ -116,6 +116,9 @@ rm -rf ext/_yaml.c
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.1-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user