Caution
Buildbot no longer supports Python 2.7 on the Buildbot master.
2.5.11.51. RpmBuildΒΆ
The RpmBuild step builds RPMs based on a spec file:
from buildbot.plugins import steps
f.addStep(steps.RpmBuild(specfile="proj.spec", dist='.el5'))
The step takes the following parameters
specfileThe
.specfile to build fromtopdirDefinition for
_topdir, defaulting to the workdir.builddirDefinition for
_builddir, defaulting to the workdir.rpmdirDefinition for
_rpmdir, defaulting to the workdir.sourcedirDefinition for
_sourcedir, defaulting to the workdir.srcrpmdirDefinition for
_srcrpmdir, defaulting to the workdir.distDistribution to build, used as the definition for
_dist.defineA dictionary of additional definitions to declare.
autoReleaseIf true, use the auto-release mechanics.
vcsRevisionIf true, use the version-control revision mechanics. This uses the
got_revisionproperty to determine the revision and define_revision. Note that this will not work with multi-codebase builds.