8 my $cfgfile = File
::Spec
->catfile($ENV{HOME
}, '.rebuildperlrc');
15 repodir
=> 'testrepo',
17 'http://download.englab.brq.redhat.com/pub/fedora/linux/development/rawhide/x86_64/os/' ],
18 architecture
=> 'x86_64',
22 message
=> 'Perl mass rebuild',
23 buildrequiresfilter
=> sub { $_[0] !~ /^\s*perl\(/ },
34 my $cfg = Config
::Tiny
->new->read($cfgfile);
36 print STDERR
"Could not parse `" . $cfgfile .
37 "' configuration file: " . $Config::Tiny
::errstr
. "\n";
40 foreach (keys %{$cfg->{_
}}) {
41 $config{$_} = $cfg->{_
}->{$_};
42 $config{$_} = eval $config{$_} if $_ eq 'buildrequiresfilter';
46 my $builder = Fedora
::Rebuild
->new(%config);
55 rebuild - Rebuilds perl packages from scratch
59 Main goal is to rebuild perl modules packages for Fedora. The rebuild is
60 driven from bottom to top, i.e. from perl interpreter to modules depending on
61 intermediate modules. This way, it's possible to upgrade perl interpreter to
62 incompatible version and to rebuild all modules against the new interpreter.
67 Petr Písař <ppisar@redhat.com>
71 Copyright (C) 2011 Petr Písař <ppisar@redhat.com>
73 This program is free software: you can redistribute it and/or modify
74 it under the terms of the GNU General Public License as published by
75 the Free Software Foundation, either version 3 of the License, or
76 (at your option) any later version.
78 This program is distributed in the hope that it will be useful,
79 but WITHOUT ANY WARRANTY; without even the implied warranty of
80 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
81 GNU General Public License for more details.
83 You should have received a copy of the GNU General Public License
84 along with this program. If not, see <http://www.gnu.org/licenses/>.