[DRE-maint] Bug#632553: Bug#632553: gem2deb: dh_ruby ignores install directory
lucas at lucas-nussbaum.net
Sun Jul 17 12:36:57 UTC 2011
On 17/07/11 at 13:41 +0200, Stig Sandbeck Mathisen wrote:
> Vincent Fourmond <fourmond at gmail.com> writes:
> > Could this just be an option, triggered using a
> > GEM2DEB_INSTALL_DIR=debian/tmp variable in debian/rules?
> > That would not cause FTBFSes while allowing more control over file
> > installation when that is needed.
> This looks like it could be solved with the "compatibility level" used
> by dpkg and debhelper.
> Add a file called (for instance) debian/source/gem2deb.compat. Make it
> behave like debian/compat (which is used by debhelper to define how it
> should behave). Default to "1", which is the current behaviour.
> Proposed compatibility levels:
> ,----[ 1 ]
> | Install to debian/<first package name>
> ,----[ 2 ]
> | If an argument is given on the command line, and it is a directory,
> | install to that location
> | Else, if we have multiple binary packages, install to debian/tmp/
> | Else, install to debian/<package name>/
> The differences in compatibility levels can be easily documented, see
> "Debhelper compatibility levels" in debhelper(7). It will also make
> disruptive changes in gem2deb much easier to handle in the future, since
> it will not break current packages.
I don't think that we have the manpower to maintain different
compatibility levels in gem2deb.
It's better to detect (and fix) broken packages when introducing such
More information about the Pkg-ruby-extras-maintainers