From 0dcf537024569c41ad5f9c7f2178552ac1043a039a26e5df6afa18fdb49dcf6d Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Tue, 3 Nov 2020 19:50:25 +0000 Subject: [PATCH] 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 --- aws-efs-utils.changes | 12 ++++++++++++ aws-efs-utils.spec | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/aws-efs-utils.changes b/aws-efs-utils.changes index 940fef5..e9db47c 100644 --- a/aws-efs-utils.changes +++ b/aws-efs-utils.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Nov 3 15:03:24 UTC 2020 - Franck Bui + +- 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 diff --git a/aws-efs-utils.spec b/aws-efs-utils.spec index 588d323..2c3e6ef 100644 --- a/aws-efs-utils.spec +++ b/aws-efs-utils.spec @@ -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,-)