Dominique Leuenberger 2020-11-04 17:27:04 +00:00 committed by Git OBS Bridge
commit a79dbecc4c
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Nov 3 15:03:24 UTC 2020 - Franck Bui <fbui@suse.com>
- Drop '-f' option with %service_del_preun/%service_del_postun
With %service_del_preun, the option is already ignored with as
support for DISABLE_STOP_ON_REMOVAL has been dropped.
With %service_del_postun, this option shouldn't be needed besides
very few special cases. But this package doesn't seem to belong to
this category.
-------------------------------------------------------------------
Mon Feb 3 12:03:13 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -88,10 +88,10 @@ for srv_name in %{buildroot}%{_unitdir}/*.service; do rc_name=$(basename -s '.se
%service_add_post amazon-efs-mount-watchdog.service
%preun
%service_del_preun -f amazon-efs-mount-watchdog.service
%service_del_preun amazon-efs-mount-watchdog.service
%postun
%service_del_postun -f amazon-efs-mount-watchdog.service
%service_del_postun amazon-efs-mount-watchdog.service
%files
%defattr(-,root,root,-)