Package: debian-policy Severity: normal Hi,
some months ago support for the Built-Using field was added to the archive software. It is used by binary packages to refer to additional source packages that were used during the build and need to stay in the archive to have the full source available. I would like to have this field documented in policy, a first patch is attached. Regards, Ansgar>From be15241200d6dfa13afa9fa8e36944d1599cc6e3 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt
@@ -4568,7 +4569,8 @@ fi
In the Depends, Recommends,
Suggests, Pre-Depends,
- Build-Depends and Build-Depends-Indep
+ Build-Depends, Build-Depends-Indep
+ and Built-Using
control fields of the package, which declare
dependencies on other packages, the package names listed may
also include lists of alternative package names, separated
@@ -5317,6 +5319,45 @@ Replaces: mail-transport-agent
+
+ Additional source packages might be involved in creating a
+ binary package. These must be listed in
+ the Built-Using field to enable the archive
+ software to keep the full source code.
+
+ For every source package, the version used must be
+ specified using an "exactly equal" ("=") relation.
+
+ A package using the source code from the gcc-4.6-source
+ binary package built from the gcc-4.6 source package would
+ have this field in its control file:
+
+ A package including binaries from grub2 and loadlin would
+ have this field in its control file:
+