From 0674f47a9beb8ff1cb9e878bf3ac496ad12375bef79603c168399206fe4e0aaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20M=C3=BCller?= Date: Wed, 8 Nov 2023 00:18:07 +0000 Subject: [PATCH] Accepting request 1124141 from home:expeehaa:branches:devel:languages:ruby:extensions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to version 20231107. Changelog: https://github.com/rbenv/ruby-build/releases/tag/v20231107 * ruby-build now prints external commands as they are executed - @mislav in #2230 Now there is more transparency to what ruby-build does: at the glance of the output, it should be clear that ruby-build is mostly just a wrapper around the curl → untar → `./configure` → `make` → `make install` combo. Furthermore, when an error arises, it should now be more apparent which build step failed, even before having to dive into the log file. Additionally, network downloaders such as `curl`, `wget`, and `git` are now connected directly to the terminal, allowing them to display progress information. In `ruby-build --verbose` mode, the output of all external commands is now connected to the same stdout/stderr as the ruby-build process, and a log file doesn't get created anymore. The "BUILD FAILED" output is now improved: it includes CPU architecture information and is cleaner, drawing attention to the location of the build log on disk. (Most often, the real cause of a build failure is only discoverable via the log.) * Automatically link to Homebrew OpenSSL by @mislav in #2275 #2292 With this change, it is no longer necessary to set `RUBY_CONFIGURE_OPTS=--with-openssl-dir=...` after doing `brew install openssl@3`. An appropriate OpenSSL version installed with Homebrew will get used for configuring Ruby automatically, even if the formula is "keg-only". * Add JRuby 9.4.5.0 and 9.3.13.0 by @headius in #2289 * Add `ruby-build(1)` man page by @mislav in #2297 * Respect NO_COLOR and CLICOLOR_FORCE by @mislav in #2295 * Remove support for Topaz and Maglev by @mislav in #2294 * Unmark Ruby 2.7 as soon-to-be-EOL since it's already EOL by @mislav in #2286 OBS-URL: https://build.opensuse.org/request/show/1124141 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/ruby-build?expand=0&rev=132 --- fix-test-requiring-git-repository.patch | 8 ++++---- ruby-build-20231025.tar.gz | 3 --- ruby-build-20231107.tar.gz | 3 +++ ruby-build.changes | 18 ++++++++++++++++++ ruby-build.spec | 3 ++- 5 files changed, 27 insertions(+), 8 deletions(-) delete mode 100644 ruby-build-20231025.tar.gz create mode 100644 ruby-build-20231107.tar.gz diff --git a/fix-test-requiring-git-repository.patch b/fix-test-requiring-git-repository.patch index 581ee70..fca2dbc 100644 --- a/fix-test-requiring-git-repository.patch +++ b/fix-test-requiring-git-repository.patch @@ -1,14 +1,14 @@ diff --git a/test/rbenv.bats b/test/rbenv.bats -index bca34d3..3b981f3 100644 +index 4496b1f..a73ad79 100644 --- a/test/rbenv.bats +++ b/test/rbenv.bats -@@ -66,9 +66,7 @@ The following versions contain \`1.9.3' in the name: +@@ -103,9 +103,7 @@ The following versions contain \`1.9.3' in the name: - See all available versions with \`rbenv install --list'. + 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}/.. pull +- git -C ${BATS_TEST_DIRNAME/$HOME\//~/}/.. pull +If the version you need is missing, try upgrading ruby-build. OUT diff --git a/ruby-build-20231025.tar.gz b/ruby-build-20231025.tar.gz deleted file mode 100644 index e2bdef4..0000000 --- a/ruby-build-20231025.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c8fd5f12837d89a6dece6a19deb69275618064aba56e167943203134a7bfedcc -size 81704 diff --git a/ruby-build-20231107.tar.gz b/ruby-build-20231107.tar.gz new file mode 100644 index 0000000..2f6b039 --- /dev/null +++ b/ruby-build-20231107.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:97b5a2d23416033ded5c422f947c1188da7e635d82481f60c7b055a5cc64be88 +size 85433 diff --git a/ruby-build.changes b/ruby-build.changes index 187f6fa..bbd1912 100644 --- a/ruby-build.changes +++ b/ruby-build.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Tue Nov 7 21:13:29 UTC 2023 - Lukas Müller + +- Update to version 20231107. + Changelog: https://github.com/rbenv/ruby-build/releases/tag/v20231107 + * ruby-build now prints external commands as they are executed - @mislav in #2230 + Now there is more transparency to what ruby-build does: at the glance of the output, it should be clear that ruby-build is mostly just a wrapper around the curl → untar → `./configure` → `make` → `make install` combo. Furthermore, when an error arises, it should now be more apparent which build step failed, even before having to dive into the log file. + Additionally, network downloaders such as `curl`, `wget`, and `git` are now connected directly to the terminal, allowing them to display progress information. + In `ruby-build --verbose` mode, the output of all external commands is now connected to the same stdout/stderr as the ruby-build process, and a log file doesn't get created anymore. + The "BUILD FAILED" output is now improved: it includes CPU architecture information and is cleaner, drawing attention to the location of the build log on disk. (Most often, the real cause of a build failure is only discoverable via the log.) + * Automatically link to Homebrew OpenSSL by @mislav in #2275 #2292 + With this change, it is no longer necessary to set `RUBY_CONFIGURE_OPTS=--with-openssl-dir=...` after doing `brew install openssl@3`. An appropriate OpenSSL version installed with Homebrew will get used for configuring Ruby automatically, even if the formula is "keg-only". + * Add JRuby 9.4.5.0 and 9.3.13.0 by @headius in #2289 + * Add `ruby-build(1)` man page by @mislav in #2297 + * Respect NO_COLOR and CLICOLOR_FORCE by @mislav in #2295 + * Remove support for Topaz and Maglev by @mislav in #2294 + * Unmark Ruby 2.7 as soon-to-be-EOL since it's already EOL by @mislav in #2286 + ------------------------------------------------------------------- Wed Oct 25 15:19:46 UTC 2023 - Lukas Müller diff --git a/ruby-build.spec b/ruby-build.spec index 1580e3b..e603643 100644 --- a/ruby-build.spec +++ b/ruby-build.spec @@ -24,7 +24,7 @@ %endif Name: ruby-build -Version: 20231025 +Version: 20231107 Release: 0 BuildArch: noarch License: MIT @@ -119,6 +119,7 @@ bats test %{_bindir}/* %dir %{_datadir}/ruby-build %{_datadir}/ruby-build/* +%{_mandir}/man1/ruby-build* %files dependencies-mri