1
0
forked from pool/aws-efs-utils

Accepting request 845774 from home:fbui:branches:Cloud:Tools

- 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.

OBS-URL: https://build.opensuse.org/request/show/845774
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-efs-utils?expand=0&rev=14
This commit is contained in:
Robert Schweikert 2020-11-03 19:50:25 +00:00 committed by Git OBS Bridge
parent 2d5ab114d2
commit a326d3753b
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> 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 %service_add_post amazon-efs-mount-watchdog.service
%preun %preun
%service_del_preun -f amazon-efs-mount-watchdog.service %service_del_preun amazon-efs-mount-watchdog.service
%postun %postun
%service_del_postun -f amazon-efs-mount-watchdog.service %service_del_postun amazon-efs-mount-watchdog.service
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)