On Jan 25, 2008, at 9:20 PM, Jeff Johnson wrote:
I shall re-add (conditioned on --lsb) Requires: rpmlib(PayloadFilesHavePrefix) so that lsbpkgchk as distributed by LSB spews less.
With this rather modest patch (to be included in rpm-5.0.1), the lsbpkgchk spew is much reduced (attached): Index: build/files.c =================================================================== RCS file: /v/rpm/cvs/rpm/build/files.c,v retrieving revision 1.312 diff -u -b -B -w -p -r1.312 files.c --- build/files.c 18 Jan 2008 23:04:05 -0000 1.312 +++ build/files.c 26 Jan 2008 03:14:12 -0000 @@ -1609,6 +1609,11 @@ if (!(_rpmbuildFlags & 4)) xx = headerPut(h, he, 0); he->append = 0; +if (_rpmbuildFlags & 4) { +(void) rpmlibNeedsFeature(h, "PayloadFilesHavePrefix", "4.0-1"); +(void) rpmlibNeedsFeature(h, "CompressedFileNames", "3.0.4-1"); +} + compressFilelist(h); { int scareMem = 0; On to diagnose the header+payload md5 check, and perhaps implement the header-only sha1 test. 73 de Jeff
lsbpkgchk.spew
Description: Binary data