Python2 SCons no longer built on Fedora 32+

This commit is contained in:
sagitter 2019-11-15 11:27:13 +01:00
parent b84d5aea94
commit 2445f15ba7

View File

@ -1,6 +1,6 @@
# SCons 3.0.* does not run under (3.0.0) < Python3 < (3,5,0) or Python < (2,7,0).
# Epel7 provides Python3.6
# Fedora provides Python3.7 (and will provide Python3.8)
# Fedora provides Python3.7 and Python3.8
%if 0%{?rhel} && 0%{?rhel} >= 8
%global with_python3 1
@ -11,14 +11,18 @@
%global with_python2 1
%endif
%if 0%{?fedora}
%if 0%{?fedora} && 0%{?fedora} < 32
%global with_python3 1
%global with_python2 1
%endif
%if 0%{?fedora} && 0%{?fedora} >= 32
%global with_python3 1
%endif
Name: scons
Version: 3.1.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: An Open Source software construction tool
License: MIT
URL: http://www.scons.org
@ -402,6 +406,9 @@ popd
%license %{name}-%{version}/src/LICENSE.txt
%changelog
* Fri Nov 15 2019 Antonio Trande <sagitter@fedoraproject.org> - 3.1.1-2
- Python2 SCons no longer built on Fedora 32+
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.1.1-2
- Rebuilt for Python 3.8.0rc1 (#1748018)