On 11/25/25 08:50, Johannes Schauer Marin Rodrigues wrote:
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?

it's a start. But please see the more complete examples posted by Simon Vittie.

Do you also agree that the syntax that I used is wrong, and should be rejected?

Matthias

Reply via email to