diff --git a/libfreehand.spec b/libfreehand.spec index afd1591..1e08977 100644 --- a/libfreehand.spec +++ b/libfreehand.spec @@ -76,9 +76,7 @@ done install -m 0755 -d %{buildroot}/%{_mandir}/man1 install -m 0644 fh2*.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}}