From c206fdf8d457210dbaa4215be595978a3edfd279 Mon Sep 17 00:00:00 2001 From: Merlin Mathesius Date: Tue, 23 Jan 2018 04:35:58 -0600 Subject: [PATCH] Cleanup spec file conditionals --- scons.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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