Package: debian-policy Version: 3.8.4 Tags: patch Hi,
I see a couple of issues with the current section 2.2.1 "The main archive
area:"
a) It does not list neither Pre-Depends nor Build-depends-indep.
b) It does not take into consideration ORed dependencies.
Point a) can be fixed by listing those two fields and maybe even toning down
the
statement in parenthesis (e.g. s/thus/e.g./.)
The problematic mentioned in b) is that with the current wording one could say
that the following is not allowed for a package in main:
Depends: package-in-main | package-in-non-free
Real example:
Depends: unrar-free | rar
(unrar-free is in mai, rar is in non-free.)
Proposed wording change for a) is:
must not require a package outside of <em>main</em>
for compilation or execution [-(thus,-] {+(e.g.,+} the package must
not declare a {+"Pre-Depends",+} "Depends", "Recommends",
{+"Build-Depends",+} or
[-"Build-Depends"-] {+"Build-Depends-Indep"+} relationship
on a non-<em>main</em> package),
For b):
not declare a "Depends", "Recommends", or
"Build-Depends" relationship on a non-<em>main</em>
[-package),-]
{+package as the first alternative, if any),+}
Attached mbox contains the commit with both changes combined.
Cheers,
--
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net
section-2.2.1.mbox
Description: application/mbox
signature.asc
Description: This is a digitally signed message part.

