Accepting request 1002541 from home:expeehaa:branches:devel:languages:ruby:extensions

- Split dependencies for building different Ruby versions in dedicated packages.

OBS-URL: https://build.opensuse.org/request/show/1002541
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/ruby-build?expand=0&rev=64
This commit is contained in:
Lukas Müller 2022-09-11 22:03:03 +00:00 committed by Git OBS Bridge
parent b320fdc76c
commit f34ab294e2
2 changed files with 29 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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,15 @@ 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.
%prep
%setup -q
@ -81,4 +96,8 @@ bats test
%dir %{_datadir}/ruby-build
%{_datadir}/ruby-build/*
%files dependencies-mri
%files dependencies-jruby
%changelog