Fix path to install-info in macros.info

This commit is contained in:
Vitezslav Crhonek 2017-03-13 15:34:53 +01:00
parent 6c3a995c52
commit 5e12f8c3c4
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.1
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv3+
Group: Applications/Publishing
Url: http://www.gnu.org/software/texinfo/
@ -174,6 +174,10 @@ fi
%{_mandir}/man1/pdftexi2dvi.1*
%changelog
* Mon Mar 13 2017 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.1-4
- Fix path to install-info in macros.info
Resolves: #1419246
* Wed Jun 22 2016 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.1-3
- install-info: use create-tmp-then-rename pattern because of OSTree
(patch by Colin Walters)