From d46a3c6ce16b97219d0f270c5c2ba577a847a416 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:38:52 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- efivar.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/efivar.spec b/efivar.spec index 3808478..7fd34b7 100644 --- a/efivar.spec +++ b/efivar.spec @@ -51,9 +51,7 @@ make LIBDIR=%{_libdir} BINDIR=%{_bindir} CFLAGS="$RPM_OPT_FLAGS -flto" LDFLAGS=" make abicheck %endif -%post libs -p /sbin/ldconfig - -%postun libs -p /sbin/ldconfig +%ldconfig_scriptlets libs %files %{!?_licensedir:%global license %%doc}