ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] как много пакетов заменить одним
Date: Mon, 18 Aug 2008 11:17:21 +0400
Message-ID: <20080818071721.GA5030@atlas.home> (raw)
In-Reply-To: <20080818070526.GE27698@imap.altlinux.org>

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

On Mon, Aug 18, 2008 at 11:05:26AM +0400, Stanislav Ievlev wrote:
> On Mon, Aug 18, 2008 at 09:04:13AM +0300, Artem Zolochevskiy wrote:
> > Господа,
> > по мотивам http://bugzilla.altlinux.org/show_bug.cgi?id=16653
> > 
> > Было много маленьких пакетов. Они упраздняются в пользу одного большого.
> > 
> > Вопрос: как выставлять зависимости?
> > 
> > Были пакеты: foo bar
> > Заливаем новый пакет: foobar и просим удалить из репозитория foo  и bar
> > Что в итоге выставляем в его  (foobar ) зависимостях?
> > 
> > Provides: foo bar
> > Obsoletes: foo bar
> > 
> > Так?
> Помнится раньше рекомендовали в provides ещё проставлять %version.

И в Obsoletes тоже (<=, чтобы оставалась возможность в будущем вновь
положить в репозиторий эти пакеты с более свежей версией).  Именно
%version или %version-%release писать не обязательно, и не всегда
возможно (если у старого пакета совершенно другая нумерация версий); в
Obsoletes, вероятно, лучше зафиксировать version-release последнего
старого пакета.

Версии в Provides обязательны в случае, если на старый пакет были
зависимости с указанием версии.

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

      reply	other threads:[~2008-08-18  7:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-18  6:04 Artem Zolochevskiy
2008-08-18  7:05 ` Stanislav Ievlev
2008-08-18  7:17   ` Sergey Vlasov [this message]

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=20080818071721.GA5030@atlas.home \
    --to=vsu@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