ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Гемификация пакетов Ruby
@ 2018-06-26 14:12 Andrey Cherepanov
  2018-06-27 13:28 ` Vitaly Lipatov
  2018-06-28  5:09 ` Anton Farygin
  0 siblings, 2 replies; 7+ messages in thread
From: Andrey Cherepanov @ 2018-06-26 14:12 UTC (permalink / raw)
  To: sisyphus

В 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 принимает через пробел перечисление названий
модулей.

-- 
Andrey Cherepanov
cas@altlinux.org



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-06-29 11:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-26 14:12 [sisyphus] Гемификация пакетов Ruby 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

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