From 31983040117e0bbcee388c970f63dad3f0cdeb52 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jan 22 2019 17:38:56 +0000 Subject: Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- diff --git a/festival.spec b/festival.spec index 0c716f6..bd06fdf 100644 --- a/festival.spec +++ b/festival.spec @@ -185,24 +185,15 @@ Summary: Library for the Festival speech synthesis system # this is here to make sure upgrades go cleanly. In other cases, # the auto-deps should handle this just fine. Requires: festival-speechtools-libs = %{speechtoolsversion}-%{release} -Group: System Environment/Libraries -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig %package docs Summary: Documentation for the Festival speech synthesis system -Group: Applications/Multimedia Version: %{docversion} -Requires(post): /sbin/install-info -Requires(postun): /sbin/install-info BuildArch: noarch %package speechtools-libs Summary: The Edinburgh Speech Tools libraries -Group: System Environment/Libraries Version: %{speechtoolsversion} -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig %package speechtools-utils Summary: Miscellaneous utilities from the Edinburgh Speech Tools @@ -747,27 +738,6 @@ cp -p festdoc-%{docversion}/festival/info/* $RPM_BUILD_ROOT%{_infodir} -%post docs -/sbin/install-info %{_infodir}/festival.info.gz %{_infodir}/dir --section "Accessibility" > /dev/null 2>&1 -: - -%post lib -p /sbin/ldconfig - -%post speechtools-libs -p /sbin/ldconfig - - -%postun docs -if [ "$1" = 0 ]; then - /sbin/install-info --delete %{_infodir}/festival.info.gz %{_infodir}/dir --section "Accessibility" > /dev/null 2>&1 -fi -: - -%postun lib -p /sbin/ldconfig - -%postun speechtools-libs -p /sbin/ldconfig - - - %files %doc ACKNOWLEDGMENTS COPYING NEWS README %doc COPYING.poslex COPYING.cmudict