!101 [sync] PR-97: disable avahi-daemon.service default

From: @openeuler-sync-bot 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2024-06-25 07:36:50 +00:00 committed by Gitee
commit a07482ef8f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <zhangpan103@h-partners.com> - 0.8-20
- disable avahi-daemon.service default
* Sun Feb 4 2024 zhangpan <zhangpan103@h-partners.com> - 0.8-19
- delete redundant patch