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

From: @si-gui
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2020-11-26 16:51:00 +08:00 committed by Gitee
commit 683727aaa0

View File

@ -1,6 +1,6 @@
Name: festival
Version: 1.96
Release: 42
Release: 43
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-43
- install-info should be executed before the help package is uninstalled
* Mon May 25 2020 Captain Wei <captain.a.wei@gmail.com> - 1.96-42
- add -fpermissive compile option