diff --git a/custodia.spec b/custodia.spec index 3f910be..5a6bd4c 100644 --- a/custodia.spec +++ b/custodia.spec @@ -1,4 +1,4 @@ -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} > 7 %global with_python3 1 %endif @@ -12,7 +12,7 @@ # FreeIPA up to 4.4.4 are not compatible with custodia because the custodia # script now runs under Python 3. FreeIPA 4.4.5 and 4.4.4-2 on F26 are fixed. -%if 0%{?fedora} >= 26 +%if 0%{?fedora} >= 26 || 0%{?rhel} > 7 %global ipa_conflict 4.4.4-2 %else %global ipa_conflict 4.4.5