From b9da2ce744a0d4ca9ceabbabf347592c7b7dafe3 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 12 Jul 2018 10:34:49 +0200 Subject: [PATCH] remove unneeded scriptlets Those are not needed as per guidelines. Signed-off-by: Igor Gnatenko --- gnupg2.spec | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/gnupg2.spec b/gnupg2.spec index 5f8addd..30b73b9 100644 --- a/gnupg2.spec +++ b/gnupg2.spec @@ -44,8 +44,6 @@ BuildRequires: fuse Requires: libgcrypt >= 1.7.0 Requires: libgpg-error >= 1.31 -Requires(post): /sbin/install-info -Requires(postun): /sbin/install-info Recommends: pinentry Recommends: gnupg2-smime @@ -165,15 +163,6 @@ mkdir -p $HOME/.gnupg make -k check -%post -/sbin/install-info %{_infodir}/gnupg.info %{_infodir}/dir ||: - -%preun -if [ $1 -eq 0 ]; then - /sbin/install-info --delete %{_infodir}/gnupg.info %{_infodir}/dir ||: -fi - - %files -f %{name}.lang %{!?_licensedir:%global license %%doc} %license COPYING