ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: [devel] Re: Проблема с макросами %def_enable & Co
Date: Sat, 7 Feb 2004 01:01:03 +0300
Message-ID: <20040206220103.GC1621@av1046.comex.ru> (raw)
In-Reply-To: <20040206111849.GH9608@pyro.hopawar.private.net>

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

Hello Alexey,

On Fri, Feb 06, 2004 at 05:18:49PM +0600, Alexey Morozov wrote:
>
> Собственно, проблема простая:
> 
> Если условная переменная содержит '-' в середине, то содержимое этой
> переменной становится странным (и не работают должным образом макросы
> %{enable smth}):
> Это как-нибудь лечится? Сходу я не понял, где это в def_enable может
> такая засада твориться. Разве что, у rpm'а есть некоторые представления
> о границе идентификаторов, и мы на эти границы наступаем.

%def_enable реализован как подстановка параметра в имена других
макросов. Так что параметр должен подчиняться синтаксису этих имён.

> Я понимаю, что если "не делайте так, если больно", но очень уж хотелось
> подсунуть в %configure соответствующие ключики напрямую, без
> %if_enabled ab-cd
> %else
> %endif

К сожалению, этого сделать нельзя.

-- 
Stay tuned,
  MhZ                                     JID: mhz@altlinux.org
___________
Why do seagulls live near the sea?  'Cause if they lived near the bay,
they'd be called baygulls.

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

      reply	other threads:[~2004-02-06 22:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-06 11:18 [devel] " Alexey Morozov
2004-02-06 22:01 ` Mikhail Zabaluev [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=20040206220103.GC1621@av1046.comex.ru \
    --to=mhz@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