[SCM] Debian packaging of libanyevent-perl branch, master, updated. debian/7.040-2-2-g273547b

gregor herrmann gregoa at debian.org
Sat May 18 15:42:47 UTC 2013


The following commit has been merged in the master branch:
commit d41596a49b513334e50668f88709c29f76aac184
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat May 18 17:36:36 2013 +0200

    Switch back to Architecture: any in debian/control.
    
    debian/rules: make sure we build only arch:any packages as a safeguard
    against making the same mistake again.
    
    Thanks: Niko Tyni for the analysis.
    Closes: #708730

diff --git a/debian/control b/debian/control
index e39d6b4..696b52c 100644
--- a/debian/control
+++ b/debian/control
@@ -29,7 +29,9 @@ Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libanyevent-perl.git
 Homepage: https://metacpan.org/release/AnyEvent/
 
 Package: libanyevent-perl
-Architecture: all
+# needs to be and stay arch:any; constants.pl has arch-specific constants
+# cf. #596257 and #708730
+Architecture: any
 Depends: ${misc:Depends},
          ${perl:Depends}
 Recommends: libasync-interrupt-perl,
diff --git a/debian/rules b/debian/rules
index e533ba0..94de9b6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,10 @@ PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 %:
-	dh $@
+# ensure we build only arch:any packages
+# safeguard against converting the package again to arch:all
+# cf. #596257 and #708730
+	dh $@ -a
 
 override_dh_auto_test:
 	PERL_ANYEVENT_LOOP_TESTS=1 xvfb-run -a dh_auto_test

-- 
Debian packaging of libanyevent-perl



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