ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Led <ledest@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Отсутствие макроса на этапе создания src.rpm
Date: Wed, 14 May 2008 12:38:37 +0300
Message-ID: <200805141238.37074.ledest@gmail.com> (raw)
In-Reply-To: <482AA82F.3010002@rambler.ru>

Wednesday, 14 May 2008 11:51:59 Yury Aliaev написав:
> Приветствую всех!
>
> Скажите пожалуйста, можно ли обойти такое:
>
> [mutabor@builder SPECS]$ rpm -bs --nodeps xmms-in-modplug.spec
> ошибка: Macro %xmms_inputdir not found
>    2<     %xmms_inputdir
> ошибка: Незакрытая {: {?%xmms_inputdir
>    2<     (пусто)
> ошибка: /srv/mutabor/RPM/SPECS/xmms-in-modplug.spec:31:
> parseExpressionBoolean код возврата: -1
>
> Суть в том, что на этапе сборки src.rpm макрос %xmms_inputdir не нужен,
> тем не менее его отсутствие (появляющееся из-за того, что в сборочной
> среде не установлен пакет xmms-devel) приводит к невозможности собрать
> исходный пакет. Вот строчки из спека, где используется этот макрос:
>
> %ifndef %xmms_inputdir

А разве это правильно? ИМХО правильно
%ifndef xmms_inputdir

>      %define xmms_inputdir %(xmms-config --input-plugin-dir)
> %endif
>
> и далее:
>
> %install
> %make bindir=%buildroot%_bindir \
> plugindir=%buildroot%xmms_inputdir install
>
> %files
> %xmms_inputdir/*.so


-- 
Led

  reply	other threads:[~2008-05-14  9:38 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-14  8:51 Yury Aliaev
2008-05-14  9:38 ` Led [this message]
2008-05-14  9:48 ` Evgeny Sinelnikov
2008-05-14 10:41   ` Yury Aliaev
2008-05-14 11:46     ` Evgeny Sinelnikov
2008-05-15  9:35       ` Yury Aliaev
2008-05-15  9:50         ` Dmitriy M. Maslennikov
2008-05-15 10:47           ` Led
2008-05-15 11:06             ` Dmitriy M. Maslennikov
2008-05-15 12:12               ` Led
2008-05-15 12:26                 ` Dmitriy M. Maslennikov
2008-05-15 13:01                 ` Alexey I. Froloff
2008-05-15 10:32         ` Kirill A. Shutemov
2008-05-15 11:44           ` Yury Aliaev
2008-05-15 17:40             ` Vitaly Ostanin
2008-05-15 17:59               ` Led
2008-05-15 18:09                 ` Vitaly Ostanin
2008-05-16 14:01               ` Yury Aliaev
2008-05-16 14:07                 ` Igor Vlasenko
2008-05-16 15:27                   ` Yury Aliaev
2008-05-16 15:31                     ` Led
2008-05-16 15:34                       ` Led
2008-05-16  3:48         ` Ildar Mulyukov
2008-05-16 11:32           ` Yury Aliaev
2008-05-16 11:39             ` [devel] [JT] " Andriy Khavryuchenko
2008-05-16 12:55             ` [devel] git tutorial Dmitry V. Levin
2008-05-16 15:38               ` Yury Aliaev
2008-05-16 15:48                 ` Alexey Gladkov
2008-05-16 16:08                   ` Yury Aliaev

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=200805141238.37074.ledest@gmail.com \
    --to=ledest@gmail.com \
    --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