ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.org>
Subject: Re: [devel] Что за фигня у incoming'a с проверкой макросов в спеках?
Date: Thu, 13 Oct 2005 04:44:32 +0400
Message-ID: <20051013004432.GB15966@basalt.office.altlinux.org> (raw)
In-Reply-To: <20051012124947.GA14672@basalt.office.altlinux.org>

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

On Wed, Oct 12, 2005 at 04:49:47PM +0400, Dmitry V. Levin wrote:
> On Wed, Oct 12, 2005 at 04:07:24PM +0400, Илья Евсеев wrote:
[...]
> > В связи с этим у меня просьба-вопрос:
> > нельзя ли добавить такой макрос, который будет включать/отключать
> > поиск неопределённых макросов внутри комментариев?
> 
> Реализовать это непросто.  Препроцессор, раскрывающий макросы, ещё не знает
> о том, что бывают на свете комментарии.
> 
> Мне удалось его обучить, что бывают секции, в которых нераскрытые макросы
> допустимы, как раньше.
> 
> Подождите до следующей тестовой пересборки, может я чего-нибудь придумаю.

* Thu Oct 13 2005 Dmitry V. Levin <ldv@altlinux> 4.0.4-alt51
- rpmio/macro.c, build/parseSpec:
  + When %_allow_undefined_macros is set to true value,
    pass undefined macros but issue warning messages.
  + When processing section where comments should be skipped,
    pass undefined macros within comments but issue warning messages.
  + When processing %prep, %build, %install and %clean sections,
    pass undefined macros and issue warning messages.


-- 
ldv

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

      parent reply	other threads:[~2005-10-13  0:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-12 12:07 Илья Евсеев
2005-10-12 12:18 ` [devel] " Michael Shigorin
2005-10-12 12:37   ` Sergey V Turchin
2005-10-12 12:49 ` [devel] " Dmitry V. Levin
2005-10-12 13:25   ` Sergey V Turchin
2005-10-12 13:48     ` Dmitry V. Levin
2005-10-13  8:17       ` Sergey V Turchin
2005-10-12 13:55     ` Alexey Gladkov
2005-10-12 17:04       ` Igor Zubkov
2005-10-12 18:10         ` Alexey Gladkov
2005-10-13  7:30           ` Kirill A. Shutemov
2005-10-13  0:44   ` 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=20051013004432.GB15966@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@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