55 rb_require(
"rpmexceptions");
57 int i = asprintf(&rb,
"raise RPM::Error.new(%i), '%s'", error, message);
58 if(i) rb_eval_string(rb);
int rpmReadConfigFiles(const char *file, const char *target)
Read macro configuration file(s) for a target.
void Init_rpm(void)
Defines the "RPM" Ruby module and makes it known to the Interpreter.
Ruby bindings to the RPM Transaction Set API.
void rpm_rb_raise(rpmRC error, char *message)
Raises a Ruby exception (RPM::Error).
void Init_Package(void)
Creates a new RPM::Package instance.
RPM Ruby bindings "RPM" module.
enum rpmRC_e rpmRC
RPM return codes.
Ruby access to RPM's Package struct.
void Init_spec(void)
Initializes the Ruby class.
VALUE rpmModule
The "RPM" Ruby module.
Ruby bindings for spec file access.
Ruby bindings to RPM's macro context facility.