From 7199233de1193485a30a9119983c83f535648767 Mon Sep 17 00:00:00 2001 From: Audrey Tang Date: Sat, 18 Jun 2011 05:31:24 +0800 Subject: [PATCH] * Explicitly add M::I::Repository dep. * Update module version to 1 to avoid __END__ section warning. --- Makefile.PL | 9 ++------- lib/Module/Package/Au.pm | 4 ++-- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index 5151c79..1982f52 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,9 +1,4 @@ #!/usr/bin/env perl use lib 'lib'; -use inc::Module::Package 'Au:dry'; -__END__ - -# Deps list generated by: -author_requires 'Module::Package' => '0.24'; - -author_requires 'Module::Package::Au' => '0.01'; +use inc::Module::Package 'Au:dry 1'; +requires 'Module::Install::Repository'; diff --git a/lib/Module/Package/Au.pm b/lib/Module/Package/Au.pm index 7b720f2..b6b2cde 100644 --- a/lib/Module/Package/Au.pm +++ b/lib/Module/Package/Au.pm @@ -1,7 +1,7 @@ use strict; use 5.008003; package Module::Package::Au; -our $VERSION = '0.01'; +our $VERSION = 1; use Module::Package 0.24 (); use Module::Install::GithubMeta 0.10 (); @@ -42,7 +42,7 @@ Module::Package::Au - Reusable Module::Install bits In F: #!/usr/bin/env perl - use inc::Module::Package 'Au:dry'; + use inc::Module::Package 'Au:dry 1'; __END__ =head1 DESCRIPTION