Top |
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
to return to "all architectures".reset_arches()
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
);
Indicate that this RPM component is available on all arches.
Since: 2.0
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 architectures on which this RPM will be multilib. It may be called any number of times. Use
to return to "no architectures".reset_multilib_arches()
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
);
Indicate that this RPM component is multilib on no architectures.
Since: 2.0
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
);
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
);
Since: 2.0
const gchar *
modulemd_component_rpm_get_repository (ModulemdComponentRpm *self
);
Since: 2.0