From fa9fa42111587ac5eec4bab3667128ec2b8840ba Mon Sep 17 00:00:00 2001 From: sagitter Date: Thu, 14 Mar 2019 18:06:46 +0100 Subject: [PATCH] Reorganize distro macros --- scons.spec | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/scons.spec b/scons.spec index c58a0f5..a96ccf8 100644 --- a/scons.spec +++ b/scons.spec @@ -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 - 3.0.4-3 +- Reorganize distro macros + * Sat Feb 02 2019 Fedora Release Engineering - 3.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild