[SCM] Calligra suite packaging branch, master, updated. debian/3.0.1+dfsg-2

Pino Toscano pino at moszumanska.debian.org
Wed Sep 6 06:50:43 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/calligra/calligra.git;a=commitdiff;h=1de8fc5

The following commit has been merged in the master branch:
commit 1de8fc5fe59a1b70ebe65c0619bf9a92f41bbb6a
Author: Pino Toscano <pino at debian.org>
Date:   Sat Sep 2 10:16:24 2017 +0200

    do dh_gencontrol calls for l10n packages only when they are built
---
 debian/changelog | 2 ++
 debian/rules     | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 76cbd2a..d0bb504 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
 calligra (1:3.0.1+dfsg-2) UNRELEASED; urgency=medium
 
+  [ Pino Toscano ]
+  * Limit dh_gencontrol calls for l10n packages only when they are built.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sat, 02 Sep 2017 10:11:17 +0200
 
diff --git a/debian/rules b/debian/rules
index cddcd8d..4d1f4a7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,7 +48,9 @@ override_dh_strip:
 	dh_strip --dbgsym-migration='calligra-dbg (<< 1:2.9.11)'
 
 override_dh_gencontrol:
+ifneq($(L10N_PACKAGES_IN_CONTROL),)
 	dh_gencontrol $(foreach p,$(L10N_PACKAGES_IN_CONTROL),-p$(p)) -- $(foreach rel,Depends Recommends Suggests Replaces Breaks Provides,-V'l10n:$(rel)=$(L10N_$(rel))')
+endif
 	dh_gencontrol --remaining-packages
 
 .PHONY: override_dh_auto_test

-- 
Calligra suite packaging



More information about the pkg-kde-commits mailing list