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] FAILED protobuf.git=protobuf-2.1.0-alt2
Date: Thu, 18 Jun 2009 18:20:01 +0400
Message-ID: <20090618142001.GI18245@altlinux.org> (raw)
In-Reply-To: <21bd5bb90906180041u51461199o35b303ea6da5ec0b@mail.gmail.com>

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

On Thu, Jun 18, 2009 at 11:41:54AM +0400, Mikhail A. Pokidko wrote:
> 2009/6/17 Ivan Fedorov <ns@altlinux.org>
> > Анметы не в пакете, а во всём репозитории. Скорее всего старый пакет
> > предоствлял libprotobuf.so.2 на который завязан
> > libcompizconfig#0.8.2-alt1, так как в новом пакете нету этого файла, то
> > libcompizconfig станет нерабочим, и поэтому ваш пакет, хоть и собрался
> > хорошо и успешно, в сизиф не попадёт.
> Именно это я и хотел прояснить. Теперь понятно.
> Да, раньше был libprotobuf.so.2, в новой версии - libprotobuf.so.4
> 
> > Надо заботиться о своих пользователях. на wiki где-то есть
> > SharedLibsPolicy на эту тему.
> Если я правильно понял http://www.altlinux.org/SharedLibsPolicy,
> то мне нужно переименовать пакет в libprotobuf4 c Provides:
> libprotobuf = %version-%release (что раскроется в 2.1.2-alt1) ?

Лучше сделать так: имя src.rpm пакета оставить прежним, но пакет с
разделяемой библиотекой переменовать в libprotobuf4 (при этом останется
libprotobuf-devel, который будет требовать libprotobuf4 = %version-%release).
В пакете libprotobuf4 писать Provides: libprotobuf не обязательно.
После этого в том же самом задании надо пересобрать зависимый пакет
libcompizconfig.  Получится синхронная смена сонейма в репозитории без
создания compat-пакета.  Думаю, что такая схема смены сонейма
предпочтительна в большинстве несложных случаев.

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

  parent reply	other threads:[~2009-06-18 14:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-17 15:09   ` [devel] [#8156] " Andrey Rahmatullin
2009-06-17 15:13   ` Ivan Fedorov
2009-06-18  7:41     ` Mikhail A. Pokidko
2009-06-18  8:39       ` Ivan Fedorov
2009-06-18 14:20       ` Alexey Tourbin [this message]
2009-06-18 15:12           ` [devel] " Valery V. Inozemtsev
2009-06-19  2:27             ` Alexey Tourbin

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=20090618142001.GI18245@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