rpm
5.4.15
|
Ruby access to RPM's Package struct. More...
#include "rpm-rb.h"
Go to the source code of this file.
Functions | |
void | Init_Package (void) |
Creates a new RPM::Package instance. More... | |
Variables | |
VALUE | packageClass |
RPM::Package class that represents a package during build. More... | |
void Init_Package | ( | void | ) |
Creates a new RPM::Package instance.
Called alone it does not make much sense; use it together with the factory RPM::Spec::packages.
Definition at line 46 of file package-rb.c.
References package_get_ds(), packageClass, and rpmModule.
Referenced by Init_rpm().
VALUE packageClass |
RPM::Package class that represents a package during build.
The general way of acquiring a RPM::Package class is to get it from the spec file after it has been parsed, e.g.
ts = RPM::Ts.new spec = ts.parse_spec 'foo.spec' spec.packages.each do |pkg|
end
Definition at line 22 of file package-rb.c.
Referenced by Init_Package(), and spec_get_packages().