Adapt to mock-1.4.1-1.fc25
[Fedora-Rebuild.git] / Makefile.PL
blob1ee3aac4606f17822933beaec79d1ea0516111f4
1 use ExtUtils::MakeMaker;
3 my $mainfile = 'lib/Fedora/Rebuild.pm';
5 my $runtime_dependenices = {
6     'Carp' => 0,
7     'Config::Tiny' => 0,
8     'constant' => 0,
9     'Data::Dumper' => 0,
10     'DateTime' => 0,
11     'Encode' => 0,
12     'Fcntl' => 0,
13     'File::Copy' => 0,
14     'File::Path::Tiny' => 0,
15     'File::Spec' => 0,
16     'File::Temp' => 0,
17     'Getopt::Long' => 0,
18     'HTTP::Daemon' => 0,
19     'HTTP::Status' => 0,
20     'IO::Handle' => 0,
21     'Moose' => 0,
22     'Moose::Util::TypeConstraints' => 0,
23     'MooseX::Types' => 0,
24     'MooseX::Types::Moose' => 0,
25     'namespace::clean' => 0,
26     'POSIX' => 0,
27     'Proc::SyncExec' => 0,
28     'RPM2' => 0,
29     'RPM::VersionCompare' => 0,
30     'Scalar::Util' => 0,
31     'Storable' => 0,
32     'strict' => 0,
33     'Term::ProgressBar' => 0,
34     'Thread::Semaphore' => 0,
35     'threads' => 0,
36     'threads::shared' => 0,
37     'URI' => 0,
38     'URI::Escape' => 0,
39     'version' => 0.77,
40     'warnings' => 0,
43 WriteMakefile(
44     'NAME' => 'Fedora::Rebuild',
45     'VERSION_FROM' => $mainfile,
46     'ABSTRACT_FROM' => $mainfile,
47     'AUTHOR' => 'Petr Písař <ppisar@redhat.com>',
48     'LICENSE' => 'gpl_3',
49     'EXE_FILES' => [ ( glob 'bin/*' ) ],
50     'BUILD_REQUIRES' => {
51         %$runtime_dependenices,
52         'Data::Compare' => 0,
53         'HTTP::Tiny' => 0,
54         'Test::More' => 0,
55         'Test::Simple' => 0,
56     },
57     'PREREQ_PM' => $runtime_dependenices,
58     'META_MERGE' => {
59         'resources' => {
60             'homepage' => 'http://ppisar.fedorapeople.org/Fedora-Rebuild/',
61             'repository' => {
62                 'type' => 'git',
63                 'url' => 'git://repo.or.cz/Fedora-Rebuild.git',
64                 'web' => 'http://repo.or.cz/w/Fedora-Rebuild.git',
65             },            
66         },
67     },