drop obsolete install-info scriptlets

This commit is contained in:
Miroslav Lichvar 2018-06-21 11:22:27 +02:00
parent c9e64917cd
commit 36f2ba4b16

View File

@ -15,8 +15,6 @@ Patch0: autogen-multilib.patch
Patch1: autogen-verifyh.patch Patch1: autogen-verifyh.patch
Requires: %{name}-libopts%{?_isa} = %{version}-%{release} Requires: %{name}-libopts%{?_isa} = %{version}-%{release}
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
BuildRequires: gcc BuildRequires: gcc
BuildRequires: guile-devel BuildRequires: guile-devel
@ -94,15 +92,6 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/lib*.so.*
rm -f $RPM_BUILD_ROOT%{_infodir}/dir rm -f $RPM_BUILD_ROOT%{_infodir}/dir
%post
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/%{name}.info \
%{_infodir}/dir >/dev/null 2>&1 || :
fi
%ldconfig_scriptlets libopts %ldconfig_scriptlets libopts
%files %files