drop obsolete install-info scriptlets

epel9
Miroslav Lichvar 7 years ago
parent 5eeb56a699
commit e7f2a1fda6

@ -24,8 +24,6 @@ BuildRequires: emacs
%endif %endif
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: help2man BuildRequires: help2man
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
# gnulib is a copylib, bundling is allowed # gnulib is a copylib, bundling is allowed
Provides: bundled(gnulib) Provides: bundled(gnulib)
%if %{with libidn_enables_emacs} %if %{with libidn_enables_emacs}
@ -156,16 +154,7 @@ rm -rf $RPM_BUILD_ROOT%{_javadir}/libidn*.jar
%find_lang %{name} %find_lang %{name}
%post %ldconfig_scriptlets
/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
%files -f %{name}.lang %files -f %{name}.lang
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}

Loading…
Cancel
Save