__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
|
Creates the RpmBuild object.
- Parameters:
specfile (str) - the name of the spec file for the rpmbuild
topdir (str) - the top directory for rpm building.
builddir (str) - the directory to use for building
rpmdir (str) - the directory to dump the rpms into
sourcedir (str) - the directory that houses source code
srcrpmdir (str) - the directory to dump source rpms into
dist (str) - the distribution to build for
autoRelease (boolean) - if the auto release mechanics should be used
vcsRevision (boolean) - if the vcs revision mechanics should be used
kwargs (dict) - All further keyword arguments.
- Overrides:
process.buildstep.BuildStep.__init__
|