- Add patch0 temporarily to get some output from failing test.

This commit is contained in:
Michael Schwendt 2005-05-08 19:07:12 +00:00
parent b6b57ed608
commit 4319a3e131
2 changed files with 26 additions and 1 deletions

20
gnupg-1.9.15-test.patch Normal file
View File

@ -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"

View File

@ -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 <mschwendt[AT]users.sf.net> - 1.9.15-4
- Add patch0 temporarily to get some output from failing test.
* Sat May 7 2005 David Woodhouse <dwmw2@infradead.org> 1.9.15-3
- Rebuild.