New upstream release
This commit is contained in:
parent
5bc6de5b68
commit
5e838a27bd
13
avahi.spec
13
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@redhat.com> - 0.6.28-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Aug 4 2010 Lennart Poettering <lpoetter@redhat.com> - 0.6.27-3
|
||||
- convert from systemd-install to systemctl enable
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user