From b000b716eda8abfe20a60037497e5c9ad0927706 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:39:59 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libodfgen.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libodfgen.spec b/libodfgen.spec index 3fb2bbf..b28f681 100644 --- a/libodfgen.spec +++ b/libodfgen.spec @@ -51,8 +51,7 @@ rm -f %{buildroot}/%{_libdir}/*.la # we install API docs directly from build rm -rf %{buildroot}/%{_docdir}/%{name} -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %doc README NEWS