Ticket #936 (new defect)

Opened 13 years ago

Last modified 10 years ago

config-package-dev should install Lintian override for package-contains-empty-directory for DEB_REMOVE_FILES

Reported by: geofft Owned by:
Priority: trivial Milestone: The Distant Future
Component: config-package-dev Keywords:
Cc: Fixed in version:
Upstream bug:


DEB_REMOVE_FILES operates by ensuring that /usr/share/packagename exists, and diverting the file in question there on install. For a couple of our packages, we don't otherwise use /usr/share/packagename, which is causing a  package-contains-empty-directory Lintian warning. Since config-package-dev knows it is likely to create an empty /usr/share/packagename directory when DEB_REMOVE_FILES is in use, it should automatically install the override in that case.

Change History

comment:1 Changed 12 years ago by jdreed

  • Component changed from -- to config-package-dev

comment:2 Changed 10 years ago by geofft

It looks awfully annoying for a Debhelper plugin/command to add a Lintian override, since dh_lintian just drops a single lintian-overrides file in place. We could attempt to sequence ourselves after dh_lintian and append to that file, I guess? Or we could ask dh_lintian to provide an interface.

Note: See TracTickets for help on using tickets.