[avahi] fix build

Lennart Poettering lennart at fedoraproject.org
Wed Aug 8 02:00:20 UTC 2012


commit 426470eb7ade7d991284c48019492908534c31f2
Author: Lennart Poettering <lennart at poettering.net>
Date:   Wed Aug 8 03:11:12 2012 +0200

    fix build

 avahi.spec |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
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 \


More information about the scm-commits mailing list