[SCM] Debian packaging of libcpan-mini-perl branch, master, updated. debian/1.111008-2-2-g093350f

Salvatore Bonaccorso carnil at debian.org
Thu May 24 21:26:47 UTC 2012


The following commit has been merged in the master branch:
commit 1cae1cd35b466d969df376841976ea8b07fe68ee
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Thu May 24 23:12:58 2012 +0200

    Add always-return-tempdir-from-config_dir.patch patch
    
    Fix FTBFS "libcpan-mini-perl: FTBFS: tests failed". Return always the
    created tempdir explicitly.
    
    Closes: #674385

diff --git a/debian/patches/always-return-tempdir-from-config_dir.patch b/debian/patches/always-return-tempdir-from-config_dir.patch
new file mode 100644
index 0000000..55e5f86
--- /dev/null
+++ b/debian/patches/always-return-tempdir-from-config_dir.patch
@@ -0,0 +1,18 @@
+Description: Always return tempdir in config_dir subroutine
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/674385
+Forwarded: no
+Author: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2012-05-24
+
+--- a/t/app.t
++++ b/t/app.t
+@@ -16,7 +16,7 @@
+ 
+   my $tempdir = tempdir(CLEANUP => 1);
+ 
+-  return unless defined $config;
++  return $tempdir unless defined $config;
+ 
+   my $filename = File::Spec->catfile($tempdir, '.minicpanrc');
+   open my $config_fh, '>', $filename or die "can't write to $filename: $!";
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0ef7fc8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+always-return-tempdir-from-config_dir.patch

-- 
Debian packaging of libcpan-mini-perl



More information about the Pkg-perl-cvs-commits mailing list