X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gnupg2.spec;h=37430d58b581c2e4c7c15a71d2e199a8b5df562e;hb=433ca3cc1f3a38721a2f376a4d1376359e3c175e;hp=6aeae71b1e1d933a63aa0f0b284329d054ee9f62;hpb=b6d5e32a887a5771eebdd9774757d653557a0e5a;p=packages%2Fgnupg2.git diff --git a/gnupg2.spec b/gnupg2.spec index 6aeae71..37430d5 100644 --- a/gnupg2.spec +++ b/gnupg2.spec @@ -120,6 +120,8 @@ install -d $RPM_BUILD_ROOT/etc/profile.d DESTDIR=$RPM_BUILD_ROOT \ pkglibdir=%{_libexecdir} +ln -sf %{_bindir}/gpg2 $RPM_BUILD_ROOT%{_bindir}/gpg + install %{SOURCE1} $RPM_BUILD_ROOT/etc/profile.d/gnupg-agent.sh %{?with_xinitrc:ln -sf /etc/profile.d/gnupg-agent.sh $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/gnupg-agent.sh} @@ -140,6 +142,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc g10-ChangeLog g10/options.skel +%attr(755,root,root) %{_bindir}/gpg %attr(755,root,root) %{_bindir}/gpg2 %attr(755,root,root) %{_bindir}/gpgv2