Ticket #69 (closed defect: fixed)

Opened 15 years ago

Last modified 14 years ago

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:


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:1 Changed 14 years ago by tabbott

  • Priority changed from minor to low

comment:2 Changed 14 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.

comment:3 Changed 14 years ago by tabbott

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.