[SCM] Debian packaging of libdevel-globaldestruction-perl branch, master, updated. 60b5128389d6e43d3b54bfdb9c0c9c7e6fc8fa3a

Dominic Hargreaves dom at earth.li
Tue Nov 15 21:03:05 UTC 2011


The following commit has been merged in the master branch:
commit a124e1fe87c3cb0ee9aaba4971823b6f6b30fe5f
Author: Dominic Hargreaves <dom at earth.li>
Date:   Tue Nov 15 20:53:02 2011 +0000

    Replace previous change with one which allows us to set Architecture: all

diff --git a/debian/changelog b/debian/changelog
index baa1719..8523b5f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,8 +8,11 @@ libdevel-globaldestruction-perl (0.04-2) UNRELEASED; urgency=medium
     svn.debian.org to anonscm.debian.org URL.
 
   [ Dominic Hargreaves ]
-  * Fix Depends when built with perl 5.14 (thanks Jakub Wilk);
-    closes: #648865
+  * Makefile.PL detects presence of $ {^GLOBAL_PHASE} (perl 5.14 and
+    above) and becomes architecture independent, so add versioned
+    {Build-,}Depends on perl (>= 5.14.0) and set package to
+    Architecture: all. Thanks Jakub Wilk for the bug report and initial
+    patch (closes: #648865)
 
  -- Dominic Hargreaves <dom at earth.li>  Tue, 15 Nov 2011 19:06:08 +0000
 
diff --git a/debian/control b/debian/control
index c05604c..872ce69 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libdevel-globaldestruction-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7.0.50~), perl, libsub-exporter-perl
+Build-Depends: debhelper (>= 7.0.50~), perl (>= 5.14.0), libsub-exporter-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Krzysztof Krzyżaniak (eloy) <eloy at debian.org>,
  Jonathan Yu <jawnsy at cpan.org>, Dominic Hargreaves <dom at earth.li>
@@ -11,9 +11,10 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libdevel-glob
 Homepage: http://search.cpan.org/dist/Devel-GlobalDestruction/
 
 Package: libdevel-globaldestruction-perl
-Architecture: any
+Architecture: all
 Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends},
- libsub-exporter-perl
+ libsub-exporter-perl,
+ perl (>= 5.14.0)
 Description: module to expose the flag that marks global destruction
  Devel::GlobalDestruction is a Perl module that exposes the PL_dirty flag
  to Perl as a subroutine named in_global_destruction. It is useful when
diff --git a/debian/rules b/debian/rules
index 3a830c8..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,3 @@
 
 %:
 	dh $@
-
-override_dh_perl:
-	dh_perl
-	perl -pi -e 'defined $${^GLOBAL_PHASE} and s/(perl:Depends=.*)/$$1, perl (>= 5.13.7)/' debian/libdevel-globaldestruction-perl.substvars

-- 
Debian packaging of libdevel-globaldestruction-perl



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