!10 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:31 +08:00 committed by Gitee
commit f7c64c4c14

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