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] %{get_dep somelib} deprecation
Date: Mon, 31 Jan 2011 00:18:00 +0300
Message-ID: <20110130211800.GF30604@altlinux.org> (raw)
In-Reply-To: <20110130210711.GA2619@dad.imath.kiev.ua>

On Sun, Jan 30, 2011 at 11:07:11PM +0200, Igor Vlasenko wrote:
> On Sun, Jan 30, 2011 at 09:29:59PM +0300, Alexey Tourbin wrote:
> > В некоторых местах вместо get_dep используется get_version
> > или get_SVR.  Наверное, их нужно диагностировать точно так же,
> > как get_dep.
> 
> Спасибо, посмотрел, get_version испоьзовался по разному,
> буду ругать use case вида
> Requires: foo >= %{get_version bar}

Это лучше, чем привязываться к релизу, но смысл почти такой же, как
у get_dep: привязка к _текущей_ версии пакета.  Зачем привязываться
к _текущей_ версии пакета?  Если это делается для обеспечения
совместимости, то...

Раньше это было в какой-то степени оправдано в Си+плюс пакетах,
типа КДЕ-шных, потому что у Си+плюса очень хрупкий ABI (изменение
типа аргумента - напр., добавление const - приводит к изменению имени
функции), и даже при изменении версии в последней цифре ABI как бы
мог немножко измениться.

Короче, эти грубые зависимости больше не нужны.

> -- 
> 
> Dr. Igor Vlasenko
> --------------------
> Topology Department
> Institute of Math
> Kiev, Ukraine


  reply	other threads:[~2011-01-30 21:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-29 21:48 Igor Vlasenko
2011-01-29 23:06 ` Alexey Tourbin
2011-01-30 18:19   ` Igor Vlasenko
2011-01-30 18:29     ` Alexey Tourbin
2011-01-30 21:07       ` Igor Vlasenko
2011-01-30 21:18         ` Alexey Tourbin [this message]
2011-01-31 12:45           ` Sergey V Turchin

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=20110130211800.GF30604@altlinux.org \
    --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