Push items: RPM

class pushsource.RpmPushItem[source]

A PushItem representing a single RPM.

Attributes:

module_build

NVR for the koji module build through which this push item was located, if any.

For a modular RPM push item, there may be two koji builds in play:

module_build (this attribute):

NVR of a build which produced modulemd YAML files referencing this RPM (but the build itself does not contain RPMs).

Example: ghc-8.4-820200708061905.9edba152 is a valid module_build for ghc-8.4.4-74.module_el8+12161+cf1bd7f2.x86_64.rpm.

build():

NVR of the build containing the RPM.

Example: ghc-8.4.4-74.module_el8+12161+cf1bd7f2 is a valid build for ghc-8.4.4-74.module_el8+12161+cf1bd7f2.x86_64.rpm.

Note that the module_build itself isn’t a property of the RPM but rather should be considered contextual information on how any given RPM was located. The same RPM may have different values of module_build when loaded from different contexts.

Type:

str