ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Requires: %name = %version-%release
Date: Fri, 12 Sep 2008 16:56:31 +0400
Message-ID: <20080912125631.GS6477@altlinux.org> (raw)
In-Reply-To: <20080912124246.GC24809@altlinux.org>

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

On Fri, Sep 12, 2008 at 04:42:46PM +0400, Alexey I. Froloff wrote:
> Всё больше зависимостей у нас вычисляются автоматически и
> прописывать что-то руками становится неинтересно.  Физический
> смысл зависимости %name = %version-release в том, чтобы этот
> подпакет тоже обновился при установке основного.  Например в
> случае с libfoo и libfoo-devel зависимость у -devel пакета на
> основной уже проставляется через симлинки, у развесистых пакетов
> типа kdebase есть зависимости через SONAME библиотек и т.д.

Есть исключения.

1)
$ rpm -qR gcc3.4 |grep ^libgcc
libgcc3.4 >= 3.4.5-alt7
$

2) Иногда есть резон ослабить зависимость с %version-%release до
%version, напр. для noarch подпакетов типа -doc или -locales.

> Всвязи с этим есть предложение во все пакеты автоматом вставлять
> конструкцию:
> 
> Provides: sourcepackage(%name) = %version-%release
> Conflicts: sourcepackage(%name) < %version-%release
> Conflicts: sourcepackage(%name) > %version-%release
> 
> А последние две строки хочется вообще сократить до:
> 
> Conflicts: sourcepackage(%name) != %version-%release

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

  reply	other threads:[~2008-09-12 12:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-12 12:42 Alexey I. Froloff
2008-09-12 12:56 ` Alexey Tourbin [this message]
2008-09-12 14:33   ` Aleksey Avdeev

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=20080912125631.GS6477@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