From mboxrd@z Thu Jan  1 00:00:00 1970
From: Valters Jansons <valter.jansons@gmail.com>
To: location@lists.ipfire.org
Subject: [PATCH 3/8] debian: Set 'Multi-Arch: foreign' hint for Python
Date: Fri, 16 Apr 2021 16:06:07 +0300
Message-ID: <20210416130612.15959-4-valter.jansons@gmail.com>
In-Reply-To: <20210416130612.15959-1-valter.jansons@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============5757759620470010830=="
List-Id: <location.lists.ipfire.org>

--===============5757759620470010830==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit

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(a)gmail.com>
---
 debian/control | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
-- 
2.31.1


--===============5757759620470010830==--