@@ -48,6 +48,12 @@ if (($ENV{LANG}||"") =~ m/utf-?8/i) {
48
48
sleep 1;
49
49
}
50
50
51
+ if ($^O eq " MSWin32" && $] < 5.012 && $File::Spec::VERSION < 3.31) {
52
+ warn " Windows requires File::Spec-3.31, which is CORE as of perl-5.11.3\n " ;
53
+ warn " As this is just perl-$] with File::Spec-$File::Spec::VERSION \n " ;
54
+ exit 1;
55
+ }
56
+
51
57
my %opts = (
52
58
NAME => " DBI" ,
53
59
AUTHOR => ' DBI team ([email protected] )' ,
@@ -67,19 +73,14 @@ my %opts = (
67
73
IRC => " irc://irc.perl.org/#dbi" ,
68
74
},
69
75
suggests => {
70
- " RPC::PlServer" => 0.2001 ,
76
+ " RPC::PlServer" => 0.2020 ,
71
77
" Net::Daemon" => 0,
72
- " SQL::Statement" => 1.402 ,
73
- " Clone" => 0.34 ,
78
+ " SQL::Statement" => 1.414 ,
79
+ " Clone" => 0.47 ,
74
80
" MLDBM" => 0,
75
81
" DB_File" => 0,
76
82
},
77
83
},
78
- PREREQ_PM => {
79
- $^O eq " MSWin32"
80
- ? (" File::Spec" => 3.31)
81
- : (),
82
- },
83
84
CONFLICTS => {
84
85
" SQL::Statement" => " 1.33" ,
85
86
" DBD::AnyData" => " 0.110" ,
@@ -103,6 +104,9 @@ my %opts = (
103
104
PREOP => ' $(MAKE) -f Makefile.old distdir' ,
104
105
COMPRESS => " gzip -v9" , SUFFIX => " gz" ,
105
106
},
107
+ macro => {
108
+ TARFLAGS => " --format=ustar -c -v -f" ,
109
+ },
106
110
);
107
111
$opts {CAPI } = " TRUE" if $Config {archname } =~ / -object\b /i ;
108
112
0 commit comments