From a24c79688e94142d4501b93a3a94644f455aeb88 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 7 Apr 2020 00:57:38 +0200 Subject: [PATCH] Disable python2 support for flatpak builds --- python-olefile.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-olefile.spec b/python-olefile.spec index 07b604a..ccbc927 100644 --- a/python-olefile.spec +++ b/python-olefile.spec @@ -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