Top | ![]() |
![]() |
![]() |
![]() |
gboolean | buildroot | Read / Write |
char * | cache | Read / Write |
char * | ref | Read / Write |
char * | repository | Read / Write |
gboolean | srpm-buildroot | Read / Write |
ModulemdComponentRpm *
modulemd_component_rpm_new (const gchar *key
);
key |
The key of this module component. Used when looking up components from a ModulemdModuleStream. |
[not nullable] |
Since: 2.0
void modulemd_component_rpm_add_restricted_arch (ModulemdComponentRpm *self
,const gchar *arch
);
Restrict the list of architectures on which this RPM will be available. It
may be called any number of times to indicate support on additional
architectures. Use modulemd_component_rpm_clear_arches()
to return to "all
architectures".
self |
This ModulemdComponentRpm object. |
|
arch |
An architecture on which this package should be available. |
Since: 2.0
void
modulemd_component_rpm_reset_arches (ModulemdComponentRpm *self
);
modulemd_component_rpm_reset_arches
has been deprecated since version 2.9 and should not be used in newly-written code.
Use modulemd_component_rpm_clear_arches()
instead.
Indicate that this RPM component is available on all arches.
Since: 2.0
void
modulemd_component_rpm_clear_arches (ModulemdComponentRpm *self
);
Indicate that this RPM component is available on all arches.
Since: 2.9
GStrv
modulemd_component_rpm_get_arches_as_strv
(ModulemdComponentRpm *self
);
[rename-to modulemd_component_rpm_get_arches]
Since: 2.0
void modulemd_component_rpm_add_multilib_arch (ModulemdComponentRpm *self
,const gchar *arch
);
Add an architecture on which this RPM will be multilib. It may be called
any number of times. Use modulemd_component_rpm_clear_multilib_arches()
to
return to "no architectures".
self |
This ModulemdComponentRpm object. |
|
arch |
An architecture on which this package should be multilib. |
Since: 2.0
void
modulemd_component_rpm_reset_multilib_arches
(ModulemdComponentRpm *self
);
modulemd_component_rpm_reset_multilib_arches
has been deprecated since version 2.9 and should not be used in newly-written code.
Use modulemd_component_rpm_clear_multilib_arches()
instead.
Indicate that this RPM component is multilib on no architectures.
Since: 2.0
void
modulemd_component_rpm_clear_multilib_arches
(ModulemdComponentRpm *self
);
Indicate that this RPM component is multilib on no architectures.
Since: 2.9
GStrv
modulemd_component_rpm_get_multilib_arches_as_strv
(ModulemdComponentRpm *self
);
[rename-to modulemd_component_rpm_get_multilib_arches]
Since: 2.0
void modulemd_component_rpm_set_cache (ModulemdComponentRpm *self
,const gchar *cache
);
Since: 2.0
const gchar *
modulemd_component_rpm_get_cache (ModulemdComponentRpm *self
);
Since: 2.0
void modulemd_component_rpm_set_ref (ModulemdComponentRpm *self
,const gchar *ref
);
self |
This ModulemdComponentRpm object. |
|
ref |
The commit ID in the SCM repository. |
[in][nullable] |
Since: 2.0
const gchar *
modulemd_component_rpm_get_ref (ModulemdComponentRpm *self
);
Since: 2.0
void modulemd_component_rpm_set_repository (ModulemdComponentRpm *self
,const gchar *repository
);
self |
This ModulemdComponentRpm object. |
|
repository |
The URI of the SCM repository. |
[in][nullable] |
Since: 2.0
const gchar *
modulemd_component_rpm_get_repository (ModulemdComponentRpm *self
);
Since: 2.0
void modulemd_component_rpm_set_buildroot (ModulemdComponentRpm *self
,gboolean buildroot
);
self |
This ModulemdComponentRpm object. |
|
buildroot |
The “buildroot” flag to set for |
[in] |
Since: 2.7
gboolean
modulemd_component_rpm_get_buildroot (ModulemdComponentRpm *self
);
Since: 2.7
void modulemd_component_rpm_set_srpm_buildroot (ModulemdComponentRpm *self
,gboolean srpm_buildroot
);
self |
This ModulemdComponentRpm object. |
|
srpm_buildroot |
The “srpm_buildroot” flag to set
for |
[in] |
Since: 2.7
gboolean
modulemd_component_rpm_get_srpm_buildroot
(ModulemdComponentRpm *self
);
Since: 2.7
#define MODULEMD_TYPE_COMPONENT_RPM (modulemd_component_rpm_get_type ())
“buildroot”
property“buildroot” gboolean
Whether the packages listed in this module's buildroot profile will be installed into the buildroot of any component built in subsequent buildorder/buildafter batches.
Owner: ModulemdComponentRpm
Flags: Read / Write
Default value: FALSE
“cache”
property “cache” char *
The lookaside cache URL.
Owner: ModulemdComponentRpm
Flags: Read / Write
Default value: "__UNSET_COMPONENT_RPM__"
“ref”
property “ref” char *
The commit ID in the SCM repository.
Owner: ModulemdComponentRpm
Flags: Read / Write
Default value: "__UNSET_COMPONENT_RPM__"
“repository”
property “repository” char *
The URI of the SCM repository.
Owner: ModulemdComponentRpm
Flags: Read / Write
Default value: "__UNSET_COMPONENT_RPM__"
“srpm-buildroot”
property“srpm-buildroot” gboolean
Whether the packages listed in this module's srpm-buildroot profile will be installed into the buildroot when performing the buildSRPMfromSCM step in subsequent buildorder/buildafter batches.
Owner: ModulemdComponentRpm
Flags: Read / Write
Default value: FALSE