[SCM] Debian packaging of libconfig-model-perl branch, experimental, updated. debian/2.023-1-2-gc74a9b0
gregor herrmann
gregoa at debian.org
Thu Jul 5 18:08:10 UTC 2012
The following commit has been merged in the experimental branch:
commit 11457b0520868eefea70b341746d0404612cf49a
Author: gregor herrmann <gregoa at debian.org>
Date: Thu Jul 5 11:51:49 2012 -0600
New patch module_corelist-version: Module::CoreList expects a version
object.
Thanks: Ansgar Burchardt for his help.
diff --git a/debian/patches/module_corelist-version b/debian/patches/module_corelist-version
new file mode 100644
index 0000000..51ab10c
--- /dev/null
+++ b/debian/patches/module_corelist-version
@@ -0,0 +1,17 @@
+Description: convert the version string to a version object, otherwise Module::CoreList interprets it wrongly
+Origin: vendor
+Forwarded: sort-of
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2012-07-05
+
+--- a/lib/Config/Model/Debian/Dependency.pm
++++ b/lib/Config/Model/Debian/Dependency.pm
+@@ -274,7 +274,7 @@
+ my @dep_name_as_perl = Module::CoreList->find_modules(qr/^$pname$/i) ;
+ return $ret unless @dep_name_as_perl;
+
+- my $v_decimal = Module::CoreList->first_release( $dep_name_as_perl[0], $dep_v );
++ my $v_decimal = Module::CoreList->first_release( $dep_name_as_perl[0], version->parse( $dep_v ) );
+ return $ret unless defined $v_decimal;
+
+ my $v_normal = version->new($v_decimal)->normal;
diff --git a/debian/patches/series b/debian/patches/series
index 4dadd08..06f0039 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
add_dh_config
pod-glitch
+module_corelist-version
--
Debian packaging of libconfig-model-perl
More information about the Pkg-perl-cvs-commits
mailing list