New upstream release

This commit is contained in:
Lennart Poettering 2010-10-05 02:00:51 +02:00
parent 5bc6de5b68
commit 5e838a27bd

View File

@ -5,8 +5,8 @@
%define WITH_MONO 0 %define WITH_MONO 0
%endif %endif
Name: avahi Name: avahi
Version: 0.6.27 Version: 0.6.28
Release: 3%{?dist} Release: 1%{?dist}
Summary: Local network service discovery Summary: Local network service discovery
Group: System Environment/Base Group: System Environment/Base
License: LGPLv2 License: LGPLv2
@ -372,14 +372,14 @@ getent passwd avahi >/dev/null 2>&1 || useradd \
/sbin/ldconfig /sbin/ldconfig
dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || : 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 || : /sbin/chkconfig --add avahi-daemon >/dev/null 2>&1 || :
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
if [ "$1" -eq 1 ]; then if [ "$1" -eq 1 ]; then
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
if [ -s /etc/localtime ]; then if [ -s /etc/localtime ]; then
cp -cfp /etc/localtime /etc/avahi/etc/localtime || : cp -cfp /etc/localtime /etc/avahi/etc/localtime || :
fi fi
fi fi
%triggerin -- avahi < 0.6.26-1 %triggerun -- avahi < 0.6.26-1
if /sbin/chkconfig avahi-daemon ; then if /sbin/chkconfig avahi-daemon ; then
/bin/systemctl enable avahi-daemon.service >/dev/null 2>&1 || : /bin/systemctl enable avahi-daemon.service >/dev/null 2>&1 || :
fi fi
@ -387,11 +387,13 @@ fi
%preun %preun
if [ "$1" -eq 0 ]; then if [ "$1" -eq 0 ]; then
/bin/systemctl disable avahi-daemon.service >/dev/null 2>&1 || : /bin/systemctl disable avahi-daemon.service >/dev/null 2>&1 || :
/bin/systemctl stop avahi-daemon.service >/dev/null 2>&1 || :
/sbin/service avahi-daemon stop >/dev/null 2>&1 || : /sbin/service avahi-daemon stop >/dev/null 2>&1 || :
/sbin/chkconfig --del avahi-daemon >/dev/null 2>&1 || : /sbin/chkconfig --del avahi-daemon >/dev/null 2>&1 || :
fi fi
%postun %postun
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
/sbin/ldconfig || : /sbin/ldconfig || :
%pre autoipd %pre autoipd
@ -644,6 +646,9 @@ fi
%endif %endif
%changelog %changelog
* Tue Oct 5 2010 Lennart Poettering <lpoetter@redhat.com> - 0.6.28-1
- New upstream release
* Wed Aug 4 2010 Lennart Poettering <lpoetter@redhat.com> - 0.6.27-3 * Wed Aug 4 2010 Lennart Poettering <lpoetter@redhat.com> - 0.6.27-3
- convert from systemd-install to systemctl enable - convert from systemd-install to systemctl enable