Skip to content

Commit d398d9c

Browse files
committed
Fix dependency info
1 parent ef32e55 commit d398d9c

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

Makefile.PL

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ my %WriteMakefileArgs = (
1515
"LICENSE" => "perl",
1616
"MIN_PERL_VERSION" => "5.008",
1717
"NAME" => "XML::Generator",
18-
"PREREQ_PM" => {
19-
"Tie::IxHash" => 0,
20-
"XML::DOM" => "1.46"
21-
},
18+
"PREREQ_PM" => {},
2219
"TEST_REQUIRES" => {
2320
"Test" => 0
2421
},
@@ -30,9 +27,7 @@ my %WriteMakefileArgs = (
3027

3128

3229
my %FallbackPrereqs = (
33-
"Test" => 0,
34-
"Tie::IxHash" => 0,
35-
"XML::DOM" => "1.46"
30+
"Test" => 0
3631
);
3732

3833

cpanfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
# Do not edit this file directly. To change prereqs, edit the `dist.ini` file.
22

3-
requires "Tie::IxHash" => "0";
4-
requires "XML::DOM" => "1.46";
53
requires "perl" => "5.008";
4+
recommends "XML::DOM" => "1.46";
5+
suggests "Tie::IxHash" => "0";
66

77
on 'test' => sub {
88
requires "Test" => "0";
99
};
1010

11+
on 'test' => sub {
12+
recommends "XML::DOM" => "1.46";
13+
};
14+
1115
on 'configure' => sub {
1216
requires "ExtUtils::MakeMaker" => "0";
1317
};

dist.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,19 @@ maintainer = Timothy Legge <timlegge@gmail.com>
1414

1515
[Prereqs / RuntimeRequires]
1616
perl = 5.008
17+
18+
[Prereqs / RuntimeRecommends]
1719
XML::DOM = 1.46
20+
21+
[Prereqs / RuntimeSuggests]
1822
Tie::IxHash = 0
1923

2024
[Prereqs / TestRequires]
2125
Test = 0
2226

27+
[Prereqs / TestRecommends]
28+
XML::DOM = 1.46
29+
2330
[MetaProvides::Package]
2431
[MetaJSON]
2532
[Pod2Readme]

0 commit comments

Comments
 (0)