* [devel] как много пакетов заменить одним
@ 2008-08-18 6:04 Artem Zolochevskiy
2008-08-18 7:05 ` Stanislav Ievlev
0 siblings, 1 reply; 3+ messages in thread
From: Artem Zolochevskiy @ 2008-08-18 6:04 UTC (permalink / raw)
To: devel
hi all
Господа,
по мотивам http://bugzilla.altlinux.org/show_bug.cgi?id=16653
Было много маленьких пакетов. Они упраздняются в пользу одного большого.
Вопрос: как выставлять зависимости?
Были пакеты: foo bar
Заливаем новый пакет: foobar и просим удалить из репозитория foo и bar
Что в итоге выставляем в его (foobar ) зависимостях?
Provides: foo bar
Obsoletes: foo bar
Так?
--
Артём Золочевский
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] как много пакетов заменить одним
2008-08-18 6:04 [devel] как много пакетов заменить одним Artem Zolochevskiy
@ 2008-08-18 7:05 ` Stanislav Ievlev
2008-08-18 7:17 ` Sergey Vlasov
0 siblings, 1 reply; 3+ messages in thread
From: Stanislav Ievlev @ 2008-08-18 7:05 UTC (permalink / raw)
To: ALT Linux Team development discussions
On Mon, Aug 18, 2008 at 09:04:13AM +0300, Artem Zolochevskiy wrote:
> hi all
>
> Господа,
> по мотивам http://bugzilla.altlinux.org/show_bug.cgi?id=16653
>
> Было много маленьких пакетов. Они упраздняются в пользу одного большого.
>
> Вопрос: как выставлять зависимости?
>
> Были пакеты: foo bar
> Заливаем новый пакет: foobar и просим удалить из репозитория foo и bar
> Что в итоге выставляем в его (foobar ) зависимостях?
>
> Provides: foo bar
> Obsoletes: foo bar
>
> Так?
Помнится раньше рекомендовали в provides ещё проставлять %version.
Кроме того не забудьте написать на incoming@, чтобы удалили "потерянные" src.rpm.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] как много пакетов заменить одним
2008-08-18 7:05 ` Stanislav Ievlev
@ 2008-08-18 7:17 ` Sergey Vlasov
0 siblings, 0 replies; 3+ messages in thread
From: Sergey Vlasov @ 2008-08-18 7:17 UTC (permalink / raw)
To: devel
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-18 7:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-18 6:04 [devel] как много пакетов заменить одним Artem Zolochevskiy
2008-08-18 7:05 ` Stanislav Ievlev
2008-08-18 7:17 ` Sergey Vlasov
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