remove unneeded scriptlets
Those are not needed as per guidelines. Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
b2453545f7
commit
b9da2ce744
11
gnupg2.spec
11
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
|
||||
|
Loading…
Reference in New Issue
Block a user