diff --git a/gnupg-1.9.15-test.patch b/gnupg-1.9.15-test.patch new file mode 100644 index 0000000..fea4964 --- /dev/null +++ b/gnupg-1.9.15-test.patch @@ -0,0 +1,20 @@ +diff -Nur gnupg-1.9.15-orig/tests/asschk.c gnupg-1.9.15/tests/asschk.c +--- gnupg-1.9.15-orig/tests/asschk.c 2003-01-09 14:09:54.000000000 +0100 ++++ gnupg-1.9.15/tests/asschk.c 2005-05-08 20:59:25.000000000 +0200 +@@ -273,6 +273,7 @@ + while (nleft > 0) + { + int n; ++ printf("nleft = %d\nn = %d\npending_len = %d\n",nleft,n,pending_len); + + if (pending_len) + { +diff -Nur gnupg-1.9.15-orig/tests/runtest gnupg-1.9.15/tests/runtest +--- gnupg-1.9.15-orig/tests/runtest 2004-02-20 14:46:35.000000000 +0100 ++++ gnupg-1.9.15/tests/runtest 2005-05-08 21:00:43.000000000 +0200 +@@ -1,4 +1,4 @@ + #!/bin/sh + [ -x "$1" ] && exec $1 $2 +-exec ./asschk --no-echo -DGPGSM=${GPGSM} <"$1" ++exec ./asschk --verbose --no-echo -DGPGSM=${GPGSM} <"$1" + diff --git a/gnupg2.spec b/gnupg2.spec index 794e9dd..9664a2a 100644 --- a/gnupg2.spec +++ b/gnupg2.spec @@ -3,13 +3,14 @@ Summary: GNU utility for secure communication and data storage Name: gnupg2 Version: 1.9.15 -Release: 3%{?dist_tag} +Release: 4%{?dist_tag} License: GPL Group: Applications/System Source0: ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/gnupg-%{version}.tar.bz2 Source1: ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/gnupg-%{version}.tar.bz2.sig URL: http://www.gnupg.org/ +Patch0: gnupg-1.9.15-test.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Obsoletes: newpg < 0.9.5 @@ -63,6 +64,7 @@ helpful when using the standard gpg versions (1.2.x or 1.3.x). %prep %setup -q -n gnupg-%{version} +%patch0 -p1 -b .test %build @@ -124,6 +126,9 @@ fi %changelog +* Sun May 8 2005 Michael Schwendt - 1.9.15-4 +- Add patch0 temporarily to get some output from failing test. + * Sat May 7 2005 David Woodhouse 1.9.15-3 - Rebuild.