From 16f3bdb654cd14fb0baf7ddc05aa6b57ab5932c8 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:39:36 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libcmis.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libcmis.spec b/libcmis.spec index 804e9f7..1c65fdd 100644 --- a/libcmis.spec +++ b/libcmis.spec @@ -55,8 +55,7 @@ make %{?_smp_mflags} make install DESTDIR=%{buildroot} rm -f %{buildroot}/%{_libdir}/*.la -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %check export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}