disable temporarily check for Fedora version till a final decision about removal of python2 subpkg

This commit is contained in:
Raphael Groner 2018-10-03 14:36:02 +02:00
parent 937fa68eb3
commit 5c07f3f332

View File

@ -1,10 +1,13 @@
%if 0%{?rhel}
%global with_python2 1
%endif
%if 0%{?fedora}
# FIXME maybe Fedora 31+ without python2 subpackage
# https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
%if 0%{?fedora} && 0%{?fedora} <= 30
# when needed, uncomment build conditional and later drop this block entirely
#%%if 0%%{?fedora} <= 31
%global with_python2 1
#%%endif
%endif
%if 0%{?rhel} >= 7
%global with_python3 1
@ -168,7 +171,7 @@ rm -rfv test/bin
%changelog
* Sun Sep 30 2018 Raphael Groner <projects.rg@smart.ms> - 1.6.8-5
* Wed Oct 03 2018 Raphael Groner <projects.rg@smart.ms> - 1.6.8-5
- add python3_other subpackage for epel7
- prepare removal of python2 subpackage in Fedora
- use pypi macros