From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] rpmvercmp?
Date: Fri, 14 Sep 2007 04:08:52 +0400
Message-ID: <20070914000852.GG3619@basalt.office.altlinux.org> (raw)
In-Reply-To: <9713cfcc0709131635v18b04e2dt32be9f05ec889c0d@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 893 bytes --]
On Fri, Sep 14, 2007 at 02:35:17AM +0300, Led wrote:
> 2007/9/14, Dmitry V. Levin:
> > On Thu, Sep 13, 2007 at 07:29:58PM +0300, Led wrote:
> > > Нельзя ли в подобном этому:
> > > %if %(rpmvercmp %{get_version libflac-devel} 1.1.3) >= 0
> > > случаях обойтись макросами?
> > > А то из-за rpmvercmp приходится добавлять
> > > BuildPreReq: rpm-utils
> >
> > Это в продолжение предложения
> > https://bugzilla.altlinux.org/show_bug.cgi?id=6010#c13
> > ?
>
> Это обсуждение я как-то пропустил...
> Я, вообще-то, ничего не предлагаю. Просто понадобился "условный subst"
> в пакете, я нашёл только вышеуказанный способ. Вот и решил спросить
> на всякий случай: нет ли более правильного варианта решения и без
> зависимости сборки от rpm-utils. Я так понял, что другого варианта нет
> (?)
Другим вариантом было бы реализовать макрос %rpmvercmp прямо в librpmio.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2007-09-14 0:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-13 16:29 Led
2007-09-13 23:24 ` Dmitry V. Levin
2007-09-13 23:35 ` Led
2007-09-14 0:08 ` 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=20070914000852.GG3619@basalt.office.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