Remove obsolete ldconfig scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-22 18:40:50 +01:00
parent 4b076b516d
commit 6baf6f9857
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -14,11 +14,6 @@ Patch4: recode-automake.patch
Patch5: recode-format-security.patch Patch5: recode-format-security.patch
Patch6: recode-longfilename.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: libtool
BuildRequires: texinfo BuildRequires: texinfo
@ -74,18 +69,6 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
# remove libtool archives # remove libtool archives
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la 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 %files -f %{name}.lang
%doc AUTHORS COPYING* ChangeLog NEWS README THANKS TODO %doc AUTHORS COPYING* ChangeLog NEWS README THANKS TODO
%{_mandir}/*/* %{_mandir}/*/*