diff --git a/festival.spec b/festival.spec index 2405b4d..6dd9235 100644 --- a/festival.spec +++ b/festival.spec @@ -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 - 1.96-42 +- install-info should be executed before the help package is uninstalled + * Fri Apr 3 2020 chenli - 1.96-41 - modify spec