From 6baf6f98577a4926785548ade62039ae19e2031e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:50 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- recode.spec | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/recode.spec b/recode.spec index c6ad565..8980f4c 100644 --- a/recode.spec +++ b/recode.spec @@ -14,11 +14,6 @@ Patch4: recode-automake.patch Patch5: recode-format-security.patch Patch6: recode-longfilename.patch -Requires(post): /sbin/install-info -Requires(post): /sbin/ldconfig -Requires(preun): /sbin/install-info -Requires(postun): /sbin/ldconfig - BuildRequires: libtool BuildRequires: texinfo @@ -74,18 +69,6 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir # remove libtool archives rm -f $RPM_BUILD_ROOT%{_libdir}/*.la - -%post -/sbin/ldconfig -/sbin/install-info %{_infodir}/recode.info.gz %{_infodir}/dir --entry="* recode: (recode). Conversion between character sets and surfaces." || : - -%preun -if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/recode.info.gz %{_infodir}/dir --entry="* recode: (recode). Conversion between character sets and surfaces." || : -fi - -%postun -p /sbin/ldconfig - %files -f %{name}.lang %doc AUTHORS COPYING* ChangeLog NEWS README THANKS TODO %{_mandir}/*/*