| Youri-Package-RPM-Builder documentation | view source | Contained in the Youri-Package-RPM-Builder distribution. |
Youri::Package::RPM::Builder - Build RPM packages
my $builder = Youri::Package::RPM::Builder->new();
$builder->build('foo');
This module builds rpm packages.
Creates and returns a new Youri::Package::RPM::Builder object.
Available options:
verbosity level (default: 0).
rpm top-level directory (default: rpm %_topdir macro).
rpm source directory (default: rpm %_sourcedir macro).
callback to execute before build, with build dependencies as argument (default: none).
external command (or list of commands) to execute before build, with build dependencies as argument (default: none). Takes precedence over previous option.
callback to execute after build, with build packages as argument (default: none).
external command (or list of commands) to execute after build, with build packages as argument (default: none). Takes precedence over previous option.
Available options:
rpm build options.
rpm build stage, among the following values: a, b, p, c, i, l or s (default: a).
| Youri-Package-RPM-Builder documentation | view source | Contained in the Youri-Package-RPM-Builder distribution. |