Use %ldconfig_scriptlets.
This commit is contained in:
parent
3d12a39533
commit
48d5fc81bc
@ -95,20 +95,19 @@ rm -rf checkmk/test/check_checkmk*
|
||||
rm -rf checkmk/test/empty_input
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
if [ -e %{_infodir}/%{name}.info* ]; then
|
||||
/sbin/install-info \
|
||||
--entry='* Check: (check). A unit testing framework for C.' \
|
||||
%{_infodir}/%{name}.info %{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 -a -e %{_infodir}/%{name}.info* ]; then
|
||||
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%doc AUTHORS ChangeLog
|
||||
%license COPYING.LESSER
|
||||
|
Loading…
Reference in New Issue
Block a user