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