remove unneeded scriptlets

Those are not needed as per guidelines.

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

View File

@ -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