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 2025-07-18 15:59:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ruby-build (Old) and /work/SRC/openSUSE:Factory/.ruby-build.new.8875 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ruby-build" Fri Jul 18 15:59:18 2025 rev:89 rq:1294239 version:20250716 Changes: -------- --- /work/SRC/openSUSE:Factory/ruby-build/ruby-build.changes 2025-06-11 18:35:32.565643549 +0200 +++ /work/SRC/openSUSE:Factory/.ruby-build.new.8875/ruby-build.changes 2025-07-18 16:00:16.318835391 +0200 @@ -1,0 +2,9 @@ +Thu Jul 17 21:35:53 UTC 2025 - Lukas Müller <expee...@outlook.com> + +- Update to version 20250716. + Changelog: https://github.com/rbenv/ruby-build/releases/tag/v20250716 + * Add 3.4.5 + * Allow installation of Ruby 2.7, 3.0, 3.1 on Fedora >= 42 by @pboling in #2543 + * Fix Fedora version check when VERSION_ID is decimal by @mislav in #2549 + +------------------------------------------------------------------- Old: ---- ruby-build-20250610.tar.gz New: ---- ruby-build-20250716.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ruby-build.spec ++++++ --- /var/tmp/diff_new_pack.i3ET5c/_old 2025-07-18 16:00:18.186913370 +0200 +++ /var/tmp/diff_new_pack.i3ET5c/_new 2025-07-18 16:00:18.206914206 +0200 @@ -24,7 +24,7 @@ %endif Name: ruby-build -Version: 20250610 +Version: 20250716 Release: 0 BuildArch: noarch License: MIT ++++++ ruby-build-20250610.tar.gz -> ruby-build-20250716.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ruby-build-20250610/bin/ruby-build new/ruby-build-20250716/bin/ruby-build --- old/ruby-build-20250610/bin/ruby-build 2025-06-10 22:38:55.000000000 +0200 +++ new/ruby-build-20250716/bin/ruby-build 2025-07-16 02:29:50.000000000 +0200 @@ -16,7 +16,7 @@ # -6, --ipv6 Resolve names to IPv6 addresses only # -RUBY_BUILD_VERSION="20250610" +RUBY_BUILD_VERSION="20250716" OLDIFS="$IFS" @@ -206,6 +206,16 @@ [ "$(uname -s)" = "FreeBSD" ] } +is_fedora() { + [ -r /etc/os-release ] || return 1 + # shellcheck disable=SC1091 + source /etc/os-release + # Treat Aurora, Bazzite, BlueFin, uCore, and other Fedora variants as "fedora". + if [[ "${ID_LIKE:-$ID}" != "fedora" || ( $# -gt 0 && "${VERSION_ID%%.*}" -lt "$1") ]]; then + return 1 + fi +} + freebsd_package_prefix() { local package="$1" pkg info --prefix "$package" 2>/dev/null | cut -wf2 @@ -712,6 +722,15 @@ fi if [ -z "$CC" ] && is_mac 1010; then export CC=clang + elif [ "$ruby_semver" -lt 300200 ] && is_fedora 42; then + # Fedora 42+ has updated to GCC v15. GCC v15 changed the default + # mode from gnu17 to gnu23: https://gcc.gnu.org/gcc-15/changes.html#c + # + # Ruby < 3.2 can't compile on GCC v15 in the default mode of gnu23. + # + # TODO: Consider changing this to check for GCC v15 specifically + # rather than inspecting the OS itself. + export CFLAGS="-std=gnu17 $CFLAGS" fi # ./configure --prefix=/path/to/ruby # shellcheck disable=SC2086,SC2153 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ruby-build-20250610/share/man/man1/ruby-build.1 new/ruby-build-20250716/share/man/man1/ruby-build.1 --- old/ruby-build-20250610/share/man/man1/ruby-build.1 2025-06-10 22:38:55.000000000 +0200 +++ new/ruby-build-20250716/share/man/man1/ruby-build.1 2025-07-16 02:29:50.000000000 +0200 @@ -1,13 +1,13 @@ '\" t .\" Title: ruby-build .\" Author: Mislav Marohnić -.\" Generator: Asciidoctor 2.0.20 -.\" Date: 2025-01-21 +.\" Generator: Asciidoctor 2.0.23 +.\" Date: 2024-09-24 .\" Manual: ruby-build Manual -.\" Source: ruby-build 20250610 +.\" Source: ruby-build 20250716 .\" Language: English .\" -.TH "RUBY\-BUILD" "1" "2025-01-21" "ruby\-build 20250610" "ruby\-build Manual" +.TH "RUBY\-BUILD" "1" "2024-09-24" "ruby\-build 20250716" "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-20250610/share/ruby-build/3.4.5 new/ruby-build-20250716/share/ruby-build/3.4.5 --- old/ruby-build-20250610/share/ruby-build/3.4.5 1970-01-01 01:00:00.000000000 +0100 +++ new/ruby-build-20250716/share/ruby-build/3.4.5 2025-07-16 02:29:50.000000000 +0200 @@ -0,0 +1,2 @@ +install_package "openssl-3.0.17" "https://github.com/openssl/openssl/releases/download/openssl-3.0.17/openssl-3.0.17.tar.gz#dfdd77e4ea1b57ff3a6dbde6b0bdc3f31db5ac99e7fdd4eaf9e1fbb6ec2db8ce" openssl --if needs_openssl:1.0.2-3.x.x +install_package "ruby-3.4.5" "https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.5.tar.gz#1d88d8a27b442fdde4aa06dc99e86b0bbf0b288963d8433112dd5fac798fd5ee" enable_shared standard