Update to Ruby 4.0.6
This commit is contained in:
parent
e8748e1daf
commit
60c304fbcb
4 changed files with 23 additions and 1774 deletions
|
|
@ -56,8 +56,8 @@ diff --git a/ruby.c b/ruby.c
|
|||
index b00fc1502d..32b88f7496 100644
|
||||
--- a/ruby.c
|
||||
+++ b/ruby.c
|
||||
@@ -1773,10 +1773,14 @@ proc_options(long argc, char **argv, ruby_cmdline_options_t *opt, int envopt)
|
||||
|
||||
@@ -1793,10 +1793,14 @@ proc_options(long argc, char **argv, ruby_cmdline_options_t *opt, int envopt)
|
||||
VALUE rb_define_gem_modules(VALUE, VALUE);
|
||||
void Init_builtin_features(void);
|
||||
|
||||
+/* abrt.c */
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
44
ruby.spec
44
ruby.spec
|
|
@ -1,6 +1,6 @@
|
|||
%global major_version 4
|
||||
%global minor_version 0
|
||||
%global teeny_version 5
|
||||
%global teeny_version 6
|
||||
%global major_minor_version %{major_version}.%{minor_version}
|
||||
|
||||
%global ruby_version %{major_minor_version}.%{teeny_version}
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
## BUNDLED_GEMS_VERSIONS
|
||||
|
||||
# Bundled libraries versions
|
||||
%global rubygems_version 4.0.10
|
||||
%global rubygems_version 4.0.16
|
||||
%global rubygems_molinillo_version 0.8.0
|
||||
%global rubygems_net_http_version 0.7.0
|
||||
%global rubygems_net_protocol_version 0.2.2
|
||||
|
|
@ -48,14 +48,13 @@
|
|||
%global rubygems_uri_version 1.1.1
|
||||
|
||||
# Default gems.
|
||||
%global bundler_version 4.0.10
|
||||
%global bundler_version 4.0.16
|
||||
%global bundler_connection_pool_version 2.5.4
|
||||
%global bundler_fileutils_version 1.8.0
|
||||
%global bundler_net_http_persistent_version 4.0.6
|
||||
%global bundler_pub_grub_version 0.5.0
|
||||
%global bundler_securerandom_version 0.4.1
|
||||
%global bundler_thor_version 1.4.0
|
||||
%global bundler_tsort_version 0.2.0
|
||||
%global bundler_uri_version 1.1.1
|
||||
|
||||
%global date_version 3.5.1
|
||||
|
|
@ -64,7 +63,7 @@
|
|||
%global digest_version 3.2.1
|
||||
%global english_version 0.8.1
|
||||
%global erb_version 6.0.1.1
|
||||
%global error_highlight_version 0.7.1
|
||||
%global error_highlight_version 0.7.2
|
||||
%global etc_version 1.4.6
|
||||
%global fcntl_version 1.3.0
|
||||
%global fileutils_version 1.8.0
|
||||
|
|
@ -121,7 +120,7 @@
|
|||
%global minitest_version 6.0.0
|
||||
%global mutex_m_version 0.3.0
|
||||
%global net_ftp_version 0.3.9
|
||||
%global net_imap_version 0.6.2
|
||||
%global net_imap_version 0.6.4.1
|
||||
%global net_pop_version 0.1.2
|
||||
%global net_smtp_version 0.5.1
|
||||
%global nkf_version 0.2.0
|
||||
|
|
@ -190,7 +189,7 @@
|
|||
Summary: An interpreter of object-oriented scripting language
|
||||
Name: ruby
|
||||
Version: %{ruby_version}%{?development_release}
|
||||
Release: 35%{?dist}
|
||||
Release: 36%{?dist}
|
||||
# Licenses, which are likely not included in binary RPMs:
|
||||
# Apache-2.0:
|
||||
# benchmark/gc/redblack.rb
|
||||
|
|
@ -299,10 +298,6 @@ Patch8: ruby-4.0.1-Support-customizable-rustc_flags-for-rustc-builds.patch
|
|||
# Fix error with `gem install --document=rdoc,ri`
|
||||
# Fixed in rdoc 7.1.0 but not in 7.0.4
|
||||
Patch9: rdoc-pr1531-fix-mutilple-document-installation.patch
|
||||
# https://bugs.ruby-lang.org/issues/22069
|
||||
# https://github.com/ruby/ruby/pull/16947
|
||||
# Backport ruby/openssl 4.0.2 from ruby 4.0 branch to support openssl 4.0
|
||||
Patch10: ruby-pr16947-openssl-4_0_2-from-ruby_4_0.patch
|
||||
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
%{?with_rubypick:Suggests: rubypick}
|
||||
|
|
@ -593,7 +588,6 @@ Summary: Library and utilities to manage a Ruby application's gem dependencie
|
|||
Version: %{bundler_version}
|
||||
# BSD-2-Clause OR Ruby:
|
||||
# lib/bundler/vendor/fileutils
|
||||
# lib/bundler/vendor/tsort
|
||||
# lib/bundler/vendor/uri
|
||||
# MIT:
|
||||
# lib/bundler/vendor/connection_pool
|
||||
|
|
@ -611,7 +605,6 @@ Provides: bundled(rubygem-net-http-persistent) = %{bundler_net_http_persistent
|
|||
Provides: bundled(rubygem-pub_grub) = %{bundler_pub_grub_version}
|
||||
Provides: bundled(rubygem-securerandom) = %{bundler_securerandom_version}
|
||||
Provides: bundled(rubygem-thor) = %{bundler_thor_version}
|
||||
Provides: bundled(rubygem-tsort) = %{bundler_tsort_version}
|
||||
Provides: bundled(rubygem-uri) = %{bundler_uri_version}
|
||||
BuildArch: noarch
|
||||
|
||||
|
|
@ -815,7 +808,6 @@ popd
|
|||
%patch 6 -p1
|
||||
%patch 7 -p1
|
||||
%patch 8 -p1
|
||||
%patch 10 -p1
|
||||
|
||||
# Provide an example of usage of the tapset:
|
||||
cp -a %{SOURCE3} .
|
||||
|
|
@ -1159,15 +1151,6 @@ make -C %{_vpath_builddir} -s runruby TESTRUN_SCRIPT="-e \" \
|
|||
exit 1 if Bundler::Thor::VERSION != '%{bundler_thor_version}'; \
|
||||
\""
|
||||
|
||||
# TSort
|
||||
make -C %{_vpath_builddir} -s runruby TESTRUN_SCRIPT="-e \" \
|
||||
module Bundler; end; \
|
||||
require 'bundler/vendor/tsort/lib/tsort'; \
|
||||
puts '%%{bundler_tsort_version}: %{bundler_tsort_version}'; \
|
||||
puts %Q[Bundler::TSort::VERSION: #{Bundler::TSort::VERSION}]; \
|
||||
exit 1 if Bundler::TSort::VERSION != '%{bundler_tsort_version}'; \
|
||||
\""
|
||||
|
||||
# URI.
|
||||
make -C %{_vpath_builddir} -s runruby TESTRUN_SCRIPT="-e \" \
|
||||
module Bundler; end; \
|
||||
|
|
@ -1964,14 +1947,27 @@ make -C %{_vpath_builddir} runruby TESTRUN_SCRIPT=" \
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Jul 14 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4.0.6-36
|
||||
- Update to Ruby 4.0.6
|
||||
Resolves: rhbz#2499884
|
||||
- Resolves: CVE-2026-42245 (rhbz#2484324)
|
||||
- Resolves: CVE-2026-42246 (rhbz#2492090)
|
||||
- Resolves: CVE-2026-42256
|
||||
- Resolves: CVE-2026-42257
|
||||
- Resolves: CVE-2026-42258 (rhbz#2487319)
|
||||
- Resolves: CVE-2026-47240 (rhbz#2498917)
|
||||
- Resolves: CVE-2026-47241
|
||||
- Resolves: CVE-2026-47242
|
||||
|
||||
* Sun Jun 14 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4.0.5-35
|
||||
- Backport ruby/openssl 4.0.2 from ruby 4.0 branch to support openssl 4.0
|
||||
|
||||
* Fri Jun 12 2026 Yaakov Selkowitz <yselkowi@redhat.com>
|
||||
- Rebuilt for openssl 4.0
|
||||
|
||||
* Mon Jun 08 2026 Mamoru TASAKA <mtasaka@fedoraproject.org>- 4.0.5-33
|
||||
* Mon Jun 08 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4.0.5-33
|
||||
- Update to Ruby 4.0.5
|
||||
- Resolves: CVE-2026-41316 (rhbz#2463216)
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org>
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (ruby-4.0.5.tar.xz) = 379d78a6d1af0455df60da46551f43438ad3ee81f83787554fc34cb1c8febb1bd363e3dc1a057b34a69f96526efc308d3dccc4b87d368897c2d1ccf179096463
|
||||
SHA512 (ruby-4.0.6.tar.xz) = c9c391675a098b5a27dd687571ab0a164c788cbb8ddcbab6d17a3e8b3c4ba389346b2e6d7807d38db3e74d225c70e378a296d60d0f465cb0fcec9702242c83c6
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue