diff --git a/fix-test-requiring-git-repository.patch b/fix-test-requiring-git-repository.patch deleted file mode 100644 index fca2dbc..0000000 --- a/fix-test-requiring-git-repository.patch +++ /dev/null @@ -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 diff --git a/ruby-build-20250121.tar.gz b/ruby-build-20250121.tar.gz deleted file mode 100644 index 3212caf..0000000 --- a/ruby-build-20250121.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8e69b30941913f7aa3cbf9c464a21e4be43120f631f1ad3cc3992cc273b574cc -size 94174 diff --git a/ruby-build-20250127.tar.gz b/ruby-build-20250127.tar.gz new file mode 100644 index 0000000..377c8ef --- /dev/null +++ b/ruby-build-20250127.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09f5e96be3ea26edb9b2f119195f05cc488085f19302276879c2de079024ec2e +size 94746 diff --git a/ruby-build.changes b/ruby-build.changes index a8a52e4..ec22b73 100644 --- a/ruby-build.changes +++ b/ruby-build.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Jan 27 15:52:32 UTC 2025 - Lukas Müller + +- 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 diff --git a/ruby-build.spec b/ruby-build.spec index 115f303..1fbe878 100644 --- a/ruby-build.spec +++ b/ruby-build.spec @@ -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