From 6c54192149534778ee48801bdb25af92c275c736 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jul 12 2018 08:36:18 +0000 Subject: remove unneeded scriptlets The install-info is triggered automatically by filetrigger. Signed-off-by: Igor Gnatenko --- diff --git a/cpio.spec b/cpio.spec index a495673..7db7b4f 100644 --- a/cpio.spec +++ b/cpio.spec @@ -37,8 +37,6 @@ Patch7: cpio-2.10-longnames-split.patch Patch8: cpio-2.11-crc-fips-nit.patch -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info Provides: bundled(gnulib) Provides: /bin/cpio BuildRequires: gcc @@ -89,20 +87,6 @@ make check || { } -%post -if [ -f %{_infodir}/cpio.info.gz ]; then - /sbin/install-info %{_infodir}/cpio.info.gz %{_infodir}/dir || : -fi - - -%preun -if [ $1 = 0 ]; then - if [ -f %{_infodir}/cpio.info.gz ]; then - /sbin/install-info --delete %{_infodir}/cpio.info.gz %{_infodir}/dir || : - fi -fi - - %files -f %{name}.lang %doc AUTHORS ChangeLog NEWS README THANKS TODO %{!?_licensedir:%global license %%doc}