[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#615940: dpkg-gensymbols: support a #CURVER# substitution to generate strict dependencies



Package: dpkg-dev
Version: 1.15.8.10
Severity: wishlist

On Mon, 28 Feb 2011, Jakub Wilk wrote:
> * Raphael Hertzog <hertzog@debian.org>, 2011-02-28, 16:01:
> >symbols which should not be used can either be not listed in the
> >symbols file (and be auto-added at build time with a strict
> >dependency on the latest version) or be referenced in the symbols
> >file but with an alternate dependency (either one that is
> >unsolvable or one that is very strict in terms of version
> >allowed).
> 
> It'd nice if dpkg-gensymbols could generated such an alternate
> dependency automatically for all symbols that are tagged optional.

I don't really see the point. When you add the optional tag, you can
surely also add the alternate dependency in the file.

What is missing however is a way to have that alternate dependency
embed the strict versioning scheme. For this we need to support a new
#CURVER# substitution that is replaced with the current version so that
we can keep the associated dependency in sync with the latest version of
the package.

Filing this as a wishlist bug.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
                      ▶ http://RaphaelHertzog.fr (Français)



Reply to: