Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 726 Bytes

README.rst

File metadata and controls

33 lines (22 loc) · 726 Bytes

YakiRPM

YakiRPM is a python library that uses the Perl module 'rpmgrill'to analyze RPM packages.

Installing

You can install it with:

python setup.py install

Note that you will also need rpmgrill https://git.fedorahosted.org/cgit/rpmgrill.git installed for it to work.

Usage

Here is how you can use it:

import yakirpm
yaki = yakirpm.YakiRPM()
# This will test the kernel packages in mock's result dir,
# results are in JSON.
result = yaki.analyze_local('/var/lib/mock/fedora-19-x86_64/results', 'kernel*')

Note that a src RPM must be one of the RPMs that is analyzed. If there is a 'build.log' file in the directory, that will also be analyzed.