changelog mutual requires fix
[gitmo/Moo.git] / Makefile.PL
index 198acf7..63c2790 100644 (file)
@@ -21,7 +21,7 @@ my %RUN_DEPS = (
   'Class::Method::Modifiers' => 1.10,
   'strictures' => 1.004003,
   'Module::Runtime' => 0.012,
-  'Role::Tiny' => 1.002004,
+  'Role::Tiny' => 1.003000,
   'Devel::GlobalDestruction' => 0.11,
   'Dist::CheckConflicts' => 0.02,
 );
@@ -84,10 +84,9 @@ WriteMakefile(
     no_index => {
       directory => [ 'xt' ]
     },
-    x_breaks => {
-      # enter conflicting data here, *and* in Moo::Conflicts
-      'HTML::Restrict' => '2.1.5',
-    },
+    Moo::Conflicts->can('conflicts') ? (
+      x_breaks => { Moo::Conflicts->conflicts }
+    ) : (),
   },
   ($mymeta && !$mymeta_works ? (NO_MYMETA => 1) : ()),
   LICENSE => 'perl',