Fix path to install-info in macros.info

This commit is contained in:
Vitezslav Crhonek 2017-03-13 14:57:50 +01:00
parent 6f9737e6ac
commit cf5ffaf841
2 changed files with 9 additions and 5 deletions

View File

@ -1,15 +1,15 @@
%info_requires \
Requires(post): /usr/sbin/install-info \
Requires(preun): /usr/sbin/install-info
Requires(post): /sbin/install-info \
Requires(preun): /sbin/install-info
%info_post() \
if [ -f %{_infodir}/%1 ]; then # --excludedocs? \
/usr/sbin/install-info %{_infodir}/%1 %{_infodir}/dir || : \
/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 || : \
/sbin/install-info --delete %{_infodir}/%1 %{_infodir}/dir || : \
fi \
fi

View File

@ -3,7 +3,7 @@
Summary: Tools needed to create Texinfo format documentation files
Name: texinfo
Version: 6.3
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv3+
Group: Applications/Publishing
Url: http://www.gnu.org/software/texinfo/
@ -171,6 +171,10 @@ fi
%{_mandir}/man1/pdftexi2dvi.1*
%changelog
* Mon Mar 13 2017 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.3-3
- Fix path to install-info in macros.info
Resolves: #1419246
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild