ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] Obsoletes without version considered harmful
Date: Fri, 23 Nov 2007 13:46:02 +0300
Message-ID: <20071123104602.GD2692@solemn.turbinal> (raw)
In-Reply-To: <20071123103624.64DCB1CB47D0@ssh.git.local.altlinux.org>

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

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

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

       reply	other threads:[~2007-11-23 10:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-23 10:46 ` Alexey Tourbin [this message]
2007-11-23 10:51   ` Sergey V Turchin
2007-11-23 10:55     ` Sergey V Turchin
2007-11-23 11:11       ` Alexey I. Froloff
2007-11-23 11:51         ` Sergey V Turchin
2007-11-23 12:00           ` Alexey I. Froloff
2007-11-23 12:09             ` Sergey V Turchin
2007-11-23 12:03         ` Alexey Tourbin
2007-11-23 12:04       ` Alexey Tourbin
2007-11-23 19:35   ` Vladimir Zhukov
2007-11-23 21:10     ` 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=20071123104602.GD2692@solemn.turbinal \
    --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