Package: atlas3
Severity: normal
Tags: patch

Hi,

Your package is one of the two only packages that fail to abide by the wish
of Debian policy 5.6.19:

| 5.6.19 Binary
| 
| This field is a list of binary packages.
| 
| When it appears in the .dsc file it is the list of binary packages which a
| source package can produce. It does not necessarily produce all of these
| binary packages for every architecture. The source control file doesn't
| contain details of which architectures are appropriate for which of the
| binary packages. 

Your package doesn't list all binary packages that it can build in the
Binary: header, rather, only those that are built for i386. And in case the
person building the source package happens to have powerpc, that'd be
*that* set of packages. I assume the reason for doing so is because of
dh_* -a's behaviour of building all arch dependent packages doesn't pay
attention to the explicit architecture.

However, as you can see in debhelper(7), you can also use -s instead of -a,
and then debhelper will only consider packages of matching architecture.
>From debhelper(7):
 -s, --same-arch
    This is a smarter version of the -a flag, that is used in some rare
    circumstances. It understands that if the control file lists
    "Architecture: i386" for the package, the package should not be acted
    on on other architec‐ tures. So this flag makes the command act on all
    "Architecture: any" packages, as well as on any packages that have the
    current architecture explicitly specified.  Contrast to the -a flag,
    which makes the command work on all packages that are not architecture
    independent.

This is a much cleaner solution IMHO, and also will prevent an ftp-master
archive integrity script from trip over on your package. Hence, I'd like to
request you to apply the attached patch.

Thank you very much for considering,
--Jeroen

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

-- 
Jeroen van Wolffelaar
[EMAIL PROTECTED]
http://jeroen.A-Eskwadraat.nl

Attachment: atlas3.no-control-fiddling.diff.gz
Description: Binary data

Reply via email to