Package: debian-policy Version: 3.5.9.0 Severity: wishlist Policy, section 7.6, currently says that for the debian/rules clean target, build-depends-indep have to be satisfied. This was added as a result of #164035, since before that time, the clean target was overlooked. However, since dpkg-buildpackage always runs the 'clean' target, both with or without the '-B' option, tools used in the clean target should be specified only in the build-depends header, and not in the build-depends-indep one; mentioning them in build-depends-indep, and not in build-depends, would satisfy build-dependencies as far as dpkg-buildpackage is concerned for a '-B' call, while the build still would fail. I therefore propose the following change to section 7.6, which is a partial rollback from #164035: `Build-Depends-Indep', `Build-Conflicts-Indep' The `Build-Depends-Indep' and `Build-Conflicts-Indep' fields must be satisfied when any of the following targets is invoked: + `build', `build-indep', `binary' and `binary-indep'. - `build', `build-indep', `clean', `binary' and `binary-indep'. -- wouter at grep dot be "An expert can usually spot the difference between a fake charge and a full one, but there are plenty of dead experts." -- National Geographic Channel, in a documentary about large African beasts.
Attachment:
signature.asc
Description: Dit berichtdeel is digitaal gesigneerd