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