On Wed, 17 Dec 2008, Panu Matilainen wrote: > On Thu, 11 Dec 2008, Dotan Barak wrote: > >> Hi. >> >> Is there is a python API (using the rpm package) to verify that an >> installed RPM is o.k? >> >> (or should is use the external executable "rpm -V <package_name>" to check it) > > There's no equivalent API for what "rpm -V" does, no (it's been on > TODO-lists for a while, just hasn't gotten done). Most of it can be done > "manually" by looking at rpm.fi contents (this is what yum does, see > http://yum.baseurl.org/gitweb?p=yum.git;a=blob_plain;f=yum/packages.py;hb=HEAD) > but %verifyscript gets a good deal trickier. Parsing "rpm -V <package>" > output is probably easiest for now. What does %verifyscript need to do?/ -sv _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list