Reorganize distro macros

This commit is contained in:
sagitter 2019-03-14 18:06:46 +01:00
parent f41de82204
commit fa9fa42111

View File

@ -1,30 +1,31 @@
# SCons 3.0.1 does not run under (3.0.0) < Python3 < (3,5,0) or
# SCons 3.0.* does not run under (3.0.0) < Python3 < (3,5,0) or
# Python < (2,7,0).
# Epel7 provides Python3.4
# Epel7 provides Python3.6
# Fedora provides Python3.7
%if 0%{?rhel} >= 8
%if 0%{?rhel} && 0%{?rhel} >= 8
%global with_python3 1
%global with_python2 0
%endif
%if 0%{?rhel} < 8
%if 0%{?rhel} && 0%{?rhel} < 8
%global with_python3 1
%global with_python2 1
%endif
%if 0%{?fedora} < 30
%if 0%{?fedora} && 0%{?fedora} < 30
%global with_python3 1
%global with_python2 1
%endif
%if 0%{?fedora} >= 30
%if 0%{?fedora} && 0%{?fedora} >= 30
%global with_python3 1
%global with_python2 1
%endif
Name: scons
Version: 3.0.4
Release: 2%{?dist}
Release: 3%{?dist}
Summary: An Open Source software construction tool
License: MIT
URL: http://www.scons.org
@ -325,6 +326,9 @@ popd
%license %{name}-%{version}/src/LICENSE.txt
%changelog
* Thu Mar 14 2019 Antonio Trande <sagitter at fedoraproject.org> - 3.0.4-3
- Reorganize distro macros
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild