ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] [upravdom@altlinux.org: E: incoming i586 reject: mlt-0.2.2-alt0.4]
Date: Wed, 14 Feb 2007 19:17:15 +0300
Message-ID: <20070214161714.GP23550@master.mivlgu.local> (raw)
In-Reply-To: <200702141735.40196.led@altlinux.ru>

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

On Wed, Feb 14, 2007 at 05:35:40PM +0200, Led wrote:
> В сообщении от Среда 14 февраля 2007 Dmitry V. Levin написал(a):
> > On Wed, Feb 14, 2007 at 04:31:44PM +0200, Led wrote:
> > > В сообщении от Среда 14 февраля 2007 Damir Shayhutdinov написал(a):
> > > > > Он и на i586 соберётся, только... если src.rpm будет тоже собран на
> > > > > i586...
> > > >
> > > > А это еще почему?
> > >
> > > Потому что:
> > >
> > > %def_enable sox
> > > .....
> > > %ifnarch %ix86
> > > %set_disable sox
> > > %endif
> > > ......
> > > %{?_enable_sox:BuildRequires: sox-devel libmad-devel}
> >
> > Такой пакет через incoming не пройдёт.
> 
> А такой пройдёт?
> 
> %def_enable sox
> .....
> %{?_enable_sox:BuildRequires: sox-devel libmad-devel}
> .....
> %ifnarch %ix86
> %set_disable sox
> %endif
> ......

Такой пройдёт при условии наличия пакетов sox-devel и libmad-devel на
всех архитектурах (и при условии, что установка %set_disable sox
корректно отключает использование sox при сборке, даже если в
сборочной системе установлен пакет sox-devel).

BuildRequires, зависящие от архитектуры, не работают из-за того, что
список зависимостей фиксируется при выполнении rpmbuild -bs - в
src.rpm попадают только имена и требуемые версии пакетов.  Вот при
внедрении сборки из git теоретически возможна поддержка подобных
фокусов (поскольку в этом случае src.rpm формируется в процессе
сборки, и зависимости в нём могут быть выбраны в соответствии с
архитектурой сборочной системы).

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

  reply	other threads:[~2007-02-14 16:17 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-14 14:05 Alexey Morsov
2007-02-14 14:13 ` Led
2007-02-14 14:16   ` Alexey Morsov
2007-02-14 14:26     ` Led
2007-02-14 14:25   ` Damir Shayhutdinov
2007-02-14 14:31     ` Led
2007-02-14 14:51       ` Damir Shayhutdinov
2007-02-14 14:57         ` Led
2007-02-14 14:59           ` Damir Shayhutdinov
2007-02-14 15:09             ` Led
2007-02-14 15:24       ` Dmitry V. Levin
2007-02-14 15:29         ` Led
2007-02-14 15:35         ` Led
2007-02-14 16:17           ` Sergey Vlasov [this message]
2007-02-14 16:32             ` Led
2007-02-14 22:57   ` Денис Смирнов
2007-02-14 15:02     ` Led
2007-02-14 23:15       ` Денис Смирнов
2007-02-14 15:22         ` Alexey Morsov
2007-02-14 15:25           ` Led
2007-02-14 16:19             ` Sergey Vlasov
2007-02-14 16:35               ` Led
2007-02-14 19:13                 ` Alexey Morsov
2007-02-15 10:42                   ` Led
2007-02-15 10:34               ` Денис Смирнов
2007-02-15 15:45               ` Andrey Rahmatullin
2007-02-14 15:24         ` Led
2007-02-16 13:22           ` Денис Смирнов
2007-02-16 13:30             ` Led
2007-02-16 15:16               ` Alexey Morsov
2007-02-16 15:18                 ` 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=20070214161714.GP23550@master.mivlgu.local \
    --to=vsu@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