On Mon, 24 Nov 2025 06:50:09 +0100 Matthias Klose <[email protected]> wrote:
> please update the spec explicitly for the Build-Profiles attribute.
> 
>  From my point of view, this is not good enough when people start 
> "thinking" about interpretations, see the thread at
> https://lists.debian.org/debian-devel/2025/11/msg00301.html

How about adding this in the Build-Profiles section after the first paragraph
using Simon's example:

The condition uses the same `restriction formula syntax <s-restrictions>` from
the ``Build-Depends`` field. In the following example, ``libglib2.0-tests`` is
only built if both ``noinsttest`` and ``nogir`` are not enabled:

::

    # Build if (!noinsttest) && (!nogir)
    Package: libglib2.0-tests
    Build-Profiles: <!noinsttest !nogir>


What do you think?

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to