verify rpm package contents

Tomasz Pala gotar at
Wed May 13 19:41:13 CEST 2009

How to verify digest of files in rpm package (like when repackaged
modified files)? For example I've got:

~: rpm -qplv xorg-proto-xproto-devel-7.0.14-1.i586.rpm
-rw-r--r--    1 root    root           167477 Oct 28  2008 /usr/include/X11/keysymdef.h
but after un-cpio there is:            167401 May 22  2008

rpm --verify -p file.rpm

verifies against filesystem contents not files within.

Tomasz Pala <gotar at>

More information about the pld-devel-en mailing list