ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] rpmvercmp?
@ 2007-09-13 16:29 Led
  2007-09-13 23:24 ` Dmitry V. Levin
  0 siblings, 1 reply; 4+ messages in thread
From: Led @ 2007-09-13 16:29 UTC (permalink / raw)
  To: ALT Devel discussion list

Нельзя ли в подобном этому:
%if %(rpmvercmp %{get_version libflac-devel} 1.1.3) >= 0
случаях обойтись макросами?
А то из-за rpmvercmp приходится добавлять
BuildPreReq: rpm-utils

-- 
Led

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] rpmvercmp?
  2007-09-13 16:29 [devel] rpmvercmp? Led
@ 2007-09-13 23:24 ` Dmitry V. Levin
  2007-09-13 23:35   ` Led
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry V. Levin @ 2007-09-13 23:24 UTC (permalink / raw)
  To: ALT Devel discussion list

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

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
?


-- 
ldv

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] rpmvercmp?
  2007-09-13 23:24 ` Dmitry V. Levin
@ 2007-09-13 23:35   ` Led
  2007-09-14  0:08     ` Dmitry V. Levin
  0 siblings, 1 reply; 4+ messages in thread
From: Led @ 2007-09-13 23:35 UTC (permalink / raw)
  To: ALT Linux Team development discussions

2007/9/14, Dmitry V. Levin <ldv@altlinux.org>:
> 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. Я так понял, что другого варианта нет
(?)

-- 
Led.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] rpmvercmp?
  2007-09-13 23:35   ` Led
@ 2007-09-14  0:08     ` Dmitry V. Levin
  0 siblings, 0 replies; 4+ messages in thread
From: Dmitry V. Levin @ 2007-09-14  0:08 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-09-14  0:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-13 16:29 [devel] rpmvercmp? Led
2007-09-13 23:24 ` Dmitry V. Levin
2007-09-13 23:35   ` Led
2007-09-14  0:08     ` Dmitry V. Levin

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