remove unneeded scriptlets

install-info is handled by filetriggers nowadays (see the guidelines).

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-07-12 10:41:27 +02:00
parent f660fe2c5a
commit a72a896b34
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -41,8 +41,6 @@ BuildRequires: libselinux-devel
Provides: bundled(gnulib) Provides: bundled(gnulib)
Provides: /bin/tar Provides: /bin/tar
Provides: /bin/gtar Provides: /bin/gtar
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
%description %description
The GNU tar program saves many files together in one archive and can The GNU tar program saves many files together in one archive and can
@ -106,18 +104,6 @@ make check || (
) )
%endif %endif
%post
if [ -f %{_infodir}/tar.info.gz ]; then
/sbin/install-info %{_infodir}/tar.info.gz %{_infodir}/dir || :
fi
%preun
if [ $1 = 0 ]; then
if [ -f %{_infodir}/tar.info.gz ]; then
/sbin/install-info --delete %{_infodir}/tar.info.gz %{_infodir}/dir || :
fi
fi
%files -f %{name}.lang %files -f %{name}.lang
%{!?_licensedir:%global license %%doc} %{!?_licensedir:%global license %%doc}
%license COPYING %license COPYING