Accepting request 1240686 from devel:languages:ruby:extensions

OBS-URL: https://build.opensuse.org/request/show/1240686
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-build?expand=0&rev=73
This commit is contained in:
Ana Guerrero 2025-01-28 13:59:36 +00:00 committed by Git OBS Bridge
commit 2a33daf398
5 changed files with 19 additions and 20 deletions

View File

@ -1,15 +0,0 @@
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

@ -1,3 +0,0 @@
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

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Jan 27 15:52:32 UTC 2025 - Lukas Müller <expeehaa@outlook.com>
- Update to version 20250127.
Changelog: https://github.com/rbenv/ruby-build/releases/tag/v20250127
* Allow "nonexistent version" test to work without brew by @piperswe in #2432
* rbenv install: fix substituting $HOME with "~" by @mislav in #2501
* compute_sha2: drop support for OS X Leopard by @mislav in #2502
* Add TruffleRuby and TruffleRuby GraalVM 24.1.2 by @eregon in #2505
- Remove fix-test-requiring-git-repository.patch.
- Use %fdupes on the installed files.
-------------------------------------------------------------------
Tue Jan 21 22:56:44 UTC 2025 - Lukas Müller <expeehaa@outlook.com>

View File

@ -24,7 +24,7 @@
%endif
Name: ruby-build
Version: 20250121
Version: 20250127
Release: 0
BuildArch: noarch
License: MIT
@ -32,7 +32,7 @@ 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
Patch0: fix-test-requiring-git-repository.patch
BuildRequires: fdupes
%if %{with test}
BuildRequires: bats
%endif
@ -106,6 +106,8 @@ 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