use macro for ldconfig scriptlets

This commit is contained in:
Miroslav Lichvar 2018-02-21 17:04:04 +01:00
parent a3836d516e
commit add9b765f9

View File

@ -101,9 +101,7 @@ if [ $1 = 0 ]; then
%{_infodir}/dir >/dev/null 2>&1 || :
fi
%post libopts -p /sbin/ldconfig
%postun libopts -p /sbin/ldconfig
%ldconfig_scriptlets libopts
%files
%doc AUTHORS