asterisk 1.2.0-0beta1
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Sun Oct 9 00:36:58 UTC 2005
On Sun, Oct 09, 2005 at 02:29:54AM +0200, Tzafrir Cohen wrote:
> On Sun, Oct 02, 2005 at 09:47:28AM +0200, Jose Carlos Garcia Sogo wrote:
>
> > 3. And be cereful with version numbers. 1:1.2.0.dfsg.1-0beta1-1 is
> > almost unparsable, but the most important thig is:
> >
> > jose at gimli:~$ dpkg --compare-versions 1:1.2.0.dfsg-1 gt
> > 1:1.2.0.dfsg.1-0beta1-1
> > jose at gimli:~$ echo $?
> > 1
> >
> > Which means that when we want to upload released 1.2.0, we will have
> > to use another trick or mak epoch 2: For example, something as easy as
> > 1:1.2.0.beta1.dfsg-1 will work (as final will be 1:1.2.0.dfsg-1 and d >
> > b) Anyway, dpkg --compare-versions is your friend in this situations.
>
> This works for Asterisk. What about libpri and zaptel? create a .dfsg
> tarball for them as well? Without the .dfsg this fails:
>
> $ dpkg --compare-versions 1:1.2.0.beta1-1 gt 1:1.2.0-1 && echo greater
> greater
How about:
1.1.9-0.beta1
Also note:
$ dpkg --compare-versions 1:1.1.9-0.beta2 gt 1:1.1.9-0.rc1 && echo greater
[nothing]
--
Tzafrir Cohen icq#16849755 +972-50-7952406
tzafrir.cohen at xorcom.com http://www.xorcom.com
More information about the Pkg-voip-maintainers
mailing list