diff --git a/quazip.spec b/quazip.spec index 0315201..b55d4e7 100644 --- a/quazip.spec +++ b/quazip.spec @@ -1,8 +1,16 @@ %undefine __cmake_in_source_build -%bcond_without qt4 -%bcond_without qt5 -%bcond_without qt6 +%if 0%{?rhel} +# EPEL - only Qt5 packages +%bcond_with qt4 +%bcond_without qt5 +%bcond_with qt6 +%else +# Fedora - build everything +%bcond_without qt4 +%bcond_without qt5 +%bcond_without qt6 +%endif %bcond_without test