From 56d18f52de05f7213f8385dcddb32f399c99b1ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 2 Mar 2021 15:51:37 +0100 Subject: [PATCH] Coalesce systemd scriptlets It is more efficient to do callout just once. --- dnf.spec | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/dnf.spec b/dnf.spec index 32508e0..1893df1 100644 --- a/dnf.spec +++ b/dnf.spec @@ -253,22 +253,13 @@ popd %post automatic -%systemd_post dnf-automatic.timer -%systemd_post dnf-automatic-notifyonly.timer -%systemd_post dnf-automatic-download.timer -%systemd_post dnf-automatic-install.timer +%systemd_post dnf-automatic.timer dnf-automatic-notifyonly.timer dnf-automatic-download.timer dnf-automatic-install.timer %preun automatic -%systemd_preun dnf-automatic.timer -%systemd_preun dnf-automatic-notifyonly.timer -%systemd_preun dnf-automatic-download.timer -%systemd_preun dnf-automatic-install.timer +%systemd_preun dnf-automatic.timer dnf-automatic-notifyonly.timer dnf-automatic-download.timer dnf-automatic-install.timer %postun automatic -%systemd_postun_with_restart dnf-automatic.timer -%systemd_postun_with_restart dnf-automatic-notifyonly.timer -%systemd_postun_with_restart dnf-automatic-download.timer -%systemd_postun_with_restart dnf-automatic-install.timer +%systemd_postun_with_restart dnf-automatic.timer dnf-automatic-notifyonly.timer dnf-automatic-download.timer dnf-automatic-install.timer %files -f %{name}.lang