From e7f2a1fda611bc6c90416d2d35e63c2bf23f7cf9 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 21 Jun 2018 11:49:07 +0200 Subject: [PATCH] drop obsolete install-info scriptlets --- libidn.spec | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/libidn.spec b/libidn.spec index 435de3d..8fd30d3 100644 --- a/libidn.spec +++ b/libidn.spec @@ -24,8 +24,6 @@ BuildRequires: emacs %endif BuildRequires: pkgconfig BuildRequires: help2man -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info # gnulib is a copylib, bundling is allowed Provides: bundled(gnulib) %if %{with libidn_enables_emacs} @@ -156,16 +154,7 @@ rm -rf $RPM_BUILD_ROOT%{_javadir}/libidn*.jar %find_lang %{name} -%post -/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || : -%?ldconfig - -%preun -if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || : -fi - -%ldconfig_postun +%ldconfig_scriptlets %files -f %{name}.lang %{!?_licensedir:%global license %%doc}