ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] как правильно заменить пакет
Date: Thu, 6 Mar 2008 17:50:57 +0200
Message-ID: <20080306155057.GI21833@osdn.org.ua> (raw)
In-Reply-To: <200803041018.39767.azol@altlinux.ru>

On Tue, Mar 04, 2008 at 10:18:39AM +0200, Artem Zolochevskiy wrote:
> Как тогда будет выглядеть обратное переименование?
> Поехали, вся история сначала.
> 
> Есть пакет A-1.1-alt1
> Переименовываем в B (в итоге имеем B-1.1-alt1)

1.1-alt2

> Ставим в spec B
>  Provides: A = 1.1-alt1
>  Obsoletes: A <= 1.1-alt1

< 1.1-alt2

>  Conflicts: A > 1.1

Зачем?

> Теперь обратное переименование. (B -> A)
> Допустим что пакет В дорос до версии 2.0-alt1
> Ставим в spec А что?
>   Provides: B = 2.0-alt1
>   Obsoletes: B <= 2.0-alt1

<

>   Conflicts: B > 2.0

Тоже вроде незачем.

> Верно?

Почти; и имей в виду, я написанное не проверил.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  reply	other threads:[~2008-03-06 15:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-25 18:44 Artem Zolochevskiy
2007-07-25 19:09 ` Alexey Rusakov
2007-07-26 11:38   ` Artem Zolochevskiy
2007-07-26 11:50     ` Alexey Tourbin
2008-03-04  8:18       ` Artem Zolochevskiy
2008-03-06 15:50         ` Michael Shigorin [this message]
2007-07-26 14:05     ` Alexey Rusakov

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=20080306155057.GI21833@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --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