Package buildbot :: Package steps :: Package package :: Package rpm :: Module rpmbuild :: Class RpmBuild
[frames] | no frames]

Class RpmBuild

source code

                            object --+            
                                     |            
process.properties.PropertiesMixin --+            
                                     |            
           process.buildstep.BuildStep --+        
                                         |        
        process.buildstep.LoggingBuildStep --+    
                                             |    
                            shell.ShellCommand --+
                                                 |
                                                RpmBuild

RpmBuild build step.

Instance Methods
 
__init__(self, specfile=None, topdir='`pwd`', builddir='`pwd`', rpmdir='`pwd`', sourcedir='`pwd`', specdir='`pwd`', srcrpmdir='`pwd`', dist='.el5', autoRelease=False, vcsRevision=False, **kwargs)
Create the RpmBuild object.
source code
 
start(self) source code
 
createSummary(self, log) source code

Inherited from shell.ShellCommand: buildCommandKwargs, describe, getWorkdir, setBuild, setCommand, setDefaultWorkdir, setStepStatus, setupEnvironment

Inherited from process.buildstep.LoggingBuildStep: addLogFile, checkDisconnect, commandComplete, evaluateCommand, getText, getText2, interrupt, maybeGetText2, setStatus, setupLogfiles, startCommand

Inherited from process.buildstep.BuildStep: __provides__, acquireLocks, addCompleteLog, addFactoryArguments, addHTMLLog, addLog, addLogObserver, addURL, failed, finished, getLog, getSlaveName, releaseLocks, runCommand, setBuildSlave, setProgress, setupProgress, slaveVersion, slaveVersionIsOlderThan, startStep

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Inherited from process.properties.PropertiesMixin: __providedBy__, getProperties, getProperty, hasProperty, has_key, render, setProperty

Static Methods

Inherited from process.buildstep.BuildStep: __new__

Class Variables
  name = 'rpmbuilder'
  haltOnFailure = 1
  flunkOnFailure = 1
  description = ['RPMBUILD']
  descriptionDone = ['RPMBUILD']

Inherited from shell.ShellCommand: descriptionSuffix, renderables

Inherited from process.buildstep.LoggingBuildStep: cmd, parms, progressMetrics

Inherited from process.buildstep.BuildStep: __implemented__, alwaysRun, build, doStepIf, flunkOnWarnings, hideStepIf, locks, progress, set_runtime_properties, step_status, useProgress, warnOnFailure, warnOnWarnings

Instance Variables

Inherited from shell.ShellCommand: command, lazylogfiles, logfiles

Properties

Inherited from object: __class__

Method Details

__init__(self, specfile=None, topdir='`pwd`', builddir='`pwd`', rpmdir='`pwd`', sourcedir='`pwd`', specdir='`pwd`', srcrpmdir='`pwd`', dist='.el5', autoRelease=False, vcsRevision=False, **kwargs)
(Constructor)

source code 

Create the RpmBuild object.

Parameters:
  • specfile (str) - location of the specfile to build
  • topdir (str) - define the _topdir rpm parameter
  • builddir (str) - define the _builddir rpm parameter
  • rpmdir (str) - define the _rpmdir rpm parameter
  • sourcedir (str) - define the _sourcedir rpm parameter
  • specdir (str) - define the _specdir rpm parameter
  • srcrpmdir (str) - define the _srcrpmdir rpm parameter
  • dist (str) - define the dist string.
  • autoRelease (boolean) - Use auto incrementing release numbers.
  • vcsRevision (boolean) - Use vcs version number as revision number.
Overrides: object.__init__

start(self)

source code 
Overrides: process.buildstep.BuildStep.start

createSummary(self, log)

source code 
Overrides: process.buildstep.LoggingBuildStep.createSummary