From 4783e1c45970e37e7fa290688cc02cb94e1eadef Mon Sep 17 00:00:00 2001 From: Honza Horak Date: Sat, 21 Jul 2018 19:05:13 +0200 Subject: [PATCH] Do not build python2-scons on rhel>7 --- scons.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scons.spec b/scons.spec index 5b20849..ffe30dc 100644 --- a/scons.spec +++ b/scons.spec @@ -6,7 +6,11 @@ %if 0%{?fedora} || 0%{?rhel} > 7 %global with_python3 1 +%if 0%{?rhel} > 7 +%global with_python2 0 +%else %global with_python2 1 +%endif %else %global with_python3 0 %global with_python2 1 @@ -14,7 +18,7 @@ Name: scons Version: 3.0.1 -Release: 9%{?posttag}%{?dist} +Release: 10%{?posttag}%{?dist} Summary: An Open Source software construction tool License: MIT @@ -203,6 +207,9 @@ popd %endif %changelog +* Fri Jul 20 2018 Honza Horak - 3.0.1-10 +- Do not build python2-scons on rhel>7 + * Sat Jul 14 2018 Fedora Release Engineering - 3.0.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild