[3/8] debian: Set 'Multi-Arch: foreign' hint for Python

Message ID 20210416130612.15959-4-valter.jansons@gmail.com
State Accepted
Commit c5c0043d56527bba37b579e6d67bddc040a53a2e
Headers
Series debian: Mitigate bulk of Lintian issues |

Commit Message

Valters Jansons April 16, 2021, 1:06 p.m. UTC
  Due to the invocation of py3compile (via dh-python) in location-importer
and location-python packages, those packages have different bytecode for
varying architectures, and as a result are not 'Multi-Arch: same'.

Resolves: lintian: multi-arch-same-package-calls-pycompile

Signed-off-by: Valters Jansons <valter.jansons@gmail.com>
---
 debian/control | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Patch

diff --git a/debian/control b/debian/control
index 964a4a4..4b1407a 100644
--- a/debian/control
+++ b/debian/control
@@ -69,7 +69,7 @@  Depends:
  location-python (= ${binary:Version}),
  ${misc:Depends},
  ${python3:Depends}
-Multi-Arch: same
+Multi-Arch: foreign
 Description: Tools to author location databases
  This package contains tools that are required to build location databases
 
@@ -82,6 +82,6 @@  Depends:
  ${misc:Depends},
  ${python3:Depends},
  ${shlibs:Depends}
-Multi-Arch: same
+Multi-Arch: foreign
 Description: Python modules for libloc
  This package contains Python bindings for libloc