From: Andrey Cherepanov <cas@altlinux.org>
To: Anton Farygin <rider@basealt.ru>,
ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Гемификация пакетов Ruby
Date: Fri, 29 Jun 2018 14:15:35 +0300
Message-ID: <4c6d6368-e1b4-0f10-e40e-22be88e524cb@altlinux.org> (raw)
In-Reply-To: <abe04b95-0c3d-6ad2-1386-cd30dc4ca5a9@basealt.ru>
28.06.2018 08:09, Anton Farygin пишет:
> А это из-за этого отъехала сборка порядка полусотни пакетов ruby в
> Sisyphus ?
>
> 26.06.2018 17:12, Andrey Cherepanov пишет:
>> В Sisyphus отправлены rpm-build-ruby и ruby-tool-setup, которые
>> позволяют автоматически устанавливать (но не упаковывать) gemspec'и
>> пакетов Ruby.
>>
>> Таким образом, любой пакет при пересборке при наличии апстримного
>> gemspec будет упаковываться как gem: библиотеки, как обычно, в
>> /usr/lib/ruby/site_ruby, а очищенный *.gemspec - в
>> /usr/lib/ruby/gems/2.5.0/specifications/
>>
>> Чтобы опакетить *.gemspec, добавьте в секцию %files
>>
>> %rubygem_specdir/*.gemspec
>>
>> Также появилась удобная запись для игнорируемых в автозависимостях
>> модулей Ruby:
>>
>> Было: %filter_from_requires /^ruby(mathn)$/d
>> Стало: %add_ruby_req_skip mathn
>>
>> Макрос %add_ruby_req_skip принимает через пробел перечисление названий
>> модулей.
>>
Не полсотни, а около 800. Я вчера отправил исправление. Никакие прежние
gemspec это повредить не может, но я ещё не смотрел.
--
Andrey Cherepanov
cas@altlinux.org
prev parent reply other threads:[~2018-06-29 11:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-26 14:12 Andrey Cherepanov
2018-06-27 13:28 ` Vitaly Lipatov
2018-06-27 15:50 ` Michael Shigorin
2018-06-29 11:14 ` Andrey Cherepanov
2018-06-28 5:09 ` Anton Farygin
2018-06-28 6:20 ` Denis Medvedev
2018-06-29 11:15 ` Andrey Cherepanov [this message]
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=4c6d6368-e1b4-0f10-e40e-22be88e524cb@altlinux.org \
--to=cas@altlinux.org \
--cc=rider@basealt.ru \
--cc=sisyphus@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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git