ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] IA: rpm: how to install %docs properly
Date: Tue, 22 Oct 2002 12:18:33 +0400
Message-ID: <20021022081833.GC19073@basalt.office.altlinux.ru> (raw)
In-Reply-To: <20021021202125.GA13782@homestead.turbinal.org>

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

On Tue, Oct 22, 2002 at 12:21:25AM +0400, at@turbinal.org wrote:
> > Как правило, сперва удаляется пакет, содержащий каталог, и только потом пакет,
> > не содержащий каталог; как следствие, в системе остается этот каталог.
> 
> Откуда такое правило?
> 
> Name: foobar
> Version: 1.0
> Release: alt1
> %package devel
> PreReq: foobar = %version-%release
> 
> должны (насколько я понимаю)
> 
> устанавливаться: в порядке: foobar, foobar-devel;

Да.

> удаляться: в порядке: foobar-devel, foobar.

Нет.

Если нужно _этого_ добиться, то следует использовать
Requires(pre,postun): foobar = %version-%release
(не проверял, но согласно документации должно работать).


--
ldv

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

      reply	other threads:[~2002-10-22  8:18 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-30  8:53 Dmitry V. Levin
2002-09-30  9:10 ` Igor Homyakov
2002-09-30 10:49   ` Dmitry V. Levin
2002-09-30 11:06     ` Igor Homyakov
2002-09-30 11:40       ` Dmitry V. Levin
2002-09-30 11:36         ` Igor Homyakov
2002-09-30 12:01           ` Dmitry V. Levin
2002-09-30 16:14         ` Alexey I. Froloff
2002-10-01  6:15           ` Dmitry V. Levin
2002-10-01 17:08             ` Alexey I. Froloff
2002-10-01 17:17               ` Dmitry V. Levin
2002-10-02 18:26                 ` Alexey I. Froloff
2002-10-02 11:03             ` Yuri N. Sedunov
2002-10-03 21:32               ` Dmitry V. Levin
2002-10-04  3:29                 ` Yuri N. Sedunov
2002-10-04  9:23                   ` Dmitry V. Levin
2002-10-04 10:30                     ` Yuri N. Sedunov
2002-10-04 10:55                       ` Dmitry V. Levin
2002-10-18 22:34 ` at
2002-10-19 11:03   ` Dmitry V. Levin
2002-10-21 11:26     ` Igor Homyakov
2002-10-21 11:55       ` Dmitry V. Levin
2002-10-21 20:21     ` at
2002-10-22  8:18       ` Dmitry V. Levin [this message]

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=20021022081833.GC19073@basalt.office.altlinux.ru \
    --to=ldv@altlinux.org \
    --cc=devel@altlinux.ru \
    /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