From a929ccb1ad245c791d0ddd18b77650d0967d615b Mon Sep 17 00:00:00 2001 From: ng0 Date: Thu, 18 Aug 2016 15:25:07 +0000 Subject: [PATCH 2/2] gnu: gnupg: Update to 2.1.14. * gnu/packages/gnupg.scm (gnupg): Update to 2.1.14. Co-authored by: Leo Famulari --- gnu/packages/gnupg.scm | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index 989496f..4edc282 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -209,14 +209,14 @@ compatible to GNU Pth.") (define-public gnupg (package (name "gnupg") - (version "2.1.13") + (version "2.1.14") (source (origin (method url-fetch) (uri (string-append "mirror://gnupg/gnupg/gnupg-" version ".tar.bz2")) (sha256 (base32 - "0xcn46vcb5x5qx0bc803vpzhzhnn6wfhp7x71w9n1ahx4ak877ag")))) + "0hmsiscpdpdqd8kcjpzkz2gzcc3cnrvswk9p1jzi4sivd7lxwl4l")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) @@ -242,7 +242,12 @@ compatible to GNU Pth.") (lambda _ (substitute* "tests/openpgp/defs.inc" (("/bin/pwd") (which "pwd"))) - #t))))) + #t)) + (add-after 'build 'patch-scheme-tests + (lambda _ + (substitute* (find-files "tests" ".\\.scm$") + (("/usr/bin/env gpgscm") + (string-append (getcwd) "/tests/gpgscm/gpgscm")))))))) (home-page "https://gnupg.org/") (synopsis "GNU Privacy Guard") (description -- 2.9.3