Running rpmlint within mock

Jason L Tibbitts III tibbs at math.uh.edu
Fri Jul 14 17:22:15 UTC 2006


Christian Iseli and I were discussing the possibility of automatically
running rpmlint somehow.  It seems that the end of the mock build
process is the ideal place for this.  It has a chroot already set up
with the package's build requirements already installed.  (Obviously
this doesn't include the runtime requirements, but generally there's
quite some overlap.)  It also has easy access to the freshly built
binary and source RPMs.

How difficult would it be to, at the end of the build process, install
the freshly built package, install rpmlint, and run rpmlint on the
source and any binary RPMs that were built?

My python is poor but I'm willing to take a stab at it if someone
could give me a few pointers.

 - J<




More information about the Fedora-buildsys-list mailing list