Re: Proper macro for path to gpg?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Le Vendredi 01 Avril 2005 01:49, Breen Mullins a Ãcrit :
> Hi --
>
> I'm trying to sign a couple of locally-built rpms for installation
> on user machines that don't have development tools.
>
> I can build the rpms but I'm getting an error when trying to sign
> them.
>
> I'm running gpg that was compiled from source, so it's under
> /usr/local:
>
> [bmullins@archy i386]$ which gpg
> /usr/local/bin/gpg
>
> and when I try to sign the package, rpm tells me that it can't find
> gpg:
>
> [bmullins@archy i386]$ rpm --addsign -vv
> libpcapnav-debuginfo-0.5-1.i386.rpm Enter pass phrase:
> error: Could not exec gpg: No such file or directory
> Pass phrase check failed
>
> Here's my ~/.rpmmacros:
>
> %HOME     %{expand:%%(cd; pwd)}
> %_topdir  %{HOME}/rpm
> %_signature gpg
> %_gpg_name <bmullins@xxxxxxxxxx>
> %_gpgbin  /usr/local/bin/gpg
> [I tried %_gpg_bin as well -- no change]

%_gpg_bin work for me

> [bmullins@archy ~]$ rpm --version
> RPM version 4.3.2

idem

Regards.
Aalain

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux