From c3c79416b8de1997cf3dd15e4eea63ddae9309c4 Mon Sep 17 00:00:00 2001 From: Eberhard Beilharz Date: Fri, 7 Feb 2020 17:54:58 +0100 Subject: [PATCH] fix(linux): Fix packaging of keyman-config on Xenial Xenial doesn't provide python3-qrcode, and specifying the alternative package in the control file doesn't work because the build always uses the first specified alternative. This change makes use of build profiles ([1]) to select the correct package. [1] https://wiki.debian.org/BuildProfileSpec --- linux/keyman-config/debian/control | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/linux/keyman-config/debian/control b/linux/keyman-config/debian/control index 66d7498f42..5d49d99979 100644 --- a/linux/keyman-config/debian/control +++ b/linux/keyman-config/debian/control @@ -3,8 +3,9 @@ Maintainer: Daniel Glassey Section: python Priority: optional Build-Depends: dh-python, python3-setuptools, python3-all, debhelper (>= 9), bash-completion, - python3-magic, python3-qrcode | python-qrcode -Standards-Version: 3.9.7 + python3-magic, python3-qrcode , + python-qrcode +Standards-Version: 4.5.0 Homepage: http://www.keyman.com/ Package: python3-keyman-config