From 803ae5be22b99abe77993d5d6f0fab919b0c8ef5 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Thu, 3 Jun 2010 09:44:53 -0700 Subject: [PATCH] Remove some extraneous information about architecture wildcards Remove some details in footnotes that are internal implementation details or just confusing and reword somewhat based on feedback from Guillem Jover. --- policy.sgml | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/policy.sgml b/policy.sgml index bcf8cbc..8b58f0b 100644 --- a/policy.sgml +++ b/policy.sgml @@ -2767,19 +2767,15 @@ Package: libc6

- Specifying a list of architecture wildcards indicates that - the source will build an architecture-dependent package on - the union of the lists of architectures from the expansion - of each specified architecture wildcard, and will only - work correctly on the architectures in the union of the - lists. + Specifying a list of architecture wildcards indicates that the + source will build an architecture-dependent package on only + those architectures that match any of the specified + architecture wildcards. Use of architecture wildcards other than all is for a minority of cases where the program is not portable and - should not be used for most packages. Wildcards are not - expanded into a list of known architectures before comparing - to the build architecture. Instead, the build architecture - is matched against any wildcards and this package is built - if any wildcard matches. + should not be used for most packages, such as packages that + are only useful on systems with a particular kernel + implementation.

@@ -8031,16 +8027,13 @@ done Internally, the package system normalizes the GNU triplets and the Debian arches into Debian arch triplets (which are kind of inverted GNU triplets), with the first component of the - triplet representing the libc and ABI in use. When matching - two Debian arch triplets, whenever an any is found - it matches with anything on the other side, like in: - - gnu-linux-i386 is matched by gnu-linux-any - gnu-kfreebsd-amd64 is matched by any-any-amd64 - - And, for example, any is normalized to - any-any-any. - + triplet representing the libc and ABI in use, and then does + matching against those triplets. However, such triplets are + an internal implementation detail that should not be used by + packages directly. The libc and ABI portion is handled + internally by the package system based on the os + and cpu. +

-- 2.39.5