arch triplet: "-" <> "_"

Dmitry Shachnev mitya57 at ubuntu.com
Sat Mar 2 07:51:57 UTC 2019


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20190302/db2a2995/attachment.sig>


More information about the ubuntu-devel mailing list