ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Led <led@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] re- %def_enable / %def_disable
Date: Tue, 16 May 2006 18:32:12 +0300
Message-ID: <200605161832.12459.led@altlinux.ru> (raw)
In-Reply-To: <20060516152622.GA9296@basalt.office.altlinux.org>

В сообщении от 16 мая 2006 18:26 Dmitry V. Levin написал(a):
> On Tue, May 16, 2006 at 06:13:43PM +0300, Led wrote:
> > Конструкция типа:
> >
> > %def_disable gpl
> >
> > %def_enable pp
> >
> > %if_disabled gpl
> > %def_disable pp
> > %endif
> >
> > у нас не работает? :(
>
> %def_{en,dis}able pp должен быть один.
> Если надо принудительно изменить значение, используйте %force_{en,dis}able
> В вашем случае можно так попробовать:
>
> %if_disabled gpl
> %def_disable pp
> %else
> %def_enable pp
> %endif

Нет, этот вариант вряд ли уместен в моём случае: там насколько "навороченно", 
что "читаемость" спека окажется "никакой".

Спасибо! Про %force_{en,dis}able я "недоглядел"...

-- 
Led.


  reply	other threads:[~2006-05-16 15:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-16 15:13 Led
2006-05-16 15:26 ` Dmitry V. Levin
2006-05-16 15:32   ` Led [this message]
2006-05-16 17:44     ` [devel] [JT] " Konstantin A. Lepikhov
2006-05-16 18:35       ` Led

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=200605161832.12459.led@altlinux.ru \
    --to=led@altlinux.ru \
    --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