Package: gettext
Version: 0.21-4
Tags: patch

The Build-Depends is only useful to build an arch all binary so moving
to build-depends-indep, also using the dh sequence simplify the rules.
The patch is currently used in Ubuntu where it was added to fix the
build on i386 (the Ubuntu/i386 archive is a partial one and emacs isn't
built there) but the change should also make sense for Debian

Thanks for considering

diff -Nru gettext-0.21/debian/changelog gettext-0.21/debian/changelog
--- gettext-0.21/debian/changelog	2021-02-02 22:35:00.000000000 +0100
+++ gettext-0.21/debian/changelog	2021-06-18 16:34:44.000000000 +0200
@@ -1,3 +1,13 @@
+gettext (0.21-5) UNRELEASED; urgency=medium
+
+  * debian/control, 
+    debian/rules:
+    - Move dh-elpa to Build-Depends-Indep and change it to dh-sequence-elpa,
+      thus allowing the removal of explicit "--with elpa" options in
+      debian/rules
+
+ -- Sebastien Bacher <seb...@ubuntu.com>  Fri, 18 Jun 2021 16:34:44 +0200
+
 gettext (0.21-4) unstable; urgency=medium
 
   * Drop versioned build-dependency on g++ as it holds in stable.
diff -Nru gettext-0.21/debian/control gettext-0.21/debian/control
--- gettext-0.21/debian/control	2021-02-02 21:00:00.000000000 +0100
+++ gettext-0.21/debian/control	2021-06-18 16:34:23.000000000 +0200
@@ -3,7 +3,8 @@
 Priority: optional
 Maintainer: Santiago Vila <sanv...@debian.org>
 Standards-Version: 4.5.1
-Build-Depends: debhelper-compat (= 13), dh-exec (>= 0.13), dh-elpa, bison, file, help2man, xz-utils, default-jdk <!nojava>, maven-repo-helper <!nojava>, libunistring-dev, libxml2-dev, groff
+Build-Depends: debhelper-compat (= 13), dh-exec (>= 0.13), bison, file, help2man, xz-utils, default-jdk <!nojava>, maven-repo-helper <!nojava>, libunistring-dev, libxml2-dev, groff
+Build-Depends-Indep: dh-sequence-elpa
 Homepage: https://www.gnu.org/software/gettext/
 Rules-Requires-Root: no
 
diff -Nru gettext-0.21/debian/rules gettext-0.21/debian/rules
--- gettext-0.21/debian/rules	2021-02-02 21:00:00.000000000 +0100
+++ gettext-0.21/debian/rules	2021-06-18 16:34:04.000000000 +0200
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --with elpa $(WITH_MAVEN)
+	dh $@ $(WITH_MAVEN)
 
 
 #

Reply via email to