Proper macro for path to gpg?

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

 



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]

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

If I make a symlink in /usr/local to the gpg executable (UGH!)
everything works.

What's the proper macro to use in .rpmmacros? 

Thanks!

Breen
 
 

-- 
Breen Mullins                      408-435-8401x123       
SQA Engineer                       0xde05499b          
Asante Technologies, Inc.          


_______________________________________________
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