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

Re: Interpretation of policy 2.2.1



Hi Giovanni,

On Sat, Aug 30, 2008 at 01:05:58PM +0200, Giovanni Mascellani wrote:

> Debian policy 2.2.1 specifies that packages in main "must not require a
> package outside of main for compilation or execution (thus, the package
> must not declare a "Depends", "Recommends", or "Build-Depends"
> relationship on a non-main package)". I'm not sure about the
> interpretation of this sentence: can a package in main depend against
> "package-in-main | package-not-in-main"?

Yes, a package may depend on package-in-main | package-not-in-main.  There
are a number of packages in the archive that do this, and no reason to
consider this a bug since the intent of the first sentence is still
fulfilled.

The parenthetical should be revised to eliminate this confusion.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org


Reply to: