diff --git a/avahi.spec b/avahi.spec index e5aa92f..8243106 100644 --- a/avahi.spec +++ b/avahi.spec @@ -1,6 +1,6 @@ -%{?!WITH_MONO: %define WITH_MONO 1} -%{?!WITH_COMPAT_DNSSD: %define WITH_COMPAT_DNSSD 1} -%{?!WITH_COMPAT_HOWL: %define WITH_COMPAT_HOWL 1} +%{?!WITH_MONO: %global WITH_MONO 1} +%{?!WITH_COMPAT_DNSSD: %global WITH_COMPAT_DNSSD 1} +%{?!WITH_COMPAT_HOWL: %global WITH_COMPAT_HOWL 1} %ifarch sparc64 s390 %define WITH_MONO 0 %endif @@ -346,7 +346,7 @@ fashion with mDNS. --with-avahi-priv-access-group=avahi \ --with-autoipd-user=avahi-autoipd \ --with-autoipd-group=avahi-autoipd \ - --with-systemdsystemunitdir=/lib/systemd/system \ + --with-systemdsystemunitdir=/usr/lib/systemd/system \ --enable-introspection=no \ %if %{WITH_COMPAT_DNSSD} --enable-compat-libdns_sd \