From: Robert 'phaylon' Sedlacek Date: Tue, 29 May 2012 00:23:08 +0000 (+0000) Subject: distribution fixes X-Git-Tag: v0.001_001~60 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cf02394f0a211ffadee03170c6e99e31b5be2532;hp=cd5c3d43909891cd8a83ea17d611fd3f079ed1f4;p=scpubgit%2FSystem-Introspector.git distribution fixes --- diff --git a/Makefile.PL b/Makefile.PL index 3f768cb..9de6950 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -21,7 +21,7 @@ my %requires = ( 'Digest::SHA' => 0, 'strictures' => 1, 'IPC::Run' => 0, -) +); # have to do this since old EUMM dev releases miss the eval $VERSION line my $mymeta_works = do { no warnings; $ExtUtils::MakeMaker::VERSION >= 6.5707 }; @@ -29,10 +29,9 @@ my $mymeta = do { no warnings; $ExtUtils::MakeMaker::VERSION >= 6.5702 }; WriteMakefile( NAME => 'File-Tree-Snapshot', - VERSION_FROM => 'lib/File/Tree/Snapshot.pm', + VERSION_FROM => 'lib/System/Introspector.pm', PREREQ_PM => { %requires, - ($] >= 5.010 ? () : ('MRO::Compat' => 0)), ($mymeta_works ? () : (%build_requires)), }, ($mymeta_works diff --git a/lib/System/Introspector.pm b/lib/System/Introspector.pm new file mode 100644 index 0000000..e439a91 --- /dev/null +++ b/lib/System/Introspector.pm @@ -0,0 +1,8 @@ +use strictures 1; + +package System::Introspector; + +our $VERSION = '0.000001'; +$VERSION = eval $VERSION; + +1;