Cleanup spec file conditionals
This commit is contained in:
parent
b1dc737b52
commit
c206fdf8d4
11
scons.spec
11
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 <mmathesi@redhat.com> - 3.0.1-6
|
||||
- Cleanup spec file conditionals
|
||||
|
||||
* Mon Dec 25 2017 Antonio Trande <sagitter at fedoraproject.org> - 3.0.1-5
|
||||
- Remove 'Obsoletes scons' for scons-python3
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user