diff --git a/libvisio.spec b/libvisio.spec index 448a55b..f436189 100644 --- a/libvisio.spec +++ b/libvisio.spec @@ -75,8 +75,7 @@ done install -m 0755 -d %{buildroot}/%{_mandir}/man1 install -m 0644 vsd2*.1 vss2*.1 %{buildroot}/%{_mandir}/man1 -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %check export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}