drop obsolete install-info scriptlets

epel9
Miroslav Lichvar 7 years ago
parent 5eeb56a699
commit e7f2a1fda6

@ -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}

Loading…
Cancel
Save