Simon McVittie <s...@debian.org> writes: > On Sun, 22 Aug 2010 at 20:22:17 +0200, Sebastian Andrzej Siewior wrote:
>> I have a question about packages like antelope. Its dependency line >> says: >> >> Build-Depends: debhelper (>= 7), cdbs, default-jdk, maven-repo-helper, >> ant, docbook-xsl, xsltproc > Strictly speaking, the packages that are needed for the build (only) > should be moved to Build-Depends-Indep. Packages that are needed for > clean, like debheper and cdbs, have to stay in Build-Depends in any case. If it's an architecture: all package (in other words, if it doesn't build any architecture-dependent packages), though, it's pointless to separate, since no one is going to build the package unless they want to build the arch: all portions. >> In theory an arch-all rebuild of this package should fail. > dpkg-buildpackage -A (arch-independent-only) requires both Build-Depends > and Build-Depends-Indep, like a normal build; dpkg-buildpackage -B > (arch-dependent-only, as used on buildds) requires only Build-Depends. That's the theory, but unfortunately the buildds still call the build target, so in practice the split is mostly pointless at the moment. -- Russ Allbery (r...@debian.org) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to debian-policy-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87iq32i8n6....@windlord.stanford.edu