Skip Menu |

This queue is for tickets about the RPM2 CPAN distribution.

Report information
The Basics
Id: 5422
Status: new
Priority: 0/
Queue: RPM2

People
Owner: Nobody in particular
Requestors: mihali [...] aya.yale.edu
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Test too strict
Hi. This is more like a suggestion than a bug report but anyway.... Background: We use RPM2 to maintain a mysql database of RPM packages in our ftp site. Our Perl script gleans all files that have a .rpm suffix and extracts header info from these files. Our script worked fine with 0.48-4 and then it stopped working when we moved to 0.68. The error it kept giving was of the type warning: /home/ftp/pub/linux/suse/x86_64/9.0/suse/src/wipe-2.1.0-44.src.rpm: V3 DSA signature: NOKEY, key ID 9c800aca wipe-2.1.0-44 error reading package in RPM2.pm line 67 This does not necessarily have to be the same rpm file. To stop the error from happening, I had to change the RPM2.xs file in one place (see attached diff file) Thanks for maintaining RPM2! Other relevant info below: -------------------------------------------------------------------------- RPM2-0.62 [root@ftp1 RPM2-0.62]# perl -v This is perl, v5.8.0 built for i386-linux-thread-multi [root@ftp1 RPM2-0.62]# uname -a Linux ftp1.wss.yale.edu 2.4.21-9.ELsmp #1 SMP Thu Jan 8 17:08:56 EST 2004 i686 i686 i386 GNU/Linux
--- RPM2.xs.orig 2003-03-10 11:59:19.000000000 -0500 +++ RPM2.xs 2004-02-23 15:58:43.000000000 -0500 @@ -147,7 +147,7 @@ Fclose(fd); - if (rc == RPMRC_OK) { + if (rc != RPMRC_NOTFOUND && rc != RPMRC_FAIL ) { SV *h_sv; EXTEND(SP, 1);