From 069dc14e829108505993ffbcabf32ca74ba19aa3 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Nov 15 2018 11:29:23 +0000 Subject: Related: #1649547 - always build the python2-magic subpackage on Fedora ... as suggested at https://bugzilla.redhat.com/1649547#c7 --- diff --git a/file.spec b/file.spec index f8dac3e..ebaf9a0 100644 --- a/file.spec +++ b/file.spec @@ -5,8 +5,8 @@ %bcond_with python3 %endif -# python2 is not available on RHEL > 7 and not needed on Fedora > 30 -%if 0%{?rhel} > 7 || 0%{?fedora} > 30 +# python2 is not available on RHEL > 7 +%if 0%{?rhel} > 7 %bcond_with python2 %else %bcond_without python2