From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] girar-builder
Date: Wed, 10 Dec 2008 15:47:53 +0300
Message-ID: <20081210124753.GM21286@altlinux.org> (raw)
In-Reply-To: <20081210123636.GD16518@epbyminw8406h.minsk.epam.com>
[-- Attachment #1: Type: text/plain, Size: 1716 bytes --]
On Wed, Dec 10, 2008 at 02:36:36PM +0200, Kirill A. Shutemov wrote:
> On Wed, Dec 10, 2008 at 12:59:11PM +0200, Michael Shigorin wrote:
> > On Wed, Dec 10, 2008 at 02:40:45AM +0300, Alexey Tourbin wrote:
> > > Специальная обработка ExclusiveArch пока не реализована.
> >
> > А много у нас такого эксклюзива?
>
> $ rpm -qp --qf '%{NAME} %{EXCLUSIVEARCH}\n' * | grep -v '(none)$'
> apmd i386
> appliance-fake-cedega i386
> appliance-fake-utm i386
> appliance-fake-vzmc i386
> atlas i386
В atlas написано 'ExclusiveArch: %ix86 amd64 x86_64', то есть этот пакет
собирается на двух основных архитектурах, что также дает возможность
проверить идентичность noarch подпакетов. Фактически atlas не относится
к ExclusiveArch (в рамках нашей задачи, как она сейчас стоит).
Запрос надо было написать так:
$ rpm -qp --qf '[%{=NAME}\t%{EXCLUSIVEARCH}\n]' /ALT/Sisyphus/files/SRPMS/atlas-3.7.11-alt6.src.rpm
atlas i386
atlas i486
atlas i586
atlas i686
atlas i786
atlas i886
atlas i986
atlas pentium2
atlas pentium3
atlas pentium4
atlas k6
atlas athlon
atlas athlon_xp
atlas amd64
atlas x86_64
$
И, соответственно, отбирать по более хитрому условию.
Сначала соединить i586 и x86_64 по второй колонке (и получить список
пакетов, которые собираются на двух основных архитектурах), затем
вычесть по первой колонке (то есть из общего списка пакетов вычесть
список пакетов, которые поддерживают основные архитектуры).
И есть другие таги, напр. BuildArch (если значение BuildArch не равно
noarch). Я с ходу точно не знаю, как учесть все эти разные возможности.
Короче, для тестового запуска я считаю проблему ExclusiveArch
не принципиально важной.
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-12-10 12:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-09 23:40 Alexey Tourbin
2008-12-10 6:08 ` Mikhail Gusarov
2008-12-10 11:22 ` Dmitry V. Levin
2008-12-10 12:16 ` Alexey Tourbin
2008-12-10 12:10 ` Alexey Tourbin
2008-12-10 10:59 ` Michael Shigorin
2008-12-10 12:25 ` Alexey Tourbin
2008-12-10 12:36 ` Kirill A. Shutemov
2008-12-10 12:47 ` Alexey Tourbin [this message]
2008-12-10 11:03 ` Kirill A. Shutemov
2008-12-10 12:30 ` Alexey Tourbin
2008-12-11 12:05 ` Aleksey Avdeev
2008-12-12 21:57 ` Kirill A. Shutemov
2008-12-12 23:19 ` Dmitry V. Levin
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=20081210124753.GM21286@altlinux.org \
--to=at@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