[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#823910: debian-policy: document Build-Depends-Arch/Build-Conflicts-Arch and when it's safe to use them



Package: debian-policy
Severity: normal

Hi,

I just noticed that there are also Build-Depends-Arch/Build-Conflicts-Arch:

from deb-src-control(5):

       Build-Depends-Arch: package-list
              Same as Build-Depends, but they are only needed when  build‐
              ing  the  architecture dependent packages. The Build-Depends
              are also installed in this case.  This  field  is  supported
              since  dpkg  1.16.4;  in order to build with older dpkg ver‐
              sions, Build-Depends should be used instead.

       Build-Conflicts-Arch: package-list
              Same  as  Build-Conflicts, but only when building the archi‐
              tecture dependent packages. This field  is  supported  since
              dpkg  1.16.4;  in  order  to build with older dpkg versions,
              Build-Conflicts should be used instead.

These are not mentioned at all in the policy, but given that the dpkg 
version constraint is satisfied in oldstable, it should be safe to use
them now.


Andreas


Reply to: