texinfo/macros.info
Vitezslav Crhonek e829fdab7e Add macros.info
2015-02-02 13:46:49 +01:00

16 lines
406 B
Plaintext

%info_requires \
Requires(post): /usr/sbin/install-info \
Requires(preun): /usr/sbin/install-info
%info_post() \
if [ -f %{_infodir}/%1 ]; then # --excludedocs? \
/usr/sbin/install-info %{_infodir}/%1 %{_infodir}/dir || : \
fi
%info_preun() \
if [ $1 == 0 ]; then \
if [ -f %{_infodir}/%1 ]; then # --excludedocs? \
/usr/sbin/install-info --delete %{_infodir}/%1 %{_infodir}/dir || : \
fi \
fi