GnuPG 1.4.0 spec file error

Albrecht Dreß albrecht.dress at arcor.de
Mon Jan 3 18:25:30 CET 2005


Hi all,

the spec file included in the gnupg-1.4.0 package installs the keyserver  
helpers in /usr/libexec, but the gpg executable tries to execute them from  
the folder /usr/libexec/gnupg/ (this may actually also be a Makefile  
problem). The following patch to gnupg.spec moves the helpers accordingly:

<snip>
--- gnupg.spec.orig     2005-01-03 17:49:18.000000000 +0100
+++ gnupg.spec  2005-01-03 18:03:30.912931488 +0100
@@ -12,7 +12,7 @@
  Vendor: GNU Privacy Guard Project
  Name: %{name}
  Version: %{version}
-Release: 1
+Release: 2
  Copyright: GPL
  Group: Applications/Cryptography
  Group(cs): Aplikace/©ifrování
@@ -166,6 +166,8 @@
  rm %{buildroot}%{_datadir}/%{name}/FAQ
  rm %{buildroot}%{_datadir}/%{name}/faq.html
  rm %{buildroot}%{_infodir}/dir
+mkdir %{buildroot}%{_libexecdir}/gnupg
+mv %{buildroot}%{_libexecdir}/gpgkeys* %{buildroot}%{_libexecdir}/gnupg/.

  %files -f %{name}.lang
  %defattr (-,root,root)
@@ -181,7 +183,7 @@
  %attr (4755,root,root) %{_bindir}/gpg
  %attr (0755,root,root) %{_bindir}/gpgv
  %attr (0755,root,root) %{_bindir}/gpgsplit
-%attr (0755,root,root) %{_libexecdir}/*
+%attr (0755,root,root) %{_libexecdir}/gnupg/*

  %post
  /sbin/install-info %{_infodir}/gpg.info %{_infodir}/dir 2>/dev/null || :
</snip>

Cheers, Albrecht.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Albrecht Dreß  -  Johanna-Kirchner-Straße 13  -  D-53123 Bonn (Germany)
        Phone (+49) 228 6199571  -  mailto:albrecht.dress at arcor.de
    GnuPG public key:  http://home.arcor.de/dralbrecht.dress/pubkey.asc
_________________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20050103/e60fc5ac/attachment.bin


More information about the Gnupg-devel mailing list