tag 578906 patch
thanks

On Fri, Apr 23, 2010 at 04:19:23PM +0300, Niko Tyni wrote:
> Package: libgtk2-spell-perl
> Version: 1.03-3
> Severity: important
> User: [email protected]
> Usertags: perl-5.12-transition
> 
> This package fails to build on amd64 with perl 5.12.0-1 from experimental:
> 
>      dh_auto_configure
>   Invalid version format (non-numeric data) at 
> /usr/share/perl/5.12/Exporter/Heavy.pm line 106.

Patch attached, it works fine for me with this on both 5.10.1-12 and 5.12.0-1.
-- 
Niko Tyni   [email protected]
>From c21a4710c9d7565ef71170d0b695a161a3ba3d3c Mon Sep 17 00:00:00 2001
From: Niko Tyni <[email protected]>
Date: Thu, 13 May 2010 15:49:37 +0300
Subject: [PATCH] Fix non-numeric dependencies breaking the build with Perl 5.12

The version module has become stricter about what is numeric and what
is not.
---
 Makefile.PL |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.PL b/Makefile.PL
index 76a6c4f..2f301bd 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -11,8 +11,8 @@ use File::Spec;
 our %build_reqs = (
 	'perl-ExtUtils-Depends'   => '0.1',
 	'perl-ExtUtils-PkgConfig' => '0.1',
-	'perl-Glib'               => '1.00rc2',
-	'perl-Gtk2'               => '1.00rc2',
+	'perl-Glib'               => '1.00',
+	'perl-Gtk2'               => '1.00',
 	'GtkSpell'                => '2.0.0',
 );
 
-- 
1.7.1

Reply via email to