Re: depends for *exact* upstream matches?
On Wed, 27 Nov 1996 12:59:15 EST "Brian C. White" (bcwhite@verisim.com
) wrote:
> > > Depends: gcc (>= 2.7.2.1), gcc (<< 2.7.2.2)
> > > a correct way to indicate that I want exactly 2.7.2.1 upstream
> > > release, but I don't care what debian revision?
> >
> > seem's so (see other comments). but why do you expect that future
> > upstream versions of gcc break existing code for ada support?
>
> I suggested to Ian at one point that the "=" comparison only compare
> the number of characters provided instead of an exact match. This
> is basically a suggestion to use "strncmp" instead of "strcmp". Thus,
> if you left off the Debian revision, then any debian revision would
> match. In fact, you could do something like
>
> Depends: gcc (=2.)
>
> to match any gcc with major revision "2".
Sounds a neat and useful idea. Someone else suggested providing a new operator (even better). But while we're at it, why not providing a complete regexp set ? Regexp libraries are not that big/expensive.
Phil.
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com
Reply to: