Commits

Anonymous committed edf97b1

Use SPEC

  • Participants
  • Parent commits 78b2da7

Comments (0)

Files changed (2)

File Build.PL

-use strict;
-use warnings;
-use lib qw( builder );
-use My;
-
-my $mb = My->new;
-$mb->change_versions(1);
-$mb->copyright_first_year( '2006' );
-$mb->add_pod_author_copyright_license(1);
-$mb->initialization_hook( <<'HOOK' );
-    require My::Util;
-    My::Util::write_detect_h();
-HOOK
-$mb->create_build_script;
-
-1;
         'Win32::TieRegistry'         => 0,
         'Config::General'            => 0,
         'Win32API::Net'              => 0,
-        ( $] < 5.006 ? ( 'warnings::compat' => 0 ) : ()),
     },
     build_requires => {
         'Test::Sys::Info' => '0.20',
             repository => 'http://bitbucket.org/burak/cpan-sys-info-driver-windows/',
         },
     },
+    BUILDER => {
+        change_versions                  => 1,
+        copyright_first_year             => 2006,
+        add_pod_author_copyright_license => 1,
+        initialization_hook              => q{
+            require My::Util;
+            My::Util::write_detect_h();
+        },
+    },
 }