Installing rpmautospec

rpmautospec consists of these components:

  • a Python library (which includes a small CLI tool)

  • a plugin for Koji builders

Each needs to be correctly installed and configured for rpmautospec to work properly.

Installing the Python Library

The Python library is handled via a traditional setup.py file. It can therefore be installed simply by doing:

python setup.py install.

Installing the Koji Builders Plugin

The Koji plugin rpmautospec_builder is meant to be installed on all the Koji builders running the buildSRPMFromSCM task in: /usr/lib/koji-builder-plugins/.

The plugin then can be enabled by adding: rpmautospec_builder in the line plugins in the /etc/kojid/kojid.conf configuration file for the Koji builders.