Friday 1 March 2019

Re: arch triplet: "-" <> "_"

On Thu, Feb 28, 2019 at 03:11:35PM -0800, Steve Langasek wrote:
> No, since x86-64-linux-gnu is not a standard name for the architecture. I
> would suggest that you instead simply use the dh-exec substitution for the
> first part of the path, and a glob for the second:
>
> usr/lib/${DEB_HOST_MULTIARCH}/libpytalloc-util.cpython-37m-*.so.*
>
> That should minimize any false-positive matches of the glob.

I would suggest a correction that does not hardcode Python version (37m):

usr/lib/${DEB_HOST_MULTIARCH}/libpytalloc-util.cpython-3*.so.*

--
Dmitry Shachnev