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
make check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%{!?_licensedir:%global license %%doc}