Ticket #69 (closed defect: fixed)
DEB_AUTO_UPDATE_DEBIAN_CONTROL displeases the gods of Debian
Reported by: | andersk | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | |
Component: | Keywords: | ||
Cc: | Fixed in version: | ||
Upstream bug: |
Description
As described in Debian #311724, Debian doesn't like the DEB_AUTO_UPDATE_DEBIAN_CONTROL feature that modifies debian/control at build time. We might consider removing it from our debian/rules files and only invoking it manually with
debian/rules debian/control DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes
Even if we decide not to remove it, we should probably change its value from "1" to "yes" because the documentation suggests that is more conventional.
Change History
comment:2 Changed 17 years ago by tabbott
Below is the code that I wrote to perform this transformation a few weeks ago
for i in `\ls */*/debian/rules | sed 's|/debian/rules||'`; do (cd $i; dadch -i "Remove DEB_AUTO_UPDATE_DEBIAN_CONTROL."); done
perl -i -0pe 's/DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1\n//m' */*/debian/rules
Though one needs to be careful to not apply it to libnss-nonlocal and config-package-dev, since they don't have DEB_AUTO_UPDATE_DEBIAN_CONTROL.