use macro for ldconfig scriptlets

This commit is contained in:
Miroslav Lichvar 2018-02-01 13:14:41 +01:00
parent e3a652ccb2
commit e4a4b4ab9e

View File

@ -86,9 +86,7 @@ done
%check %check
make check make check
%post -p /sbin/ldconfig %ldconfig_scriptlets
%postun -p /sbin/ldconfig
%files %files
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}