diff --git a/scons.spec b/scons.spec index bbbfb45..bc43984 100644 --- a/scons.spec +++ b/scons.spec @@ -4,19 +4,17 @@ # Python < (2,7,0). # Epel7 provides Python3.4 -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} > 7 %global with_python3 1 %global with_python2 1 -%endif - -%if 0%{?rhel} +%else %global with_python3 0 %global with_python2 1 %endif Name: scons Version: 3.0.1 -Release: 5%{?posttag}%{?dist} +Release: 6%{?posttag}%{?dist} Summary: An Open Source software construction tool License: MIT @@ -205,6 +203,9 @@ popd %endif %changelog +* Tue Jan 23 2018 Merlin Mathesius - 3.0.1-6 +- Cleanup spec file conditionals + * Mon Dec 25 2017 Antonio Trande - 3.0.1-5 - Remove 'Obsoletes scons' for scons-python3