From a72a896b34a41dc4bd6880a8c255c64dc6eddfe6 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jul 12 2018 08:41:27 +0000 Subject: remove unneeded scriptlets install-info is handled by filetriggers nowadays (see the guidelines). Signed-off-by: Igor Gnatenko --- diff --git a/tar.spec b/tar.spec index fb8d41d..2166477 100644 --- a/tar.spec +++ b/tar.spec @@ -41,8 +41,6 @@ BuildRequires: libselinux-devel Provides: bundled(gnulib) Provides: /bin/tar Provides: /bin/gtar -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info %description The GNU tar program saves many files together in one archive and can @@ -106,18 +104,6 @@ make check || ( ) %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 %{!?_licensedir:%global license %%doc} %license COPYING