Do not build python2-scons on rhel>7

This commit is contained in:
Honza Horak 2018-07-21 19:05:13 +02:00
parent d87116a6e3
commit 4783e1c459

View File

@ -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 <hhorak@redhat.com> - 3.0.1-10
- Do not build python2-scons on rhel>7
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild