install-info should be executed before the help package is uninstalled

This commit is contained in:
si-gui 2020-11-26 14:38:24 +08:00
parent b5e7f41182
commit a9855b32e0

View File

@ -1,6 +1,6 @@
Name: festival
Version: 1.96
Release: 41
Release: 42
Summary: Festival Speech Synthesis System
License: MIT and GPL+ and TCL
URL: http://www.cstr.ed.ac.uk/projects/festival/
@ -304,7 +304,7 @@ cp -p festdoc-%{docversion}/festival/info/* %{buildroot}%{_infodir}
%post help
/sbin/install-info %{_infodir}/festival.info.gz %{_infodir}/dir --section "Accessibility" > /dev/null 2>&1
%postun help
%preun help
if [ "$1" = 0 ]; then
/sbin/install-info --delete %{_infodir}/festival.info.gz %{_infodir}/dir --section "Accessibility" > /dev/null 2>&1
fi
@ -347,6 +347,9 @@ fi
%{_mandir}/man1/*
%changelog
* Thu Nov 26 2020 Guoshuai Sun <sunguoshuai@huawei.com> - 1.96-42
- install-info should be executed before the help package is uninstalled
* Fri Apr 3 2020 chenli <chenli147@huawei.com> - 1.96-41
- modify spec