RpmLint step checks for common problems in RPM packages or spec files:
from buildbot.plugins import steps f.addStep(steps.RpmLint())
The step takes the following parameters
The file or directory to check. In case of a directory, it is recursively searched for RPMs and spec files to check.
Path to a rpmlint config file. This is passed as the user configuration file if present.