From 28fb32c0e21f3c5469f3cbddf1533d991fd39011 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: May 02 2011 23:07:54 +0000 Subject: enable avahi by default --- diff --git a/avahi.spec b/avahi.spec index 69fa8dd..dc6cbb1 100644 --- a/avahi.spec +++ b/avahi.spec @@ -6,7 +6,7 @@ %endif Name: avahi Version: 0.6.30 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Local network service discovery Group: System Environment/Base License: LGPLv2 @@ -373,14 +373,14 @@ getent passwd avahi >/dev/null 2>&1 || useradd \ dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || : /sbin/chkconfig --add avahi-daemon >/dev/null 2>&1 || : if [ "$1" -eq 1 ]; then - /bin/systemctl daemon-reload >/dev/null 2>&1 || : + /bin/systemctl enable avahi-daemon.service >/dev/null 2>&1 || : if [ -s /etc/localtime ]; then cp -cfp /etc/localtime /etc/avahi/etc/localtime || : fi fi %triggerun -- avahi < 0.6.26-1 -if /sbin/chkconfig --level 3 avahi-daemon ; then +if /sbin/chkconfig --level 5 avahi-daemon ; then /bin/systemctl --no-reload enable avahi-daemon.service >/dev/null 2>&1 || : fi @@ -417,7 +417,7 @@ if [ "$1" -eq 1 ]; then fi %triggerun dnsconfd -- avahi-dnsconfd < 0.6.26-1 -if /sbin/chkconfig --level 3 avahi-dnsconfd ; then +if /sbin/chkconfig --level 5 avahi-dnsconfd ; then /bin/systemctl --no-reload enable avahi-dnsconfd.service >/dev/null 2>&1 || : fi @@ -645,6 +645,10 @@ fi %endif %changelog +* Tue May 3 2011 Lennart Poettering - 0.6.30-2 +- Enable Avahi by default +- https://bugzilla.redhat.com/show_bug.cgi?id=647831 + * Mon Apr 4 2011 Lennart Poettering - 0.6.30-1 - New upstream release