From 777fc843bbf5e6e226c3fac36266a2117fd64cd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Laboissi=C3=A8re?= Date: Sun, 12 Dec 2021 16:58:57 -0300 Subject: d/rules: Install the python3.* extension to the correct path Thanks: Steve Langasek for the patch Closes: #1001363 --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index dde1e5b..ce2e465 100755 --- a/debian/rules +++ b/debian/rules @@ -36,7 +36,7 @@ override_dh_python3-arch: distdir=debian/python3-nlopt/usr/lib/python3/dist-packages; \ mkdir -p $$distdir; \ for py3alt in $(PY3_ALT); do \ - py3short=`echo $${py3alt} | sed "s/\.//g"`; \ + py3short=`echo $${py3alt} | sed "s/\.//g"`-`dpkg-architecture -qDEB_HOST_MULTIARCH`; \ cp $(BUILDDIR)-python$${py3alt}/src/swig/_nlopt.so $$distdir/_nlopt.cpython-$${py3short}.so; \ chrpath -d $$distdir/_nlopt.cpython-$${py3short}.so; \ done -- cgit v1.2.3