Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ruby-build for openSUSE:Factory checked in at 2026-09-02 17:13:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ruby-build (Old) and /work/SRC/openSUSE:Factory/.ruby-build.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ruby-build" Wed Sep 2 17:13:10 2026 rev:116 rq:1375408 version:20260902 Changes: -------- --- /work/SRC/openSUSE:Factory/ruby-build/ruby-build.changes 2026-07-17 01:42:48.855914397 +0200 +++ /work/SRC/openSUSE:Factory/.ruby-build.new.1265/ruby-build.changes 2026-09-02 17:13:11.887186452 +0200 @@ -1,0 +2,8 @@ +Wed Sep 2 14:18:13 UTC 2026 - Lukas Müller <[email protected]> + +- Update to version 20260902. + Changelog: https://github.com/rbenv/ruby-build/releases/tag/v20260902 + * JRuby 10.1.1.0 by @headius in #2635 + * Produce optimized builds for `ruby-dev`, Ruby < 3.2 on Fedora 42+ after regression in ruby-build 20250716 by @eregon in #2638 + +------------------------------------------------------------------- Old: ---- ruby-build-20260716.tar.gz New: ---- ruby-build-20260902.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ruby-build.spec ++++++ --- /var/tmp/diff_new_pack.1nsm4Y/_old 2026-09-02 17:13:12.528208796 +0200 +++ /var/tmp/diff_new_pack.1nsm4Y/_new 2026-09-02 17:13:12.530208866 +0200 @@ -24,7 +24,7 @@ %endif Name: ruby-build -Version: 20260716 +Version: 20260902 Release: 0 BuildArch: noarch License: MIT ++++++ ruby-build-20260716.tar.gz -> ruby-build-20260902.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ruby-build-20260716/README.md new/ruby-build-20260902/README.md --- old/ruby-build-20260716/README.md 2026-07-16 07:42:11.000000000 +0200 +++ new/ruby-build-20260902/README.md 2026-09-02 16:01:49.000000000 +0200 @@ -137,7 +137,7 @@ | `RUBY_BUILD_ROOT` | The path prefix to search for build definitions files. *Deprecated:* use `RUBY_BUILD_DEFINITIONS`| | `RUBY_BUILD_VENDOR_OPENSSL` | Build and vendor openssl even if the system openssl is compatible | | `CC` | Path to the C compiler. | -| `RUBY_CFLAGS` | Additional `CFLAGS` options (_e.g.,_ to override `-O3`). | +| `RUBY_CFLAGS` | Overrides Ruby's default `CFLAGS`, including `-O3` (beware: without a `-O` flag Ruby is built unoptimized). To add flags, use `RUBY_CONFIGURE_OPTS=cflags=...` instead | | `CONFIGURE_OPTS` | Additional `./configure` options. | | `MAKE` | Custom `make` command (_e.g.,_ `gmake`). | | `MAKE_OPTS` / `MAKEOPTS` | Additional `make` options. | diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ruby-build-20260716/bin/ruby-build new/ruby-build-20260902/bin/ruby-build --- old/ruby-build-20260716/bin/ruby-build 2026-07-16 07:42:11.000000000 +0200 +++ new/ruby-build-20260902/bin/ruby-build 2026-09-02 16:01:49.000000000 +0200 @@ -18,7 +18,7 @@ # -6, --ipv6 Resolve names to IPv6 addresses only # -RUBY_BUILD_VERSION="20260716" +RUBY_BUILD_VERSION="20260902" OLDIFS="$IFS" @@ -748,7 +748,11 @@ # # TODO: Consider changing this to check for GCC v15 specifically # rather than inspecting the OS itself. - export CFLAGS="-std=gnu17 $CFLAGS" + + # Use the cflags configure variable, which Ruby's configure appends to + # its default optflags/debugflags/warnflags, unlike CFLAGS which would + # override them and notably lose the -O3, producing a -O0 Ruby. + export cflags="-std=gnu17 $cflags" fi # ./configure --prefix=/path/to/ruby # shellcheck disable=SC2086,SC2153 @@ -1169,7 +1173,11 @@ # Example: 3.1.23 -> 30123 # See also osx_version, require_java normalize_semver() { - awk -F. '{print $1 * 10000 + $2 * 100 + $3}' <<<"$1" + if [ "$1" = "dev" ]; then + echo 99999999 + else + awk -F. '{print $1 * 10000 + $2 * 100 + $3}' <<<"$1" + fi } # Checks if system OpenSSL does NOT satisfy the version requirement diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ruby-build-20260716/share/man/man1/ruby-build.1 new/ruby-build-20260902/share/man/man1/ruby-build.1 --- old/ruby-build-20260716/share/man/man1/ruby-build.1 2026-07-16 07:42:11.000000000 +0200 +++ new/ruby-build-20260902/share/man/man1/ruby-build.1 2026-09-02 16:01:49.000000000 +0200 @@ -2,12 +2,12 @@ .\" Title: ruby-build .\" Author: Mislav Marohnić .\" Generator: Asciidoctor 2.0.26 -.\" Date: 2026-05-07 +.\" Date: 2026-05-01 .\" Manual: ruby-build Manual -.\" Source: ruby-build 20260716 +.\" Source: ruby-build 20260902 .\" Language: English .\" -.TH "RUBY\-BUILD" "1" "2026-05-07" "ruby\-build 20260716" "ruby\-build Manual" +.TH "RUBY\-BUILD" "1" "2026-05-01" "ruby\-build 20260902" "ruby\-build Manual" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ruby-build-20260716/share/ruby-build/jruby-10.1.1.0 new/ruby-build-20260902/share/ruby-build/jruby-10.1.1.0 --- old/ruby-build-20260716/share/ruby-build/jruby-10.1.1.0 1970-01-01 01:00:00.000000000 +0100 +++ new/ruby-build-20260902/share/ruby-build/jruby-10.1.1.0 2026-09-02 16:01:49.000000000 +0200 @@ -0,0 +1,2 @@ +require_java 21 +install_package "jruby-10.1.1.0" "https://repo1.maven.org/maven2/org/jruby/jruby-dist/10.1.1.0/jruby-dist-10.1.1.0-bin.tar.gz#1e08bff6a7f0134a4774fba37d8cf88b9dd4a7317bd49fca5af696a327450148" jruby
