ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Вопрос по версиям пакетов Perl
Date: Tue, 1 Jul 2008 00:19:16 +0400
Message-ID: <20080630201916.GF7854@solemn.turbinal> (raw)
In-Reply-To: <48693E3C.5080806@rattler.kiev.ua>

[-- Attachment #1: Type: text/plain, Size: 1331 bytes --]

On Mon, Jun 30, 2008 at 11:12:44PM +0300, Michael Bochkaryov wrote:
> А не подскажет ли кто из благородных 
> донов, как рекомендуется поступать с 
> версиями перловых пакетов, у которых 
> версия сравнивается лексикографиески?
> 
> Пример: Catalyst::Manual, который хочу обновить.
> 
> Версия 5.7012 считается более свежей, чем 
> 5.700501, но по очевидной причине rpmvercmp с этим 
> не соглашается.

Если уже есть версия пакета 5.700501 (в сизифе),
то можно дополнять нулями (новая версия будет 5.701200).

> Просмотр вот этой страницы про установку 
> версий особо не помог:
> http://freesource.info/wiki/AltLinux/Sisyphus/devel/TypicalPackagingErrors/versions
> 
> Чтение perldoc version добавляет ясности по 
> перловой части...
> 
> ======================
> $ perl -Mversion -e ' my $v = version->new(5.7012); print $v->normal;'
> v5.701.200
> 
> $ perl -Mversion -e ' my $v = version->new(5.700501); print $v->normal;'
> v5.700.501
> ======================

Угу.  Поэтому, кстати, сейчас у виртуальных зависимостей версии
выравниваются по трём цифрам после десятичной точки.

> ... но менять оригинальную версию пакета 
> на $version->normal тоже не хотелось бы - с толку 
> сбивать будет.

Если апстрим постоянно меняет формат/выравнивание версий,
то хорошего варинта, кажется, нет.

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-06-30 20:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-30 20:12 Michael Bochkaryov
2008-06-30 20:19 ` Alexey Tourbin [this message]
2008-06-30 20:26   ` Led
2008-06-30 20:35   ` Michael Bochkaryov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080630201916.GF7854@solemn.turbinal \
    --to=at@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git