On 2021-09-11 Simon McVittie <s...@debian.org> wrote: [...] > GLib uses a generated postinst where #MULTIARCH# gets replaced > by the multiarch tuple of the package. As far as I know, this > is going to be necessary for any multiarch library that will use > my clean-up-unmanaged-libraries script, because dpkg tells us the > DPKG_MAINTSCRIPT_PACKAGE and DPKG_MAINTSCRIPT_ARCH, but there is no > DPKG_MAINTSCRIPT_MULTIARCH.
> I'll open a separate wishlist bug for DPKG_MAINTSCRIPT_MULTIARCH, > because that would be useful to have - GLib needed it anyway, even before > the cleanup was implemented, to handle GIO plugins. Hello, dpkg-buildpackage sets DEB_BUILD_MULTIARCH but afaiui one cannot /rely/ on it being set since it is not listed in policy 4.9. I will probably make sure it is set in debian/rules and use #ENV.DEB_BUILD_MULTIARCH# cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'