Package gbp :: Package rpm :: Class SrcRpmFile
[hide private]
[frames] | no frames]

Class SrcRpmFile

object --+
         |
        SrcRpmFile

Keeps all needed data read from a source rpm

Instance Methods [hide private]
 
__init__(self, srpmfile)
x.__init__(...) initializes x; see help(type(x)) for signature
 
unpack(self, dest_dir)
Unpack the source rpm to tmpdir.

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

Properties [hide private]
  version
Get the (downstream) version of the RPM package
  name
Get the name of the RPM package
  upstreamversion
Get the upstream version of the RPM package
  packager
Get the packager of the RPM package

Inherited from object: __class__

Method Details [hide private]

__init__(self, srpmfile)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

unpack(self, dest_dir)

 

Unpack the source rpm to tmpdir. Leave the cleanup to the caller in case of an error.


Property Details [hide private]

version

Get the (downstream) version of the RPM package

Get Method:
unreachable.version(self) - Get the (downstream) version of the RPM package

name

Get the name of the RPM package

Get Method:
unreachable.name(self) - Get the name of the RPM package

upstreamversion

Get the upstream version of the RPM package

Get Method:
unreachable.upstreamversion(self) - Get the upstream version of the RPM package

packager

Get the packager of the RPM package

Get Method:
unreachable.packager(self) - Get the packager of the RPM package