1 package Fedora
::Rebuild
::Package
::Config
;
4 use version
0.77; our $VERSION = version
->declare("v0.12.0");
7 use Fedora
::Rebuild
::Types
qw( Mode );
12 =head1 Fedora::Rebuild::Package::Config
14 Configuration for building a package. This object and its members are not
17 =head2 Constructor arguments and read only accessors
23 Pass C<local> for committing and building locally only,
24 pass C<mock> for committing localy and building in mock,
25 pass C<koji> for pushing commits and building in Koji.
29 has
'mode' => ( is
=> 'ro', isa
=> Mode
, required
=> 1);
33 Reference to array of repository URLs. Usually points to Fedora mirror or
34 Koji repository (baseurl in YUM terminology). This is needed for C<mock>
39 has
'repositories' => ( is
=> 'ro', isa
=> 'ArrayRef[Str]', required
=> 1);
43 RPM architecture name, e.g. C<x86_64>.
47 has
'architecture' => ( is
=> 'ro', isa
=> 'Str', required
=> 1);
49 =head3 mock_install_group
51 yum group to install at mock chroot initialization.
52 C<buildsys-build> is needed for mirrored Fedora repositories
53 C<build> is needed for direct koji repositories.
57 has
'mock_install_group' => ( is
=> 'ro', isa
=> 'Str', required
=> 1);