From 581058ba477b003f47de04f68370010f1b33b81d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:04 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- librevenge.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/librevenge.spec b/librevenge.spec index 5584918..eebd829 100644 --- a/librevenge.spec +++ b/librevenge.spec @@ -64,8 +64,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 %check export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}