← Back to team overview

openjdk team mailing list archive

Bug#761273: Bug#761273: Use changelog release for control generation

 

Control: tags -1 - patch

Am 12.09.2014 um 12:07 schrieb Iain Lane:
> We got a backport request in Ubuntu for openjdk-8, with a note that
> gcc-4.9 → gcc-4.8 in d/control is required. I took a look and noticed
> some automagic generation, but this assumes that the release on the
> machine being built for is the same as the one the package is being
> prepared for. I don't think this assumption will always hold. How about
> the attached approach, which uses the changelog distribution instead? A
> modification might be to fall back to the old way in the UNRELEASED
> case?

> Don't have a solution for the distribution variable apart from
> maintaining a table mapping from release to distro, but I think that
> it's less likely to be a problem in practice.

I'd like to keep it this way. You usually do a test build on the target release
anyway, don't you?  Maybe check for a envvar TARGET_DISTRELEASE instead?


Follow ups

References