From 8541e51530aa1e1236879f19fb4e60540c02cc61 Mon Sep 17 00:00:00 2001 From: si-gui <245140120@qq.com> Date: Thu, 26 Nov 2020 14:32:30 +0800 Subject: [PATCH] install-info should be executed before the help package is uninstalled --- festival.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/festival.spec b/festival.spec index 39dd6c3..c7f2696 100644 --- a/festival.spec +++ b/festival.spec @@ -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 - 1.96-43 +- install-info should be executed before the help package is uninstalled + * Mon May 25 2020 Captain Wei - 1.96-42 - add -fpermissive compile option