From f8afe3fbbdbe801dacb3d8c01b8be72c4a5afe77 Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Mar 19 2018 14:14:07 +0000 Subject: Don't build w/ mono and qt support on RHEL --- 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