From: Andrey Cherepanov <cas@altlinux.org> To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>, ALT Devel discussion list <devel@lists.altlinux.org> Subject: [devel] Новая схема зависимостей пакетов Ruby Date: Mon, 17 Sep 2018 11:20:13 +0300 Message-ID: <5ce9f180-c2a4-4d7e-5c77-ac2cace2d722@altlinux.org> (raw) Сегодня в Sisyphus собрана новая версия rpm-build-ruby и пересобраны пакеты с ней. Важной особенностью является переход с автозависимостей пакетов Ruby с подключением библиотек, указанные в require на зависимости, которые указаны разработчиками в файле gemspec. Это позволит получить все необходимые пакеты как Gem'ы. Для этого предоставляются и требуются зависимости вида: ruby-gem(имя_гема) Для совместимости с Fedora также предоставляется rubygem(имя_гема). Для сборки пакета как Gem'а по новой схеме достаточно использовать в секции %install макрос %ruby_install В секции %files: %rubygem_specdir/* Технически применяется схема Debian с установкой пакета через доработанный ruby-tool-setup (который указывать явно уже не нужно, он вытягивается rpm-build-ruby), который также устанавливает gemspec и Gemfile. По ним и определяются с помощью ruby-bundler provides и requires. -- Andrey Cherepanov cas@altlinux.org
reply other threads:[~2018-09-17 8:20 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=5ce9f180-c2a4-4d7e-5c77-ac2cace2d722@altlinux.org \ --to=cas@altlinux.org \ --cc=devel@lists.altlinux.org \ --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 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