[perl-Cairo] Properly specify our dependencies



commit d2eaf8fd2ed62a0120d436bcb100db1c87635714
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date:   Tue Jul 31 21:15:51 2012 +0200

    Properly specify our dependencies
    
    Due to the switch to the META spec version 2, we also need to change the way we
    specify our dependencies.

 Makefile.PL |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.PL b/Makefile.PL
index 97a5340..9c6aa25 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -50,9 +50,15 @@ my %meta_merge = (
                     web     => 'http://git.gnome.org/browse/perl-Cairo',
             },
         },
-        configure_requires  => \%prereqs,
-        build_requires      => {
-            'Test::Number::Delta' => 1.0,
+        prereqs => {
+          configure => {
+            requires => \%prereqs
+          },
+          test => {
+            recommends => {
+              'Test::Number::Delta' => 1.0,
+            },
+          },
         },
         no_index            => {
             file => [qw(inc/MakeHelper.pm)],



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]