Re: Newbie question: rpm -V
Paul Nasrat <[email protected]> Fri, 14 Jan 2005 11:31:23 -0500
| Newsgroups | gmane.linux.redhat.rpm.python |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jan 14, 2005 at 08:21:11AM -0800, Al Pacifico wrote: > Given the name of an rpm package, how does one verify it and gather the > results from Python ? Start here: http://people.redhat.com/pnasrat/rpm-python/rpm-python-slides/frames.html The example under putting it all together shows how to verify md5 based on md5 in header. For other stuff - ownership, mode, mtime you can use the stat module. That should be enough to get you started. Paul