[PATCH] gnupg.spec [WAS: unable to execute program `gpgkeys_hkp': Permission denied]

Stewart V. Wright swright at physics.adelaide.edu.au
Sun Feb 13 17:25:58 CET 2005


G'day David,

* David Shaw <dshaw at jabberwocky.com> [050211 23:10]:
> On Fri, Feb 11, 2005 at 02:20:00PM -0600, Stewart V. Wright wrote:
> 
> >  1) Removed --libexecdir=%{_libexecdir}/gnupg from the configure
> >     option.  I'm not entirely sure why it still needs to be there for
> >     the make install, but this is an rpm issue, not an auto{make,conf}
> >     one.
> 
> It looks like it's needed for the make because the RPM macro for
> %makeinstall is Being Helpful and overriding the libexecdir variable
> back to what it was before we overrode it in the first place.

That's the impression I got.

> >  2) Removed the 'rm %{buildroot}%{_infodir}/dir' line.  This file is
> >     not created in the rpm building process, only in the install.
> 
> I don't think this is correct.  Removing that line causes the rpmbuild
> to fail on my system.  Do you have the info package installed?  That
> may be the difference between your box and mine.

I do have info installed.  I checked that info was working with the 
previous attempt at an spec file.

> Try the attached spec.  I think it should work now.

Yup.  I guess I should have RTFM for rm and just gone with the -f 
flag...  Good catch!


Cheers,

S.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 274 bytes
Desc: Digital signature
Url : /pipermail/attachments/20050213/e37c3b27/attachment.pgp


More information about the Gnupg-users mailing list