SHA256
1
0
forked from pool/ruby-build

Accepting request 1002552 from devel:languages:ruby:extensions

OBS-URL: https://build.opensuse.org/request/show/1002552
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-build?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2022-09-12 17:08:07 +00:00 committed by Git OBS Bridge
commit c636bcf965
2 changed files with 64 additions and 5 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Sep 12 00:17:02 UTC 2022 - Lukas Müller <expeehaa@outlook.com>
- Add dependency packages for more Ruby interpreters.
-------------------------------------------------------------------
Sun Sep 11 21:27:04 UTC 2022 - Lukas Müller <expeehaa@outlook.com>
- Split dependencies for building different Ruby versions in dedicated packages.
-------------------------------------------------------------------
Sat Sep 10 12:15:54 UTC 2022 - Lukas Müller <expeehaa@outlook.com>

View File

@ -38,12 +38,20 @@ BuildRequires: bats
%endif
Requires: bash
Requires: curl
Requires: gcc
Requires: gzip
Requires: make
Requires: tar
# ruby MRI BuildRequires
Requires: bison
# Maybe Requires would be better.
Recommends: %{name}-dependencies-mri
%description
ruby-build provides a simple way to compile and install different versions of Ruby on UNIX-like systems.
%package dependencies-mri
Summary: ruby-build dependencies for building MRI
Requires: automake
Requires: bison
Requires: gcc
Requires: gdbm-devel
Requires: gperf
Requires: graphviz
@ -54,8 +62,39 @@ Requires: openssl-devel
Requires: readline-devel
Requires: tk-devel
%description
ruby-build provides a simple way to compile and install different versions of Ruby on UNIX-like systems.
%description dependencies-mri
ruby-build dependencies for building MRI.
%package dependencies-jruby
Summary: ruby-build dependencies for building JRuby
Requires: gcc-c++
%description dependencies-jruby
ruby-build dependencies for building JRuby.
%package dependencies-truffleruby
Summary: ruby-build dependencies for building TruffleRuby
Requires: gcc
Requires: openssl-devel
%description dependencies-truffleruby
ruby-build dependencies for building TruffleRuby.
%package dependencies-mruby
Summary: ruby-build dependencies for building mruby
Requires: gcc
Requires: git
%description dependencies-mruby
ruby-build dependencies for building mruby.
%package dependencies-picoruby
Summary: ruby-build dependencies for building PicoRuby
Requires: gcc
Requires: git
%description dependencies-picoruby
ruby-build dependencies for building PicoRuby.
%prep
%setup -q
@ -81,4 +120,14 @@ bats test
%dir %{_datadir}/ruby-build
%{_datadir}/ruby-build/*
%files dependencies-mri
%files dependencies-jruby
%files dependencies-truffleruby
%files dependencies-mruby
%files dependencies-picoruby
%changelog