Disable python2 support for flatpak builds

epel9
Kalev Lember 5 years ago
parent 7daeab9ca5
commit a24c79688e

@ -19,7 +19,7 @@ antivirus quarantine files, etc.
# Build without python2 package for newer releases > fc32 and > rhel8
# python2 package already released for rhel8
# https://pagure.io/fesco/issue/2266
%if (0%{?fedora} && 0%{?fedora} > 32 ) || ( 0%{?rhel} && 0%{?rhel} > 8 )
%if (0%{?fedora} && 0%{?fedora} > 32 ) || ( 0%{?rhel} && 0%{?rhel} > 8 ) || 0%{?flatpak}
%bcond_with python2
%else
%bcond_without python2

Loading…
Cancel
Save