From 30daa4aab845a7972bff3f0e33994176bc912dc6 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Tue, 29 Jun 2010 10:43:06 -0700 Subject: [PATCH] Clarify the banned dependencies between main and non-main * Add Pre-Depends and Build-Depends-Indep to the relationships not allowed from main to contrib or non-free and mention that such relationships are okay if the non-free package is only an alternative. Thanks, Raphael Geissert. (Closes: #587279) --- debian/changelog | 4 ++++ policy.sgml | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index ce27639..fedb536 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,10 @@ debian-policy (3.9.1.0) UNRELEASED; urgency=low package. * Explain the Perl module package naming policy more explicitly and provide some examples. (Closes: #175202) + * Add Pre-Depends and Build-Depends-Indep to the relationships not + allowed from main to contrib or non-free and mention that such + relationships are okay if the non-free package is only an + alternative. Thanks, Raphael Geissert. (Closes: #587279) -- Russ Allbery Mon, 28 Jun 2010 09:34:54 -0700 diff --git a/policy.sgml b/policy.sgml index 3e99099..9fe7158 100644 --- a/policy.sgml +++ b/policy.sgml @@ -476,9 +476,11 @@ 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), + not declare a Pre-Depends, Depends, + Recommends, Build-Depends, + or Build-Depends-Indep relationship on a + non-main package unless a package + in main is listed as an alternative), must not be so buggy that we refuse to support them, -- 2.39.2