drop obsolete install-info scriptlets
This commit is contained in:
parent
5eeb56a699
commit
e7f2a1fda6
13
libidn.spec
13
libidn.spec
@ -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…
Reference in New Issue
Block a user