Re: diffing rpms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I solved with rpm -qp --queryformat ['%{FILESMD5S}\n] <rpmfile>

Any more elegant ideas ? :D

 -federico

 

On Thu, 2005-12-15 at 09:58 +0100, Florian La Roche wrote:
> On Wed, Dec 14, 2005 at 08:04:13PM -0500, Federico Lucifredi wrote:
> > Hey Guys,
> >  I am looking for a quick way to diff rpm *contents* (specifically, once
> > I sign an rpm I want to double-check that the contents are the same as
> > that of another rpm (the unsigned version). This is useful as part of a
> > messed up build process :D
> > 
> >  Is there a smarter way to proceed than extracting the rpm payload and
> > diffing the contents file by file ?
> 
> There is a sha1 checksum of the header and a md5 checksum of the
> header plus payload of an rpm. Those don't change if you sign an
> rpm.
> 
> regards,
> 
> Florian La Roche
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list
-- 

_________________________________________
-- "'Problem' is a bleak word for challenge" - Richard Fish
(Federico L. Lucifredi) - http://www.lucifredi.com



_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux