diff --git a/ruby-2.3.0-ruby_version.patch b/ruby-2.3.0-ruby_version.patch index 2508aeb49c20653b5b87b9e1f1c2eb22eececaa8..943a6b658b9181519170a859bc46be89c71de083 100644 --- a/ruby-2.3.0-ruby_version.patch +++ b/ruby-2.3.0-ruby_version.patch @@ -1,26 +1,31 @@ -From 4fc1be3af3f58621bb751c9e63c208b15c0e8d16 Mon Sep 17 00:00:00 2001 +From f6eff3f653521420822d729997f1229cbab371a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= -Date: Tue, 31 Mar 2015 16:21:04 +0200 -Subject: [PATCH 1/4] Use ruby_version_dir_name for versioned directories. +Date: Wed, 13 Nov 2024 15:59:50 +0800 +Subject: [PATCH] ruby-2.3.0-ruby_version -This disallows changing the ruby_version constant by --with-ruby-version -configuration options. The two places version numbers are disallowed as -well, since there are a lot of places which cannot handle this format -properly. - -ruby_version_dir_name now specifies custom version string for versioned -directories, e.g. instead of default X.Y.Z, you can specify whatever -string. --- - configure.ac | 64 ++++++++++++++++++++++++--------------------- - template/ruby.pc.in | 1 + - 2 files changed, 35 insertions(+), 30 deletions(-) + configure.ac | 66 ++++++++++++++++++++------------------- + lib/rdoc/ri/paths.rb | 2 +- + lib/rubygems/defaults.rb | 7 +++-- + template/ruby.pc.in | 1 + + test/rubygems/test_gem.rb | 5 +-- + tool/rbinstall.rb | 2 +- + 6 files changed, 44 insertions(+), 39 deletions(-) diff --git a/configure.ac b/configure.ac -index 80b137e380..63cd3b4f8b 100644 +index 3b5ea5b..d2bcd22 100644 --- a/configure.ac +++ b/configure.ac -@@ -3983,9 +3983,6 @@ AS_CASE(["$target_os"], +@@ -136,7 +136,7 @@ RUBY_BASE_NAME=`echo ruby | sed "$program_transform_name"` + RUBYW_BASE_NAME=`echo rubyw | sed "$program_transform_name"` + AC_SUBST(RUBY_BASE_NAME) + AC_SUBST(RUBYW_BASE_NAME) +-AC_SUBST(RUBY_VERSION_NAME, '${RUBY_BASE_NAME}-${ruby_version}') ++AC_SUBST(RUBY_VERSION_NAME, '${RUBY_BASE_NAME}-${ruby_version_dir_name}') + + dnl checks for alternative programs + AC_CANONICAL_BUILD +@@ -4271,9 +4271,6 @@ AS_CASE(["$target_os"], rubyw_install_name='$(RUBYW_INSTALL_NAME)' ]) @@ -30,7 +35,7 @@ index 80b137e380..63cd3b4f8b 100644 rubyarchprefix=${multiarch+'${archlibdir}/${RUBY_BASE_NAME}'}${multiarch-'${rubylibprefix}/${arch}'} AC_ARG_WITH(rubyarchprefix, AS_HELP_STRING([--with-rubyarchprefix=DIR], -@@ -4008,56 +4005,62 @@ AC_ARG_WITH(ridir, +@@ -4296,57 +4293,61 @@ AC_ARG_WITH(ridir, AC_SUBST(ridir) AC_SUBST(RI_BASE_NAME) @@ -46,6 +51,7 @@ index 80b137e380..63cd3b4f8b 100644 -AS_IF([test ${RUBY_LIB_VERSION_STYLE+set}], [ - { - echo "#define RUBY_LIB_VERSION_STYLE $RUBY_LIB_VERSION_STYLE" +- echo '@%:@include "confdefs.h"' - echo '#define STRINGIZE(x) x' - test -f revision.h -o -f "${srcdir}/revision.h" || echo '#define RUBY_REVISION 0' - echo '#include "version.h"' @@ -70,7 +76,6 @@ index 80b137e380..63cd3b4f8b 100644 +eval $ruby_version + +RUBY_LIB_VERSION="${ruby_version}" -+ AC_SUBST(RUBY_LIB_VERSION_STYLE) AC_SUBST(RUBY_LIB_VERSION) @@ -109,7 +114,7 @@ index 80b137e380..63cd3b4f8b 100644 [vendordir=$withval], [vendordir='${rubylibprefix}/vendor_ruby']) -vendorlibdir='${vendordir}/${ruby_version}' -+vendorlibdir='${vendordir}'${ruby_version_dir} ++vendorlibdir='${vendordir}/${ruby_version_dir}' AC_ARG_WITH(vendorarchdir, AS_HELP_STRING([--with-vendorarchdir=DIR], @@ -120,7 +125,7 @@ index 80b137e380..63cd3b4f8b 100644 AS_IF([test "${LOAD_RELATIVE+set}"], [ AC_DEFINE_UNQUOTED(LOAD_RELATIVE, $LOAD_RELATIVE) -@@ -4074,6 +4077,7 @@ AC_SUBST(sitearchincludedir)dnl +@@ -4363,6 +4364,7 @@ AC_SUBST(sitearchincludedir)dnl AC_SUBST(arch)dnl AC_SUBST(sitearch)dnl AC_SUBST(ruby_version)dnl @@ -128,34 +133,8 @@ index 80b137e380..63cd3b4f8b 100644 AC_SUBST(rubylibdir)dnl AC_SUBST(rubyarchdir)dnl AC_SUBST(sitedir)dnl -diff --git a/template/ruby.pc.in b/template/ruby.pc.in -index 8a2c066..c81b211 100644 ---- a/template/ruby.pc.in -+++ b/template/ruby.pc.in -@@ -2,6 +2,7 @@ MAJOR=@MAJOR@ - MINOR=@MINOR@ - TEENY=@TEENY@ - ruby_version=@ruby_version@ -+ruby_version_dir_name=@ruby_version_dir_name@ - RUBY_API_VERSION=@RUBY_API_VERSION@ - RUBY_PROGRAM_VERSION=@RUBY_PROGRAM_VERSION@ - arch=@arch@ --- -2.1.0 - - -From 518850aba6eee76de7715aae8d37330e34b01983 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?V=C3=ADt=20Ondruch?= -Date: Tue, 31 Mar 2015 16:37:26 +0200 -Subject: [PATCH 2/4] Add ruby_version_dir_name support for RDoc. - ---- - lib/rdoc/ri/paths.rb | 2 +- - tool/rbinstall.rb | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - diff --git a/lib/rdoc/ri/paths.rb b/lib/rdoc/ri/paths.rb -index 970cb91..5bf8230 100644 +index 8e89b04..731f9e3 100644 --- a/lib/rdoc/ri/paths.rb +++ b/lib/rdoc/ri/paths.rb @@ -10,7 +10,7 @@ module RDoc::RI::Paths @@ -167,38 +146,11 @@ index 970cb91..5bf8230 100644 BASE = File.join RbConfig::CONFIG['ridir'], version -diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb -index d4c110e..d39c9a6 100755 ---- a/tool/rbinstall.rb -+++ b/tool/rbinstall.rb -@@ -448,7 +448,7 @@ def CONFIG.[](name, mandatory = false) - - install?(:doc, :rdoc) do - if $rdocdir -- ridatadir = File.join(CONFIG['ridir'], CONFIG['ruby_version'], "system") -+ ridatadir = File.join(CONFIG['ridir'], CONFIG['ruby_version_dir_name'] || CONFIG['ruby_version'], "system") - prepare "rdoc", ridatadir - install_recursive($rdocdir, ridatadir, :no_install => rdoc_noinst, :mode => $data_mode) - end --- -2.23.0 - - -From 9f0ec0233f618cbb862629816b22491c3df79578 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?V=C3=ADt=20Ondruch?= -Date: Tue, 31 Mar 2015 16:37:44 +0200 -Subject: [PATCH 3/4] Add ruby_version_dir_name support for RubyGems. - ---- - lib/rubygems/defaults.rb | 7 ++++--- - test/rubygems/test_gem.rb | 5 +++-- - 2 files changed, 7 insertions(+), 5 deletions(-) - diff --git a/lib/rubygems/defaults.rb b/lib/rubygems/defaults.rb -index d4ff4a262c..3f9a5bf590 100644 +index ca161a4..2703951 100644 --- a/lib/rubygems/defaults.rb +++ b/lib/rubygems/defaults.rb -@@ -34,7 +34,7 @@ def self.default_spec_cache_dir +@@ -35,7 +35,7 @@ module Gem # specified in the environment def self.default_dir @@ -207,7 +159,7 @@ index d4ff4a262c..3f9a5bf590 100644 end ## -@@ -103,7 +103,8 @@ def self.user_dir +@@ -104,7 +104,8 @@ module Gem gem_dir = File.join(Gem.user_home, ".gem") gem_dir = File.join(Gem.data_home, "gem") unless File.exist?(gem_dir) parts = [gem_dir, ruby_engine] @@ -217,7 +169,7 @@ index d4ff4a262c..3f9a5bf590 100644 File.join parts end -@@ -234,7 +235,7 @@ def self.vendor_dir # :nodoc: +@@ -265,7 +266,7 @@ module Gem return nil unless RbConfig::CONFIG.key? "vendordir" File.join RbConfig::CONFIG["vendordir"], "gems", @@ -226,11 +178,23 @@ index d4ff4a262c..3f9a5bf590 100644 end ## +diff --git a/template/ruby.pc.in b/template/ruby.pc.in +index 6901ec2..9b7b787 100644 +--- a/template/ruby.pc.in ++++ b/template/ruby.pc.in +@@ -2,6 +2,7 @@ MAJOR=@MAJOR@ + MINOR=@MINOR@ + TEENY=@TEENY@ + ruby_version=@ruby_version@ ++ruby_version_dir_name=@ruby_version_dir_name@ + RUBY_API_VERSION=@RUBY_API_VERSION@ + RUBY_PROGRAM_VERSION=@RUBY_PROGRAM_VERSION@ + arch=@arch@ diff --git a/test/rubygems/test_gem.rb b/test/rubygems/test_gem.rb -index b25068405d..e9fef4a311 100644 +index cdc3479..032054c 100644 --- a/test/rubygems/test_gem.rb +++ b/test/rubygems/test_gem.rb -@@ -1395,7 +1395,8 @@ def test_self_use_paths +@@ -1365,7 +1365,8 @@ class TestGem < Gem::TestCase def test_self_user_dir parts = [@userhome, ".gem", Gem.ruby_engine] @@ -240,7 +204,7 @@ index b25068405d..e9fef4a311 100644 FileUtils.mkdir_p File.join(parts) -@@ -1471,7 +1472,7 @@ def test_self_vendor_dir +@@ -1441,7 +1442,7 @@ class TestGem < Gem::TestCase vendordir(File.join(@tempdir, "vendor")) do expected = File.join RbConfig::CONFIG["vendordir"], "gems", @@ -249,33 +213,19 @@ index b25068405d..e9fef4a311 100644 assert_equal expected, Gem.vendor_dir end --- -2.1.0 - - -From 88c38a030c22dbf9422ece847bdfbf87d6659313 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?V=C3=ADt=20Ondruch?= -Date: Wed, 1 Apr 2015 14:55:37 +0200 -Subject: [PATCH 4/4] Let headers directories follow the configured version - name. - ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index a00f2b6776..999e2d6d5d 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -115,7 +115,7 @@ RUBY_BASE_NAME=`echo ruby | sed "$program_transform_name"` - RUBYW_BASE_NAME=`echo rubyw | sed "$program_transform_name"` - AC_SUBST(RUBY_BASE_NAME) - AC_SUBST(RUBYW_BASE_NAME) --AC_SUBST(RUBY_VERSION_NAME, '${RUBY_BASE_NAME}-${ruby_version}') -+AC_SUBST(RUBY_VERSION_NAME, '${RUBY_BASE_NAME}-${ruby_version_dir_name}') +diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb +index bb2e6a2..8e77c8a 100755 +--- a/tool/rbinstall.rb ++++ b/tool/rbinstall.rb +@@ -453,7 +453,7 @@ end - dnl checks for alternative programs - AC_CANONICAL_BUILD + install?(:doc, :rdoc) do + if $rdocdir +- ridatadir = File.join(CONFIG['ridir'], CONFIG['ruby_version'], "system") ++ ridatadir = File.join(CONFIG['ridir'], CONFIG['ruby_version_dir_name'] || CONFIG['ruby_version'], "system") + prepare "rdoc", ridatadir + install_recursive($rdocdir, ridatadir, :no_install => rdoc_noinst, :mode => $data_mode) + end -- -2.1.0 +2.27.0 diff --git a/ruby-2.7.0-Initialize-ABRT-hook.patch b/ruby-2.7.0-Initialize-ABRT-hook.patch index 4d5ab297d1140ecdde11a3c897a1f9baf858feca..85751f0a0372866fe4388e88736d9d54f46cec0d 100644 --- a/ruby-2.7.0-Initialize-ABRT-hook.patch +++ b/ruby-2.7.0-Initialize-ABRT-hook.patch @@ -1,19 +1,8 @@ -From eca084e4079c77c061045df9c21b219175b05228 Mon Sep 17 00:00:00 2001 +From ccf216fd27a18af2ba3267016e82d114fe03c0ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= -Date: Mon, 6 Jan 2020 13:56:04 +0100 -Subject: [PATCH] Initialize ABRT hook. +Date: Wed, 13 Nov 2024 16:18:31 +0800 +Subject: [PATCH] ruby-2.7.0-Initialize-ABRT-hook -The ABRT hook used to be initialized by preludes via patches [[1], [2]]. -Unfortunately, due to [[3]] and especially since [[4]], this would -require boostrapping [[5]]. - -To keep the things simple for now, load the ABRT hook via C. - -[1]: https://bugs.ruby-lang.org/issues/8566 -[2]: https://bugs.ruby-lang.org/issues/15306 -[3]: https://bugs.ruby-lang.org/issues/16254 -[4]: https://github.com/ruby/ruby/pull/2735 -[5]: https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org/message/LH6L6YJOYQT4Y5ZNOO4SLIPTUWZ5V45Q/ --- abrt.c | 12 ++++++++++++ common.mk | 3 ++- @@ -23,7 +12,7 @@ To keep the things simple for now, load the ABRT hook via C. diff --git a/abrt.c b/abrt.c new file mode 100644 -index 0000000000..74b0bd5c0f +index 0000000..e99cb43 --- /dev/null +++ b/abrt.c @@ -0,0 +1,12 @@ @@ -40,12 +29,12 @@ index 0000000000..74b0bd5c0f + ); +} diff --git a/common.mk b/common.mk -index b2e5b2b6d0..f39f81da5c 100644 +index c8e9685..8f568a9 100644 --- a/common.mk +++ b/common.mk -@@ -82,7 +82,8 @@ ENC_MK = enc.mk - MAKE_ENC = -f $(ENC_MK) V="$(V)" UNICODE_HDR_DIR="$(UNICODE_HDR_DIR)" \ - RUBY="$(BOOTSTRAPRUBY)" MINIRUBY="$(BOOTSTRAPRUBY)" $(mflags) +@@ -111,7 +111,8 @@ PRISM_FILES = prism/api_node.$(OBJEXT) \ + prism/prism.$(OBJEXT) \ + prism_init.$(OBJEXT) -COMMONOBJS = array.$(OBJEXT) \ +COMMONOBJS = abrt.$(OBJEXT) \ @@ -54,10 +43,10 @@ index b2e5b2b6d0..f39f81da5c 100644 bignum.$(OBJEXT) \ class.$(OBJEXT) \ diff --git a/ruby.c b/ruby.c -index 60c57d6259..1eec16f2c8 100644 +index 611d887..5940386 100644 --- a/ruby.c +++ b/ruby.c -@@ -1623,10 +1623,14 @@ proc_options(long argc, char **argv, ruby_cmdline_options_t *opt, int envopt) +@@ -1724,10 +1724,14 @@ proc_options(long argc, char **argv, ruby_cmdline_options_t *opt, int envopt) void Init_builtin_features(void); @@ -73,5 +62,5 @@ index 60c57d6259..1eec16f2c8 100644 } -- -2.24.1 +2.27.0 diff --git a/ruby-2.7.1-Timeout-the-test_bug_reporter_add-witout-raising-err.patch b/ruby-2.7.1-Timeout-the-test_bug_reporter_add-witout-raising-err.patch index 5c7afe8cb6d48d0636203be5d27becd6eec4066b..11aa86ad0f806186c9ab542901670ede2708d3df 100644 --- a/ruby-2.7.1-Timeout-the-test_bug_reporter_add-witout-raising-err.patch +++ b/ruby-2.7.1-Timeout-the-test_bug_reporter_add-witout-raising-err.patch @@ -1,29 +1,21 @@ -From 9b42fce32bff25e0569581f76f532b9d57865aef Mon Sep 17 00:00:00 2001 +From f41ba11230ed7c7c1eb174e50b1f4f6535a01a86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= -Date: Mon, 27 Jul 2020 14:56:05 +0200 -Subject: [PATCH] Timeout the test_bug_reporter_add witout raising error. +Date: Wed, 13 Nov 2024 16:49:56 +0800 +Subject: [PATCH] + ruby-2.7.1-Timeout-the-test_bug_reporter_add-witout-raising-err -While timeouting the threads might be still good idea, it does not seems -the timeout impacts the TestBugReporter#test_bug_reporter_add result, -because the output of the child process has been already collected -earlier. - -It seems that when the system is under heavy load, the thread might not -be sheduled to finish its processing. Even finishing the child process -might take tens of seconds and therefore the test case finish might take -a while. --- test/-ext-/bug_reporter/test_bug_reporter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/-ext-/bug_reporter/test_bug_reporter.rb b/test/-ext-/bug_reporter/test_bug_reporter.rb -index 628fcd0340..2c677cc8a7 100644 +index bcb8300..fc46e21 100644 --- a/test/-ext-/bug_reporter/test_bug_reporter.rb +++ b/test/-ext-/bug_reporter/test_bug_reporter.rb -@@ -22,7 +22,7 @@ def test_bug_reporter_add - args = ["--disable-gems", "-r-test-/bug_reporter", - "-C", tmpdir] - stdin = "register_sample_bug_reporter(12345); Process.kill :SEGV, $$" +@@ -24,7 +24,7 @@ class TestBugReporter < Test::Unit::TestCase + args.push("--yjit") if JITSupport.yjit_enabled? # We want the printed description to match this process's RUBY_DESCRIPTION + args.unshift({"RUBY_ON_BUG" => nil}) + stdin = "#{no_core}register_sample_bug_reporter(12345); Process.kill :SEGV, $$" - assert_in_out_err(args, stdin, [], expected_stderr, encoding: "ASCII-8BIT") + assert_in_out_err(args, stdin, [], expected_stderr, encoding: "ASCII-8BIT", timeout_error: nil) ensure diff --git a/ruby-3.1.0-Don-t-query-RubyVM-FrozenCore-for-class-path.patch b/ruby-3.1.0-Don-t-query-RubyVM-FrozenCore-for-class-path.patch index 973fe720adf0970921ff76ea37ee7464dea5ffd6..5bb24c245f9b3ffe0cc46a4d09f0c756a3c793f7 100644 --- a/ruby-3.1.0-Don-t-query-RubyVM-FrozenCore-for-class-path.patch +++ b/ruby-3.1.0-Don-t-query-RubyVM-FrozenCore-for-class-path.patch @@ -1,32 +1,22 @@ -From 0ade5611df9f981005eed32b369d1e699e520221 Mon Sep 17 00:00:00 2001 +From 5e609dd8f31cae4224dc081ef1ac53cef425c366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= -Date: Thu, 10 Feb 2022 13:26:44 +0100 -Subject: [PATCH] Don't query `RubyVM::FrozenCore` for class path. +Date: Wed, 13 Nov 2024 16:35:29 +0800 +Subject: [PATCH] ruby-3.1.0-Don-t-query-RubyVM-FrozenCore-for-class-path -The `RubyVM::FrozenCore` class path is corrupted during GC cycle and -returns random garbage, which might result in segfault. - -But since it is easy to detect the `RubyVM::FrozenCore`, just provide -the class path explicitly as a workaround. - -Other possibility would be to ignore `RubyVM::FrozenCore` simlarly as -TracePoint API does: - -https://github.com/ruby/ruby/blob/46f6575157d4c2f6bbd5693896e26a65037e5552/vm_trace.c#L411 --- vm.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/vm.c b/vm.c -index 8ce8b279d4..3d189fa63a 100644 +index 665ffcb..db38509 100644 --- a/vm.c +++ b/vm.c -@@ -479,7 +479,15 @@ rb_dtrace_setup(rb_execution_context_t *ec, VALUE klass, ID id, +@@ -618,7 +618,15 @@ rb_dtrace_setup(rb_execution_context_t *ec, VALUE klass, ID id, } type = BUILTIN_TYPE(klass); if (type == T_CLASS || type == T_ICLASS || type == T_MODULE) { -- VALUE name = rb_class_path(klass); -+ VALUE name = Qnil; +- VALUE name = rb_class_path(klass); ++ VALUE name = Qnil; + /* + * Special treatment for rb_mRubyVMFrozenCore wchi is broken by GC. + * https://bugs.ruby-lang.org/issues/18257 @@ -35,9 +25,9 @@ index 8ce8b279d4..3d189fa63a 100644 + name = rb_str_new_cstr("RubyVM::FrozenCore"); + else + name = rb_class_path(klass); - const char *classname, *filename; - const char *methodname = rb_id2name(id); - if (methodname && (filename = rb_source_location_cstr(&args->line_no)) != 0) { + const char *classname, *filename; + const char *methodname = rb_id2name(id); + if (methodname && (filename = rb_source_location_cstr(&args->line_no)) != 0) { -- -2.34.1 +2.27.0 diff --git a/ruby-3.1.4.tar.xz b/ruby-3.3.6.tar.xz similarity index 62% rename from ruby-3.1.4.tar.xz rename to ruby-3.3.6.tar.xz index dfcab374f47928d8a5f445710817c81ff4cad7ae..307168ba3a77bf31706e5053cf69acbbb04f7688 100644 Binary files a/ruby-3.1.4.tar.xz and b/ruby-3.3.6.tar.xz differ diff --git a/ruby.spec b/ruby.spec index 0b8a712d038fc44547f896768442e357e7daff95..983f8a167b930e60aba2955e6bbdb4163fa3a9f9 100644 --- a/ruby.spec +++ b/ruby.spec @@ -1,7 +1,7 @@ -%define anolis_release 9 +%define anolis_release 1 %global major_version 3 -%global minor_version 1 -%global teeny_version 4 +%global minor_version 3 +%global teeny_version 6 %global major_minor_version %{major_version}.%{minor_version} %global ruby_version %{major_minor_version}.%{teeny_version} @@ -10,52 +10,53 @@ %global rubygems_dir %{_datadir}/rubygems # Default gems. -%global bundler_version 2.3.26 -%global bundler_connection_pool_version 2.3.0 -%global bundler_fileutils_version 1.4.1 +%global bundler_version 2.5.22 +%global bundler_connection_pool_version 2.4.1 +%global bundler_fileutils_version 1.7.2 %global bundler_molinillo_version 0.8.0 -%global bundler_net_http_persistent_version 4.0.0 -%global bundler_thor_version 1.2.1 +%global bundler_net_http_persistent_version 4.0.4 +%global bundler_thor_version 1.3.0 %global bundler_tmpdir_version 0.1.0 +%global bundler_pub_grub_version 0.5.0 # TODO: Check the version if/when available in library. -%global bundler_tsort_version 0.1.1 -%global bundler_uri_version 0.10.3 +%global bundler_tsort_version 0.2.0 +%global bundler_uri_version 0.13.1 # Bundled libraries versions -%global rubygems_version 3.3.26 -%global rubygems_molinillo_version 0.7.0 -%global rubygems_optparse_version 0.2.0 +%global rubygems_version 3.5.22 +%global rubygems_molinillo_version 0.8.0 +%global rubygems_optparse_version 0.4.0 %global rubygems_tsort_version 0.1.0 -%global bigdecimal_version 3.1.1 -%global did_you_mean_version 1.6.1 -%global erb_version 2.2.3 -%global io_console_version 0.5.11 -%global irb_version 1.4.1 -%global json_version 2.6.1 -%global openssl_version 3.0.1 -%global psych_version 4.0.4 -%global racc_version 1.6.0 -%global rdoc_version 6.4.0 -%global stringio_version 3.0.1 +%global bigdecimal_version 3.1.5 +%global did_you_mean_version 1.6.3 +%global erb_version 4.0.3 +%global io_console_version 0.7.1 +%global irb_version 1.13.1 +%global json_version 2.7.2 +%global openssl_version 3.2.0 +%global psych_version 5.1.2 +%global racc_version 1.7.3 +%global rdoc_version 6.6.3.1 +%global stringio_version 3.1.1 # Bundled gems. -%global minitest_version 5.15.0 -%global power_assert_version 2.0.1 -%global rake_version 13.0.6 -%global test_unit_version 3.5.3 -%global rexml_version 3.2.5 -%global rss_version 0.2.9 -%global net_ftp_version 0.1.3 -%global net_imap_version 0.2.3 -%global net_pop_version 0.1.1 -%global net_smtp_version 0.3.1 +%global minitest_version 5.20.0 +%global power_assert_version 2.0.3 +%global rake_version 13.1.0 +%global test_unit_version 3.6.1 +%global rexml_version 3.3.9 +%global rss_version 0.3.1 +%global net_ftp_version 0.3.4 +%global net_imap_version 0.4.9.1 +%global net_pop_version 0.1.2 +%global net_smtp_version 0.4.0.1 %global matrix_version 0.4.2 %global prime_version 0.1.2 -%global rbs_version 2.7.0 -%global typeprof_version 0.21.3 -%global debug_version 1.6.3 +%global rbs_version 3.4.0 +%global typeprof_version 0.21.9 +%global debug_version 1.9.2 %global tapset_libdir %(echo %{_libdir} | sed 's/64//')* @@ -103,13 +104,13 @@ Patch4: %{name}-2.1.0-custom-rubygems-location.patch Patch5: %{name}-2.7.0-Initialize-ABRT-hook.patch Patch6: %{name}-3.1.0-Don-t-query-RubyVM-FrozenCore-for-class-path.patch Patch7: %{name}-2.7.1-Timeout-the-test_bug_reporter_add-witout-raising-err.patch -Patch8: %{name}-3.2.0-define-unsupported-gc-compaction-methods-as-rb_f_notimplement.patch -Patch9: %{name}-3.2.0-define-unsupported-gc-compaction-methods_generated-files.patch -Patch10: %{name}-3.2.0-Detect-compaction-support-during-runtime.patch -Patch11: %{name}-irb-1.4.1-drop-rdoc-hard-dep.patch -Patch12: %{name}-irb-1.4.1-set-rdoc-soft-dep.patch +#Patch8: %{name}-3.2.0-define-unsupported-gc-compaction-methods-as-rb_f_notimplement.patch +#Patch9: %{name}-3.2.0-define-unsupported-gc-compaction-methods_generated-files.patch +#Patch10: %{name}-3.2.0-Detect-compaction-support-during-runtime.patch +#Patch11: %{name}-irb-1.4.1-drop-rdoc-hard-dep.patch +#Patch12: %{name}-irb-1.4.1-set-rdoc-soft-dep.patch # https://github.com/ruby/ruby/commit/5fbc1d45f17e4bff7cc61a78a7d788aa32ff390a -Patch13: %{name}-3.1.4-CVE-2023-36617.patch +#Patch13: %{name}-3.1.4-CVE-2023-36617.patch Suggests: rubypick Requires: %{name}-libs = %{version}-%{release} @@ -246,6 +247,7 @@ Provides: bundled(rubygem-net-http-persisntent) = %{bundler_net_http_persisten Provides: bundled(rubygem-thor) = %{bundler_thor_version} Provides: bundled(rubygem-tmpdir) = %{bundler_tmpdir_version} Provides: bundled(rubygem-uri) = %{bundler_uri_version} +Provides: bundled(rubygem-pub_grub) = %{bundler_pub_grub_version} BuildArch: noarch %description -n rubygem-bundler @@ -477,6 +479,18 @@ principles. These were originally designed by Kent Beck, creator of extreme programming software development methodology, for Smalltalk's SUnit. It allows writing tests, checking results and automated testing in Ruby. +%package -n rubygem-racc +Version: %{racc_version} +Summary: Racc is a LALR(1) parser generator +License: Ruby OR BSD-2-Clause +URL: https://github.com/ruby/racc +Provides: bundled(rubygem-racc) = %{racc_version} + +%description -n rubygem-racc +Racc is a LALR(1) parser generator. +It is written in Ruby itself, and generates Ruby program. + + %package doc Summary: Documentation for %{name} Requires: %{_bindir}/ri @@ -646,95 +660,6 @@ sed -i 's/^/%lang(ja) /' .ruby-doc.ja rm -rf %{buildroot}%{gem_dir}/gems/rake-%{rake_version}/.github -%check -%if 0%{?with_hardening_test} -# Check Ruby hardening. -checksec --file=libruby.so.%{ruby_version} | \ - grep "Full RELRO.*Canary found.*NX enabled.*DSO.*No RPATH.*No RUNPATH.*Yes.*\d*.*\d*.*libruby.so.%{ruby_version}" -%endif - -[ "`make runruby TESTRUN_SCRIPT='bin/gem -v' | tail -1`" == '%{rubygems_version}' ] - -[ "`make runruby TESTRUN_SCRIPT=\"-e \\\" \ - module Gem; module Resolver; end; end; \ - require 'rubygems/resolver/molinillo/lib/molinillo/gem_metadata'; \ - puts Gem::Resolver::Molinillo::VERSION\\\"\" | tail -1`" \ - == '%{rubygems_molinillo_version}' ] - -make runruby TESTRUN_SCRIPT="-e \" \ - module Gem; end; \ - require 'rubygems/optparse/lib/optparse'; \ - puts '%%{rubygems_optparse_version}: %{rubygems_optparse_version}'; \ - puts %Q[Gem::OptionParser::Version: #{Gem::OptionParser::Version}]; \ - exit 1 if Gem::OptionParser::Version != '%{rubygems_optparse_version}'; \ -\"" - -make runruby TESTRUN_SCRIPT="-e \" \ - module Gem; end;\ - require 'rubygems/tsort/lib/tsort'\"" - -[ "`make runruby TESTRUN_SCRIPT=\"-e \\\" \ - module Bundler; end; \ - require 'bundler/vendor/connection_pool/lib/connection_pool/version'; \ - puts Bundler::ConnectionPool::VERSION\\\"\" | tail -1`" \ - == '%{bundler_connection_pool_version}' ] - -[ "`make runruby TESTRUN_SCRIPT=\"-e \\\" \ - module Bundler; end; \ - require 'bundler/vendor/fileutils/lib/fileutils'; \ - puts Bundler::FileUtils::VERSION\\\"\" | tail -1`" \ - == '%{bundler_fileutils_version}' ] - -[ "`make runruby TESTRUN_SCRIPT=\"-e \\\" \ - module Bundler; end; \ - require 'bundler/vendor/molinillo/lib/molinillo/gem_metadata'; \ - puts Bundler::Molinillo::VERSION\\\"\" | tail -1`" \ - == '%{bundler_molinillo_version}' ] - -[ "`make runruby TESTRUN_SCRIPT=\"-rrubygems -e \\\" \ - module Bundler; module Persistent; module Net; module HTTP; \ - end; end; end; end; \ - require 'bundler/vendor/net-http-persistent/lib/net/http/persistent'; \ - puts Bundler::Persistent::Net::HTTP::Persistent::VERSION\\\"\" | tail -1`" \ - == '%{bundler_net_http_persistent_version}' ] - -[ "`make runruby TESTRUN_SCRIPT=\"-e \\\" \ - module Bundler; end; \ - require 'bundler/vendor/thor/lib/thor/version'; \ - puts Bundler::Thor::VERSION\\\"\" | tail -1`" \ - == '%{bundler_thor_version}' ] - -[ "`make runruby TESTRUN_SCRIPT=\"-e \\\" \ - module Bundler; end; \ - require 'bundler/vendor/uri/lib/uri/version'; \ - puts Bundler::URI::VERSION\\\"\" | tail -1`" \ - == '%{bundler_uri_version}' ] - -touch abrt.rb - -make runruby TESTRUN_SCRIPT="--enable-gems %{SOURCE13}" - -%{?with_systemtap:make runruby TESTRUN_SCRIPT=%{SOURCE14}} - -DISABLE_TESTS="" -MSPECOPTS="" - -%{!?with_hostname:MSPECOPTS="-P 'Socket.gethostname returns the host name'"} -mv test/fiddle/test_import.rb{,.disable} -mv test/fiddle/test_closure.rb{,.disable} -DISABLE_TESTS="$DISABLE_TESTS -n !/Fiddle::TestFunc#test_qsort1/" -DISABLE_TESTS="$DISABLE_TESTS -n !/Fiddle::TestFunction#test_argument_count/" -DISABLE_TESTS="$DISABLE_TESTS -n !/TestResolvAddr#test_valid_socket_ip_address_list/" - -%ifarch aarch64 -DISABLE_TESTS="$DISABLE_TESTS -n !/TestWeakMap#test_compaction_bug_19529/" -%endif - -%{?test_timeout_scale:RUBY_TEST_TIMEOUT_SCALE="%{test_timeout_scale}"} \ - make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS" - -%{?with_bundler_tests:make test-bundler-parallel} - %files %license BSDL %license COPYING @@ -764,6 +689,7 @@ DISABLE_TESTS="$DISABLE_TESTS -n !/TestWeakMap#test_compaction_bug_19529/" %{ruby_libdir}/abbrev.rb %{ruby_libdir}/base64.rb %{ruby_libdir}/benchmark* +%{ruby_libdir}/bundled_gems.rb %{ruby_libdir}/cgi* %{ruby_libdir}/coverage.rb %{ruby_libdir}/csv* @@ -805,11 +731,14 @@ DISABLE_TESTS="$DISABLE_TESTS -n !/TestWeakMap#test_compaction_bug_19529/" %{ruby_libdir}/resolv-replace.rb %{ruby_libdir}/rinda %{ruby_libdir}/ripper* +%dir %{ruby_libdir}/ruby_vm +%{ruby_libdir}/ruby_vm/rjit %{ruby_libdir}/securerandom.rb %{ruby_libdir}/set* %{ruby_libdir}/shellwords.rb %{ruby_libdir}/singleton* %{ruby_libdir}/socket.rb +%{ruby_libdir}/syntax_suggest* %{ruby_libdir}/syslog %{ruby_libdir}/tempfile.rb %{ruby_libdir}/timeout* @@ -821,6 +750,7 @@ DISABLE_TESTS="$DISABLE_TESTS -n !/TestWeakMap#test_compaction_bug_19529/" %{ruby_libdir}/uri* %{ruby_libdir}/weakref* %{ruby_libdir}/yaml* +%{ruby_libdir}/prism* %{_libdir}/libruby.so.{%{major_minor_version},%{ruby_version}} %dir %{ruby_libarchdir} @@ -899,6 +829,7 @@ DISABLE_TESTS="$DISABLE_TESTS -n !/TestWeakMap#test_compaction_bug_19529/" %{ruby_libarchdir}/enc/windows_1254.so %{ruby_libarchdir}/enc/windows_1257.so %{ruby_libarchdir}/enc/windows_31j.so +%{ruby_libarchdir}/erb/escape.so %{ruby_libarchdir}/etc.so %{ruby_libarchdir}/fcntl.so %{ruby_libarchdir}/fiddle.so @@ -913,7 +844,7 @@ DISABLE_TESTS="$DISABLE_TESTS -n !/TestWeakMap#test_compaction_bug_19529/" %dir %{ruby_libarchdir}/rbconfig %{ruby_libarchdir}/rbconfig.rb %{ruby_libarchdir}/rbconfig/sizeof.so -%{ruby_libarchdir}/readline.so +#%{ruby_libarchdir}/readline.so %{ruby_libarchdir}/ripper.so %{ruby_libarchdir}/socket.so %{ruby_libarchdir}/stringio.so @@ -925,9 +856,9 @@ DISABLE_TESTS="$DISABLE_TESTS -n !/TestWeakMap#test_compaction_bug_19529/" %{ruby_libdir}/did_you_mean* %{ruby_libdir}/openssl* %{ruby_libarchdir}/openssl.so -%{ruby_libdir}/racc* -%dir %{ruby_libarchdir}/racc -%{ruby_libarchdir}/racc/cparse.so +#%{ruby_libdir}/racc* +#%dir %{ruby_libarchdir}/racc +#%{ruby_libarchdir}/gems/racc/cparse.so %{?with_systemtap:%{_systemtap_datadir}} @@ -1004,6 +935,7 @@ DISABLE_TESTS="$DISABLE_TESTS -n !/TestWeakMap#test_compaction_bug_19529/" %{gem_dir}/gems/debug-%{debug_version}/exe %{gem_dir}/gems/debug-%{debug_version}/lib %{gem_dir}/gems/debug-%{debug_version}/misc +%{gem_dir}/gems/debug-%{debug_version}/exts.mk %{gem_dir}/specifications/debug-%{debug_version}.gemspec %dir %{gem_dir}/gems/net-ftp-%{net_ftp_version} @@ -1011,7 +943,7 @@ DISABLE_TESTS="$DISABLE_TESTS -n !/TestWeakMap#test_compaction_bug_19529/" %license %{gem_dir}/gems/net-ftp-%{net_ftp_version}/LICENSE.txt %doc %{gem_dir}/gems/net-ftp-%{net_ftp_version}/README.md %{gem_dir}/gems/net-ftp-%{net_ftp_version}/Rakefile -%{gem_dir}/gems/net-ftp-%{net_ftp_version}/bin +#%{gem_dir}/gems/net-ftp-%{net_ftp_version}/bin %{gem_dir}/gems/net-ftp-%{net_ftp_version}/lib %{gem_dir}/specifications/net-ftp-%{net_ftp_version}.gemspec @@ -1021,6 +953,8 @@ DISABLE_TESTS="$DISABLE_TESTS -n !/TestWeakMap#test_compaction_bug_19529/" %doc %{gem_dir}/gems/net-imap-%{net_imap_version}/README.md %{gem_dir}/gems/net-imap-%{net_imap_version}/Rakefile %{gem_dir}/gems/net-imap-%{net_imap_version}/lib +%{gem_dir}/gems/net-imap-%{net_imap_version}/rakelib +%{gem_dir}/gems/net-imap-%{net_imap_version}/docs %{gem_dir}/specifications/net-imap-%{net_imap_version}.gemspec %dir %{gem_dir}/gems/net-pop-%{net_pop_version} @@ -1028,13 +962,15 @@ DISABLE_TESTS="$DISABLE_TESTS -n !/TestWeakMap#test_compaction_bug_19529/" %license %{gem_dir}/gems/net-pop-%{net_pop_version}/LICENSE.txt %doc %{gem_dir}/gems/net-pop-%{net_pop_version}/README.md %{gem_dir}/gems/net-pop-%{net_pop_version}/Rakefile -%{gem_dir}/gems/net-pop-%{net_pop_version}/bin +#%{gem_dir}/gems/net-pop-%{net_pop_version}/bin %{gem_dir}/gems/net-pop-%{net_pop_version}/lib %{gem_dir}/specifications/net-pop-%{net_pop_version}.gemspec %dir %{gem_dir}/gems/net-smtp-%{net_smtp_version} %license %{gem_dir}/gems/net-smtp-%{net_smtp_version}/LICENSE.txt %{gem_dir}/gems/net-smtp-%{net_smtp_version}/lib +%{gem_dir}/gems/net-smtp-%{net_smtp_version}/NEWS.md +%{gem_dir}/gems/net-smtp-%{net_smtp_version}/README.md %{gem_dir}/specifications/net-smtp-%{net_smtp_version}.gemspec %dir %{gem_dir}/gems/matrix-%{matrix_version} @@ -1052,70 +988,74 @@ DISABLE_TESTS="$DISABLE_TESTS -n !/TestWeakMap#test_compaction_bug_19529/" %{gem_dir}/specifications/prime-%{prime_version}.gemspec %files default-gems -%{gem_dir}/specifications/default/abbrev-0.1.0.gemspec -%{gem_dir}/specifications/default/base64-0.1.1.gemspec -%{gem_dir}/specifications/default/benchmark-0.2.0.gemspec -%{gem_dir}/specifications/default/cgi-0.3.6.gemspec -%{gem_dir}/specifications/default/csv-3.2.5.gemspec -%{gem_dir}/specifications/default/date-3.2.2.gemspec -%{gem_dir}/specifications/default/delegate-0.2.0.gemspec +%{gem_dir}/specifications/default/abbrev-0.1.2.gemspec +%{gem_dir}/specifications/default/base64-0.2.0.gemspec +%{gem_dir}/specifications/default/benchmark-0.3.0.gemspec +%{gem_dir}/specifications/default/cgi-0.4.1.gemspec +%{gem_dir}/specifications/default/csv-3.2.8.gemspec +%{gem_dir}/specifications/default/date-3.3.4.gemspec +%{gem_dir}/specifications/default/delegate-0.3.1.gemspec %{gem_dir}/specifications/default/did_you_mean-%{did_you_mean_version}.gemspec -%{gem_dir}/specifications/default/digest-3.1.0.gemspec -%{gem_dir}/specifications/default/drb-2.1.0.gemspec -%{gem_dir}/specifications/default/english-0.7.1.gemspec +%{gem_dir}/specifications/default/digest-3.1.1.gemspec +%{gem_dir}/specifications/default/drb-2.2.0.gemspec +%{gem_dir}/specifications/default/english-0.8.0.gemspec %{gem_dir}/specifications/default/erb-%{erb_version}.gemspec -%{gem_dir}/specifications/default/error_highlight-0.3.0.gemspec -%{gem_dir}/specifications/default/etc-1.3.0.gemspec -%{gem_dir}/specifications/default/fcntl-1.0.1.gemspec -%{gem_dir}/specifications/default/fiddle-1.1.0.gemspec -%{gem_dir}/specifications/default/fileutils-1.6.0.gemspec -%{gem_dir}/specifications/default/find-0.1.1.gemspec -%{gem_dir}/specifications/default/forwardable-1.3.2.gemspec -%{gem_dir}/specifications/default/getoptlong-0.1.1.gemspec -%{gem_dir}/specifications/default/io-nonblock-0.1.0.gemspec -%{gem_dir}/specifications/default/io-wait-0.2.1.gemspec -%{gem_dir}/specifications/default/ipaddr-1.2.4.gemspec -%{gem_dir}/specifications/default/logger-1.5.0.gemspec -%{gem_dir}/specifications/default/mutex_m-0.1.1.gemspec -%{gem_dir}/specifications/default/net-http-0.3.0.gemspec -%{gem_dir}/specifications/default/net-protocol-0.1.2.gemspec -%{gem_dir}/specifications/default/nkf-0.1.1.gemspec -%{gem_dir}/specifications/default/observer-0.1.1.gemspec -%{gem_dir}/specifications/default/open3-0.1.1.gemspec -%{gem_dir}/specifications/default/open-uri-0.2.0.gemspec -%{gem_dir}/specifications/default/optparse-0.2.0.gemspec +%{gem_dir}/specifications/default/error_highlight-0.6.0.gemspec +%{gem_dir}/specifications/default/etc-1.4.3.gemspec +%{gem_dir}/specifications/default/fcntl-1.1.0.gemspec +%{gem_dir}/specifications/default/fiddle-1.1.2.gemspec +%{gem_dir}/specifications/default/fileutils-1.7.2.gemspec +%{gem_dir}/specifications/default/find-0.2.0.gemspec +%{gem_dir}/specifications/default/forwardable-1.3.3.gemspec +%{gem_dir}/specifications/default/getoptlong-0.2.1.gemspec +%{gem_dir}/specifications/default/io-nonblock-0.3.0.gemspec +%{gem_dir}/specifications/default/io-wait-0.3.1.gemspec +%{gem_dir}/specifications/default/ipaddr-1.2.6.gemspec +%{gem_dir}/specifications/default/logger-1.6.0.gemspec +%{gem_dir}/specifications/default/mutex_m-0.2.0.gemspec +%{gem_dir}/specifications/default/net-http-0.4.1.gemspec +%{gem_dir}/specifications/default/net-protocol-0.2.2.gemspec +%{gem_dir}/specifications/default/nkf-0.1.3.gemspec +%{gem_dir}/specifications/default/observer-0.1.2.gemspec +%{gem_dir}/specifications/default/open3-0.2.1.gemspec +%{gem_dir}/specifications/default/open-uri-0.4.1.gemspec +%{gem_dir}/specifications/default/optparse-0.4.0.gemspec %{gem_dir}/specifications/default/openssl-%{openssl_version}.gemspec -%{gem_dir}/specifications/default/ostruct-0.5.2.gemspec -%{gem_dir}/specifications/default/pathname-0.2.0.gemspec -%{gem_dir}/specifications/default/pp-0.3.0.gemspec -%{gem_dir}/specifications/default/prettyprint-0.1.1.gemspec -%{gem_dir}/specifications/default/pstore-0.1.1.gemspec -%{gem_dir}/specifications/default/racc-%{racc_version}.gemspec -%{gem_dir}/specifications/default/readline-0.0.3.gemspec -%{gem_dir}/specifications/default/readline-ext-0.1.4.gemspec -%{gem_dir}/specifications/default/reline-0.3.1.gemspec -%{gem_dir}/specifications/default/resolv-0.2.1.gemspec -%{gem_dir}/specifications/default/resolv-replace-0.1.0.gemspec -%{gem_dir}/specifications/default/rinda-0.1.1.gemspec +%{gem_dir}/specifications/default/ostruct-0.6.0.gemspec +%{gem_dir}/specifications/default/pathname-0.3.0.gemspec +%{gem_dir}/specifications/default/pp-0.5.0.gemspec +%{gem_dir}/specifications/default/prettyprint-0.2.0.gemspec +%{gem_dir}/specifications/default/pstore-0.1.3.gemspec +#%{gem_dir}/specifications/default/racc-%{racc_version}.gemspec +%{gem_dir}/specifications/default/readline-0.0.4.gemspec +#%{gem_dir}/specifications/default/readline-ext-0.1.4.gemspec +%{gem_dir}/specifications/default/reline-0.5.10.gemspec +%{gem_dir}/specifications/default/resolv-0.3.0.gemspec +%{gem_dir}/specifications/default/resolv-replace-0.1.1.gemspec +%{gem_dir}/specifications/default/rinda-0.2.0.gemspec %{gem_dir}/specifications/default/ruby2_keywords-0.0.5.gemspec -%{gem_dir}/specifications/default/securerandom-0.2.0.gemspec -%{gem_dir}/specifications/default/set-1.0.2.gemspec -%{gem_dir}/specifications/default/shellwords-0.1.0.gemspec -%{gem_dir}/specifications/default/singleton-0.1.1.gemspec +%{gem_dir}/specifications/default/securerandom-0.3.1.gemspec +%{gem_dir}/specifications/default/set-1.1.0.gemspec +%{gem_dir}/specifications/default/shellwords-0.2.0.gemspec +%{gem_dir}/specifications/default/singleton-0.2.0.gemspec %{gem_dir}/specifications/default/stringio-%{stringio_version}.gemspec -%{gem_dir}/specifications/default/strscan-3.0.1.gemspec -%{gem_dir}/specifications/default/syslog-0.1.0.gemspec -%{gem_dir}/specifications/default/tempfile-0.1.2.gemspec -%{gem_dir}/specifications/default/time-0.2.2.gemspec -%{gem_dir}/specifications/default/timeout-0.2.0.gemspec -%{gem_dir}/specifications/default/tmpdir-0.1.2.gemspec -%{gem_dir}/specifications/default/tsort-0.1.0.gemspec -%{gem_dir}/specifications/default/un-0.2.0.gemspec -%{gem_dir}/specifications/default/uri-0.12.2.gemspec -%{gem_dir}/specifications/default/weakref-0.1.1.gemspec -%{gem_dir}/specifications/default/yaml-0.2.0.gemspec -%{gem_dir}/specifications/default/zlib-2.1.1.gemspec +%{gem_dir}/specifications/default/strscan-3.0.9.gemspec +%{gem_dir}/specifications/default/syslog-0.1.2.gemspec +%{gem_dir}/specifications/default/tempfile-0.2.1.gemspec +%{gem_dir}/specifications/default/time-0.3.0.gemspec +%{gem_dir}/specifications/default/timeout-0.4.1.gemspec +%{gem_dir}/specifications/default/tmpdir-0.2.0.gemspec +%{gem_dir}/specifications/default/tsort-0.2.0.gemspec +%{gem_dir}/specifications/default/un-0.3.0.gemspec +%{gem_dir}/specifications/default/uri-0.13.1.gemspec +%{gem_dir}/specifications/default/weakref-0.1.3.gemspec +%{gem_dir}/specifications/default/yaml-0.3.0.gemspec +%{gem_dir}/specifications/default/zlib-3.1.1.gemspec +%{gem_dir}/specifications/default/prism-0.19.0.gemspec +%{gem_dir}/specifications/default/syntax_suggest-2.0.1.gemspec +%{gem_dir}/gems/syntax_suggest-2.0.1/exe/syntax_suggest %{gem_dir}/gems/erb-%{erb_version} +%{_bindir}/syntax_suggest %exclude %{_bindir}/racc %exclude %{gem_dir}/gems/racc-%{racc_version}/bin @@ -1208,8 +1148,9 @@ DISABLE_TESTS="$DISABLE_TESTS -n !/TestWeakMap#test_compaction_bug_19529/" %{gem_dir}/gems/rbs-%{rbs_version}/lib %{gem_dir}/gems/rbs-%{rbs_version}/schema %{gem_dir}/gems/rbs-%{rbs_version}/sig +%{gem_dir}/gems/rbs-%{rbs_version}/exts.mk %{gem_dir}/gems/rbs-%{rbs_version}/stdlib -%{gem_dir}/gems/rbs-%{rbs_version}/steep +#%{gem_dir}/gems/rbs-%{rbs_version}/steep %{gem_dir}/specifications/rbs-%{rbs_version}.gemspec %files -n rubygem-rexml @@ -1228,10 +1169,10 @@ DISABLE_TESTS="$DISABLE_TESTS -n !/TestWeakMap#test_compaction_bug_19529/" %doc %{gem_dir}/gems/rss-%{rss_version}/NEWS.md %{gem_dir}/gems/rss-%{rss_version}/lib %{gem_dir}/specifications/rss-%{rss_version}.gemspec -%doc %{gem_dir}/gems/rss-%{rss_version}/Gemfile +#%doc %{gem_dir}/gems/rss-%{rss_version}/Gemfile %doc %{gem_dir}/gems/rss-%{rss_version}/README.md -%doc %{gem_dir}/gems/rss-%{rss_version}/Rakefile -%doc %{gem_dir}/gems/rss-%{rss_version}/test +#%doc %{gem_dir}/gems/rss-%{rss_version}/Rakefile +#%doc %{gem_dir}/gems/rss-%{rss_version}/test %files -n rubygem-typeprof %dir %{gem_dir}/gems/typeprof-%{typeprof_version} @@ -1259,12 +1200,20 @@ DISABLE_TESTS="$DISABLE_TESTS -n !/TestWeakMap#test_compaction_bug_19529/" %{gem_dir}/gems/test-unit-%{test_unit_version}/Rakefile %doc %{gem_dir}/gems/test-unit-%{test_unit_version}/doc +%files -n rubygem-racc +%{gem_dir}/gems/racc-%{racc_version}/* +%{gem_dir}/specifications/racc-%{racc_version}.gemspec +%{_libdir}/gems/ruby/racc-%{racc_version}/* + %files doc -f .ruby-doc.en -f .ruby-doc.ja %doc README.md ChangeLog NEWS.md %{?with_systemtap:%doc ruby-exercise.stp} %{_datadir}/ri %changelog +* Wed Nov 13 2024 yangxinyu - 3.3.6-1 +- New version 3.3.6 + * Thu Jul 13 2023 Funda Wang - 3.1.4-9 - Fix CVE-2023-36617