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}}