| Top |
Modulemd.BuildoptsModulemd.Buildopts — Provides hints to the build-system on how to build this module. |
ModulemdBuildopts *
modulemd_buildopts_new (void);
Since: 1.5
void modulemd_buildopts_set_rpm_macros (ModulemdBuildopts *self,const gchar *macros);
Assigns RPM macros for the build-system.
macros |
A string containing RPM build macros in the form that they would appear in an RPM macros file on-disk. |
[nullable] |
Since: 1.5
gchar *
modulemd_buildopts_get_rpm_macros (ModulemdBuildopts *self);
Retrieves a copy of the string containing RPM build macros in the form that they would appear in an RPM macros file on-disk.
a copy of the string containing RPM build macros in the form that
they would appear in an RPM macros file on-disk. The caller must free the
returned string with g_free() once finished with it. This function may
return NULL if no RPM macros have been set.
Since: 1.5
void modulemd_buildopts_set_rpm_whitelist (ModulemdBuildopts *self,GStrv whitelist);
This will make a copy of all of the unique items in whitelist
.
whitelist |
The set of RPM names for the whitelist. |
[array zero-terminated=1][transfer none] |
Since: 1.5
void modulemd_buildopts_set_rpm_whitelist_simpleset (ModulemdBuildopts *self,ModulemdSimpleSet *whitelist);
This will make a copy of all of the unique items in whitelist
.
Since: 1.5
GStrv
modulemd_buildopts_get_rpm_whitelist (ModulemdBuildopts *self);
Returns a copy of the whitelist.
The set of RPM names for the whitelist. May return NULL if no whitelist is stored.
[array zero-terminated=1][transfer full]
Since: 1.5
ModulemdSimpleSet *
modulemd_buildopts_get_rpm_whitelist_simpleset
(ModulemdBuildopts *self);
Returns a copy of the whitelist as a ModulemdSimpleset
The ModulemdSimpleSet of RPM names for the whitelist. May return NULL if no whitelist is stored.
Since: 1.5
ModulemdBuildopts *
modulemd_buildopts_copy (ModulemdBuildopts *self);
Make a deep copy of this ModulemdBuildopts object.
A deep copy of this ModulemdBuildopts object.
This value must be freed with g_object_unref().
Since: 1.5