[devel] Obsoletes without version considered harmful
Alexey Tourbin
=?iso-8859-1?q?at_=CE=C1_altlinux=2Eru?=
Пт Ноя 23 13:46:02 MSK 2007
On Fri, Nov 23, 2007 at 01:36:24PM +0300, Vladimir Zhukov wrote:
> Changes statistics since `0.1-alt1-24-g3d639cb' follows:
> .gear-rules | 2 +-
> ...-desktop.spec => docs-install-desktop_lite.spec | 6 +++---
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> Changelog since `0.1-alt1-24-g3d639cb' follows:
> commit 259d2e6da9c1c84b4ca21fc9faaa613f7a8f0ec3
> Author: Vladimir Zhukov <bertis на altlinux>
> Date: Fri Nov 23 13:34:28 2007 +0300
>
> package renamed: docs-install-desktop -> docs-install-desktop_lite
> - .gear-rules: s/install-desktop/install-desktop_lite
> - renamed: docs-install-desktop.spec -> docs-install-desktop_lite.spec
> - docs-install-desktop_lite.spec:
> + s/install-desktop/install-desktop_lite
> + added Provides and Obsoletes needed for package renaming
[...]
> -Provides: docs-install0-desktop = 4.0-alt1, docs-install2-desktop = 0.2-alt1
> -Obsoletes: docs-install0-desktop, docs-install2-desktop
> +Provides: docs-install0-desktop = 4.0-alt1, docs-install2-desktop = 0.2-alt1, docs-install-desktop = 0.1-alt1
> +Obsoletes: docs-install0-desktop, docs-install2-desktop, docs-install-desktop
Господа, не пишите Obsoletes без версий.
Обычно в случае переименования пакетов лучше всего писать так:
Provides: foo = %version
Obsoletes: foo <= %version
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип : application/pgp-signature
Размер : 189 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url : <http://lists.altlinux.org/pipermail/devel/attachments/20071123/c429b36a/attachment-0002.bin>
Подробная информация о списке рассылки Devel