disable avahi-daemon.service default
(cherry picked from commit a3d3c4cf60ff2ed3023850d2ce6354745e8cdc9c)
This commit is contained in:
parent
e34e4e5ce1
commit
3ca8e552e4
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user