|
__init__(self,
specfile,
skip_tags=( ' ExcludeArch ' , ' ExcludeOS ' , ' ExclusiveArch ' , ' ExclusiveOS ' , ' ... )
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
_get_version(self)
Get the (downstream) version |
|
|
|
_get_orig_src(self)
Get the orig src |
|
|
|
_macro_replace(self,
matchobj) |
|
|
str
|
macro_expand(self,
text)
Expand the rpm macros (that gbp knows of) in the given text. |
|
|
|
write_spec_file(self)
Write, possibly updated, spec to disk |
|
|
|
parse_content(self)
Go through spec file content line-by-line and (re-)parse info from it |
|
|
|
update_patches(self,
patchfilenames)
Update spec by putting autoupdate markers Returns the number of lines
added |
|
|
|
patchseries(self)
Return patches of the RPM as a gbp patchseries |
|
|
|
guess_orig_file(self)
Try to guess the name of the primary upstream/source archive returns
a tuple with full file path, filename base, archive format and
compression method. |
|
|
|
debugprint(self)
Print info about the spec in readable way |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|