ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Alexey I. Froloff" <raorn@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] [spec-lynch] vim.spec
Date: Sun, 11 Oct 2009 19:55:12 +0400
Message-ID: <20091011155512.GB10790@altlinux.org> (raw)
In-Reply-To: <20091011145503.GA8446@atlas.home>

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

On Sun, Oct 11, 2009 at 06:55:03PM +0400, Sergey Vlasov wrote:
> >  726 %%mkvimspell(L:a)       %%{!-L:%%{!-a:%%{error:mkvimspell: neither language nor -a is specified} }}%%{-L:env LANG="%%{-L*}"} %_bindir/vim-console -E -X -N -n -i NONE -u NONE -U NONE -c 'mkspell! %%{-a:-ascii} %%*' -c q
> > Макрос использует vim-console, однако rpm-build-vim от него не
> > зависит.
> С другой стороны, не всем пользователям rpm-build-vim нужен этот
> макрос...
Тут выбор полные vs. достаточные зависимости.  В данном случае
чуть более чем 92.7% пользователей пакета rpm-build-vim не
используют этот макрос, поэтому было принято решение эту
зависимость не проставлять.

> Можно ещё cat <<'EOF' - тогда от sh ничего экранировать не нужно.
Уж не башизм ли это?

> Вариант с отдельным Source не всегда удобен - иногда нужно раскрыть
> какие-нибудь %macros в содержимом файла, тогда может быть проще
> сделать heredoc, чем плодить sed.
Именно так.  Но после сборки надо обязательно проверять
результат, я пару раз в этом месте ошибся ;-)

-- 
Regards,
Sir Raorn.

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

  reply	other threads:[~2009-10-11 15:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-11 13:10 Alexey I. Froloff
2009-10-11 14:55 ` Sergey Vlasov
2009-10-11 15:55   ` Alexey I. Froloff [this message]
2009-10-11 16:36     ` Sergey Vlasov
2009-10-11 19:36       ` Alexey Rusakov

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=20091011155512.GB10790@altlinux.org \
    --to=raorn@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