ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Версии в Provides
Date: Wed, 31 Dec 2008 01:00:59 +0300
Message-ID: <20081230220059.GA25983@wo.int.altlinux.org> (raw)
In-Reply-To: <20081230215534.GA26733@epbyminw8406h.minsk.epam.com>

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

On Tue, Dec 30, 2008 at 11:55:34PM +0200, Kirill A. Shutemov wrote:
> On Mon, Dec 29, 2008 at 10:48:52PM +0200, Kirill A. Shutemov wrote:
> > Я заметил несколько пакетов в которых проставлены странные provides:
> > 
> > kde4base-plasma-applets-4.1.3-alt1.i586.rpm provides:
> > kde4base-plasma < 4.1.3-alt1
> >  
> > X-Downloader-2.5.7.1-alt4.1.i586.rpm provides:
> > nt <= 2.5.7.1
> > X-Downloader <= 2.5.7.1
> >  
> > esd-0.2.41-alt2.i586.rpm provides:
> > esound >= 0.2.14
> >  
> > fbpager-0.1.4-alt7.i586.rpm provides:
> > fluxter >= 0.1.0-alt1
> >  
> > xulrunner-devel-1.9.0.5-alt1.20081205.i586.rpm provides:
> > firefox-devel >= 3.0 
> > 
> > jaxen-1.1-alt1_1jpp1.7.noarch.rpm provides:
> > jaxen-bootstrap <= 1.1-alt1_1jpp1.7
> > 
> > emacs-w3-4.0-alt4.pre.47.20070309.noarch.rpm provides:
> > emacs22-w3 <= 4.0-alt4.pre.47.20070309
> > 
> > Что значат такие provides и зачем они нужны?
> 
> У меня сложилось впечатление, что всё это ошибки.

Такие provides допустимы в действующей модели.  Например,
Provides: foo >= N означает, что требование
Requires: foo >= K будет удовлетворено для любого K вне зависимости от
значения N.

> Может стоит объяснить rpm'у, что 
> (PROVIDEFLAGS & (RPMSENSE_LESS|RPMSENSE_GREATER)) 
> должно быть равно нулю, иначе это ошибка?

Я на вскидку не могу придумать пример нормальной ситуации, в которой
разумно применять интервальные Provides.


-- 
ldv

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

  reply	other threads:[~2008-12-30 22:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-29 20:48 Kirill A. Shutemov
2008-12-30 10:13 ` Alexey Gladkov
2008-12-30 10:21   ` Andrey Rahmatullin
2008-12-31 20:27     ` Michael Shigorin
2008-12-30 20:01 ` Eugene Vlasov
2008-12-30 21:55 ` Kirill A. Shutemov
2008-12-30 22:00   ` Dmitry V. Levin [this message]
2008-12-30 22:10     ` Kirill A. Shutemov

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=20081230220059.GA25983@wo.int.altlinux.org \
    --to=ldv@altlinux.org \
    --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