diff --git a/avahi.spec b/avahi.spec index fdfd602..782c3b7 100644 --- a/avahi.spec +++ b/avahi.spec @@ -3,7 +3,7 @@ Name: avahi Version: 0.8 -Release: 19 +Release: 20 Summary: Avahi is a local network service discovery License: LGPLv2+ URL: http://avahi.org @@ -371,6 +371,10 @@ if [ "$1" -eq 1 -a -s /etc/localtime ]; then fi %systemd_post avahi-daemon.socket avahi-daemon.service +if [ $1 -eq 1 ]; then + systemctl disable avahi-daemon.service +fi + %postun /sbin/ldconfig %systemd_postun_with_restart avahi-daemon.socket avahi-daemon.service @@ -584,6 +588,9 @@ fi %{_mandir}/man8/* %changelog +* Mon Jun 24 2024 zhangpan - 0.8-20 +- disable avahi-daemon.service default + * Sun Feb 4 2024 zhangpan - 0.8-19 - delete redundant patch