Blob Blame History Raw
Patch by Robert Scheck <robert@fedoraproject.org> for Crypt::GPG <= 1.64, which
sets the default path to the GnuPG binary equivalent to where GnuPG is installed
at Fedora and Red Hat Enterprise Linux.

--- Crypt-GPG-1.64/GPG.pm			2014-09-18 21:23:58.000000000 +0200
+++ Crypt-GPG-1.64/GPG.pm.gpg			2014-10-12 19:54:11.000000000 +0200
@@ -26,7 +26,7 @@
 ( $VERSION ) = '$Revision: 1.64 $' =~ /\s+([\d\.]+)/;
 
 sub new {
-  bless { GPGBIN         =>   '/usr/local/bin/gpg',
+  bless { GPGBIN         =>   '/usr/bin/gpg1',
 	  FORCEDOPTS     =>   '--no-secmem-warning',
 	  GPGOPTS        =>   '--lock-multiple --compress-algo 1 ' .
 	                      '--cipher-algo cast5 --force-v3-sigs',