From ce2e771ccbbb00fc044cbf4b92f949a9b8825b40 Mon Sep 17 00:00:00 2001 From: Ondrej Mosnacek Date: Sat, 11 Sep 2021 12:23:52 +0200 Subject: [PATCH] Enable building for EPEL8 Now the only thing needed to get a successful build on EPEL8 is to turn off Qt4 and Qt6 subpackages there by default. Signed-off-by: Ondrej Mosnacek --- quazip.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) 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