[avahi: 2/3] New upstream release
Lennart Poettering
lennart at fedoraproject.org
Tue Oct 5 00:11:52 UTC 2010
commit 5e838a27bd98b8289d630e433c49e5f2b95208c6
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Oct 5 02:00:51 2010 +0200
New upstream release
avahi.spec | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/avahi.spec b/avahi.spec
index 0b23bfa..25f30cd 100644
--- a/avahi.spec
+++ b/avahi.spec
@@ -5,8 +5,8 @@
%define WITH_MONO 0
%endif
Name: avahi
-Version: 0.6.27
-Release: 3%{?dist}
+Version: 0.6.28
+Release: 1%{?dist}
Summary: Local network service discovery
Group: System Environment/Base
License: LGPLv2
@@ -372,14 +372,14 @@ getent passwd avahi >/dev/null 2>&1 || useradd \
/sbin/ldconfig
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 || :
-/bin/systemctl daemon-reload >/dev/null 2>&1 || :
if [ "$1" -eq 1 ]; then
+ /bin/systemctl daemon-reload >/dev/null 2>&1 || :
if [ -s /etc/localtime ]; then
cp -cfp /etc/localtime /etc/avahi/etc/localtime || :
fi
fi
-%triggerin -- avahi < 0.6.26-1
+%triggerun -- avahi < 0.6.26-1
if /sbin/chkconfig avahi-daemon ; then
/bin/systemctl enable avahi-daemon.service >/dev/null 2>&1 || :
fi
@@ -387,11 +387,13 @@ fi
%preun
if [ "$1" -eq 0 ]; then
/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/chkconfig --del avahi-daemon >/dev/null 2>&1 || :
fi
%postun
+/bin/systemctl daemon-reload >/dev/null 2>&1 || :
/sbin/ldconfig || :
%pre autoipd
@@ -644,6 +646,9 @@ fi
%endif
%changelog
+* Tue Oct 5 2010 Lennart Poettering <lpoetter at redhat.com> - 0.6.28-1
+- New upstream release
+
* Wed Aug 4 2010 Lennart Poettering <lpoetter at redhat.com> - 0.6.27-3
- convert from systemd-install to systemctl enable
More information about the scm-commits
mailing list