From f8afe3fbbdbe801dacb3d8c01b8be72c4a5afe77 Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Mon, 19 Mar 2018 15:14:07 +0100 Subject: [PATCH] Don't build w/ mono and qt support on RHEL --- avahi.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/avahi.spec b/avahi.spec index d1aa0d8..9e89da6 100644 --- a/avahi.spec +++ b/avahi.spec @@ -7,11 +7,15 @@ %ifnarch %{mono_arches} %define WITH_MONO 0 %endif -%if 0%{?rhel} && 0%{?rhel} <= 7 + +%if 0%{?rhel} %define WITH_MONO 0 -%endif -%if 0%{?rhel} && 0%{?rhel} >= 6 -%define WITH_QT4 0 + %if 0%{?rhel} >= 6 + %define WITH_QT4 0 + %endif + %if 0%{?rhel} > 7 + %define WITH_QT3 0 + %endif %endif # http://bugzilla.redhat.com/1008395 - no hardened build