From 7cccf00f6e42f7a3fa6790864a0cef86f190ec4d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:41:15 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- usbguard.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usbguard.spec b/usbguard.spec index a367f6b..4eb2f64 100644 --- a/usbguard.spec +++ b/usbguard.spec @@ -151,11 +151,11 @@ find %{buildroot} \( -name '*.la' -o -name '*.a' \) -exec rm -f {} ';' %systemd_preun usbguard.service %post -/sbin/ldconfig +%{?ldconfig} %systemd_post usbguard.service %postun -/sbin/ldconfig +%{?ldconfig} %systemd_postun usbguard.service %files