rpm's zlib and deltarpms
Michael Schroeder
mls at suse.de
Wed May 4 19:15:17 UTC 2005
On Wed, May 04, 2005 at 02:48:25PM -0400, Jeff Johnson wrote:
> >I just found out that the rsync patch applied to rpm's internal
> >zlib library makes it produce zlib-incompatible payloads. That is,
> >a decompress and recompress with normal zlib doesn't produce the
> >same output. Normally this doesn't do much harm, but with deltarpms
> >I need to reconstruct the exact compressed payload. So at the
> >moment deltarpms won't work with FC4 rpms.
> >
> >
>
> Link with -lrpmio to use same zlib that rpm uses.
Doesn't help, it's not about the system where applydeltarpm or
createdeltarpm is running on, but the system where the rpm got
built.
> From CHANGES, and has been in change logs:
> - add https://svn.uhulinux.hu/packages/dev/zlib/patches/02-rsync.patch
Please do take a look into zlib FAQ entry #24 ;-)
Michael.
--
Michael Schroeder mls at suse.de
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
More information about the devel
mailing list