debian/control: Remove build-dependency on perl
xz-utils' build-dependency on perl is unnecessary, and it impedes
cross-building (because perl is assumed to be needed from the host
architecture by default), which is awkward because xz-utils is part of a
base buildd chroot. perl:native would be better, but Debian's build
daemons don't support that syntax yet.
As it happens, the perl build-dependency is entirely unnecessary.
xz-utils only uses the bare perl interpreter, without modules (other
than 'warnings' and 'strict'). As such, it has no need for
non-Essential facilities, and can rely on the Essential perl-base. In
private mail, Jonathan suggested rewriting in awk, but this is
unnecessary; you really should just be able to rely on the Essentialness
of the perl interpreter here, and the Perl policy sanctions this given
that xz-utils is part of the base system.
* Remove build-dependency on perl; we use no non-trivial Perl modules so
the Essential perl-base is perfectly adequate, and an unadorned
build-dependency on perl is problematic for cross-building.
[helmut@subdivi.de: uploaded as NMU]
diff --git a/debian/changelog b/debian/changelog
index fb4eeb7..5347a1c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+xz-utils (5.1.1alpha+20120614-2.1) unstable; urgency=medium
+
+ [ Helmut Grohne ]
+ * Non-maintainer upload.
+
+ [ Colin Watson ]
+ * Remove build-dependency on perl; we use no non-trivial Perl modules so
+ the Essential perl-base is perfectly adequate, and an unadorned
+ build-dependency on perl is problematic for cross-building.
+ Closes: #697328.
+
+ -- Helmut Grohne <helmut@subdivi.de> Thu, 18 Jun 2015 20:27:23 +0200
+
xz-utils (5.1.1alpha+20120614-2) unstable; urgency=low
* Apply fixes from 5.1.2alpha. Closes: #685220.
diff --git a/debian/control b/debian/control
index 986f0c1..a7da7ac 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@
Priority: required
Maintainer: Jonathan Nieder <jrnieder@gmail.com>
Uploaders: Mohammed Adnène Trojette <adn+deb@diwi.org>
-Build-Depends: debhelper (>= 8.9.0), perl, dpkg-dev (>= 1.16.2),
+Build-Depends: debhelper (>= 8.9.0), dpkg-dev (>= 1.16.2),
autoconf (>= 2.64~), automake, libtool (>= 2.2),
gettext, autopoint | gettext (<< 0.18-1), autopoint | cvs
Build-Depends-Indep: doxygen