- Update to version 20250507.

Changelog: https://github.com/rbenv/ruby-build/releases/tag/v20250507
  * Add JRuby 10.0.0.1 and 9.4.12.1 by @headius in #2530

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/ruby-build?expand=0&rev=216
This commit is contained in:
2025-05-07 18:39:26 +00:00
committed by Git OBS Bridge
commit 6b1cc6dea1
28 changed files with 1287 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,15 @@
diff --git a/test/rbenv.bats b/test/rbenv.bats
index 4496b1f..a73ad79 100644
--- a/test/rbenv.bats
+++ b/test/rbenv.bats
@@ -103,9 +103,7 @@ The following versions contain \`1.9.3' in the name:
See all available versions with \`rbenv install --list-all'.
-If the version you need is missing, try upgrading ruby-build:
-
- git -C ${BATS_TEST_DIRNAME/$HOME\//~/}/.. pull
+If the version you need is missing, try upgrading ruby-build.
OUT
unstub brew

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b1a35279c0c1b6eb308cb607d90b470b7b89f04372c512aec38bc934e109faeb
size 90015

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e20be01cab3bafa924f33096e9ce9ed56ffeab47f6656d81049c2702114e9b55
size 90442

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6359deb8694e19c00af37cadef239af7e3f00e63d89e9333870bbb0178d039c
size 90469

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e6b763ecfc3e6fa7c5b5aeb8ed9df5eaabeb0639ca36b776afc26232efda1e25
size 91578

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2521c72fe24387958e0b1bdf77b824bd465e2e3c1a00e7104119f098ae879559
size 92143

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3670ae797e03f54365bf7bf07194b19a666c2ad15847a505b16023d66a6de1df
size 92517

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3e876c13dc6a5f6a24276d9da9d0126cef3c21354dd33499e6772eeb48692072
size 92997

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21b95d0cd726914f6cd8c8271cbe293f5f7705256fa4ac89793f9f66cbc9a1d2
size 93049

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5023c0225249b409e5936c70ae5c7cebe731566da686d6fbe3f7f5b09d6323ef
size 93112

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ae43d89f54b8765d04673fa9da993143ac5269c1ae2671509c3d3fab73f06d20
size 93369

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3de300a2d02fb4045f2d402465647802a64b626e73907210f13c4260a5a64ec
size 93700

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8e69b30941913f7aa3cbf9c464a21e4be43120f631f1ad3cc3992cc273b574cc
size 94174

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:09f5e96be3ea26edb9b2f119195f05cc488085f19302276879c2de079024ec2e
size 94746

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d8ef29edc281ee4c8a6e1d0ff7bbd9609fd9275a8993ba24a288151e054aa470
size 94812

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1ac47d39c32b96be44d81abc3146f46e71d5a89adbb67de4d665f96d15ad1a28
size 94953

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af7a012e14585d6e9cd2a80e50bc31abc389e49f704302a2def40a74ccd145c0
size 95016

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:48a70b18e2e2545e4e68e7c7ea0501e748692b8a60e61cc1dc4354dc4b7cfcb0
size 95138

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:71dae9b458cfbf35a4257c89b088d49f7f73034c5a080ca7fd5040392b6674fa
size 95606

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f028a6dbe4c9e6a95e0fa9edc8741bf76ab74a47766a99bdf3d302763f53ce2c
size 95743

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0fafe44583bef0c006466c6c44cbb41adc7e36398ce44eb2c33ccbca4611e3ea
size 96034

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3610f8acdb750ab0be0bbc197cc722f8e1b4ea5e914ea0568d99d0a6c3ea76f6
size 96055

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:06e2a934f84102ed6aff430d73c76f2051c70d8aecd4d3b3dfb94f71e790f986
size 96521

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59992f934dccb48d2547969efd3075a5338617e02a5bff8c566ca1e51b6d349d
size 96694

1045
ruby-build.changes Normal file

File diff suppressed because it is too large Load Diff

134
ruby-build.spec Normal file
View File

@@ -0,0 +1,134 @@
#
# spec file for package ruby-build
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# SLE does not provide "bats", which is required for testing.
%if %{undefined sle_version}
%bcond_without test
%else
%bcond_with test
%endif
Name: ruby-build
Version: 20250507
Release: 0
BuildArch: noarch
License: MIT
Group: Development/Languages/Ruby
URL: https://github.com/rbenv/ruby-build
Summary: Compile and install Ruby
Source0: https://github.com/rbenv/ruby-build/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: fdupes
%if %{with test}
BuildRequires: bats
%endif
Requires: bash
Requires: curl
Requires: gzip
Requires: make
Requires: tar
# 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: Meta package for dependencies to build MRI
Requires: automake
Requires: bison
Requires: gcc
Requires: gdbm-devel
Requires: gperf
Requires: graphviz
Requires: libffi-devel
Requires: libjpeg-devel
Requires: libyaml-devel
Requires: openssl-devel
Requires: readline-devel
Requires: tk-devel
%description dependencies-mri
Meta package for ruby-build dependencies to build MRI.
%package dependencies-jruby
Summary: Meta package for dependencies to build JRuby
Requires: gcc-c++
%description dependencies-jruby
Meta package for ruby-build dependencies to build JRuby.
%package dependencies-truffleruby
Summary: Meta package for dependencies to build TruffleRuby
Requires: gcc
Requires: openssl-devel
%description dependencies-truffleruby
Meta package for ruby-build dependencies to build TruffleRuby.
%package dependencies-mruby
Summary: Meta package for dependencies to build mruby
Requires: gcc
Requires: git
%description dependencies-mruby
Meta package for ruby-build dependencies to build mruby.
%package dependencies-picoruby
Summary: Meta package for dependencies to build PicoRuby
Requires: gcc
Requires: git
%description dependencies-picoruby
Meta package for ruby-build dependencies to build PicoRuby.
%prep
%autosetup -p1
%build
%install
PREFIX="%{buildroot}%{_prefix}" ./install.sh
sed -i 's|#!/usr/bin/env bash|#!/bin/bash|g' %{buildroot}%{_bindir}/*
%fdupes %{buildroot}%{_datadir}/ruby-build
%check
%if %{with test}
bats test
%endif
%files
%license LICENSE
%doc README.md
%{_bindir}/*
%dir %{_datadir}/ruby-build
%{_datadir}/ruby-build/*
%{_mandir}/man1/ruby-build*
%files dependencies-mri
%files dependencies-jruby
%files dependencies-truffleruby
%files dependencies-mruby
%files dependencies-picoruby
%changelog