Upgrade to Ruby 3.2.0 (4b1504ae0a).
This commit is contained in:
parent
8c1f1ef278
commit
cef7a5d269
8 changed files with 22 additions and 25 deletions
|
|
@ -11,7 +11,7 @@ diff --git a/configure.ac b/configure.ac
|
|||
index d261ea57b5..3c13076b82 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3374,6 +3374,11 @@ AS_IF([test ${multiarch+set}], [
|
||||
@@ -3395,6 +3395,11 @@ AS_IF([test ${multiarch+set}], [
|
||||
])
|
||||
|
||||
archlibdir='${libdir}/${arch}'
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ diff --git a/configure.ac b/configure.ac
|
|||
index c42436c23d..d261ea57b5 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -4105,7 +4105,8 @@ AS_CASE(["$ruby_version_dir_name"],
|
||||
@@ -4130,7 +4130,8 @@ AS_CASE(["$ruby_version_dir_name"],
|
||||
ruby_version_dir=/'${ruby_version_dir_name}'
|
||||
|
||||
if test -z "${ruby_version_dir_name}"; then
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ diff --git a/configure.ac b/configure.ac
|
|||
index 3c13076b82..93af30321d 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -4169,6 +4169,8 @@ AC_SUBST(vendorarchdir)dnl
|
||||
@@ -4194,6 +4194,8 @@ AC_SUBST(vendorarchdir)dnl
|
||||
AC_SUBST(CONFIGURE, "`echo $0 | sed 's|.*/||'`")dnl
|
||||
AC_SUBST(configure_args, "`echo "${ac_configure_args}" | sed 's/\\$/$$/g'`")dnl
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ diff --git a/configure.ac b/configure.ac
|
|||
index 93af30321d..bc13397e0e 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -4141,6 +4141,10 @@ AC_ARG_WITH(vendorarchdir,
|
||||
@@ -4166,6 +4166,10 @@ AC_ARG_WITH(vendorarchdir,
|
||||
[vendorarchdir=$withval],
|
||||
[vendorarchdir=${multiarch+'${rubysitearchprefix}/vendor_ruby'${ruby_version_dir}}${multiarch-'${vendorlibdir}/${sitearch}'}])
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ index 93af30321d..bc13397e0e 100644
|
|||
AS_IF([test "${LOAD_RELATIVE+set}"], [
|
||||
AC_DEFINE_UNQUOTED(LOAD_RELATIVE, $LOAD_RELATIVE)
|
||||
RUBY_EXEC_PREFIX=''
|
||||
@@ -4165,6 +4169,7 @@ AC_SUBST(sitearchdir)dnl
|
||||
@@ -4190,6 +4194,7 @@ AC_SUBST(sitearchdir)dnl
|
||||
AC_SUBST(vendordir)dnl
|
||||
AC_SUBST(vendorlibdir)dnl
|
||||
AC_SUBST(vendorarchdir)dnl
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ diff --git a/configure.ac b/configure.ac
|
|||
index 80b137e380..63cd3b4f8b 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -4055,9 +4055,6 @@ AS_CASE(["$target_os"],
|
||||
@@ -4080,9 +4080,6 @@ AS_CASE(["$target_os"],
|
||||
rubyw_install_name='$(RUBYW_INSTALL_NAME)'
|
||||
])
|
||||
|
||||
|
|
@ -30,7 +30,7 @@ index 80b137e380..63cd3b4f8b 100644
|
|||
rubyarchprefix=${multiarch+'${archlibdir}/${RUBY_BASE_NAME}'}${multiarch-'${rubylibprefix}/${arch}'}
|
||||
AC_ARG_WITH(rubyarchprefix,
|
||||
AS_HELP_STRING([--with-rubyarchprefix=DIR],
|
||||
@@ -4080,57 +4077,63 @@ AC_ARG_WITH(ridir,
|
||||
@@ -4105,57 +4102,63 @@ AC_ARG_WITH(ridir,
|
||||
AC_SUBST(ridir)
|
||||
AC_SUBST(RI_BASE_NAME)
|
||||
|
||||
|
|
@ -122,7 +122,7 @@ index 80b137e380..63cd3b4f8b 100644
|
|||
|
||||
AS_IF([test "${LOAD_RELATIVE+set}"], [
|
||||
AC_DEFINE_UNQUOTED(LOAD_RELATIVE, $LOAD_RELATIVE)
|
||||
@@ -4147,6 +4150,7 @@ AC_SUBST(sitearchincludedir)dnl
|
||||
@@ -4172,6 +4175,7 @@ AC_SUBST(sitearchincludedir)dnl
|
||||
AC_SUBST(arch)dnl
|
||||
AC_SUBST(sitearch)dnl
|
||||
AC_SUBST(ruby_version)dnl
|
||||
|
|
@ -232,7 +232,7 @@ diff --git a/test/rubygems/test_gem.rb b/test/rubygems/test_gem.rb
|
|||
index b25068405d..e9fef4a311 100644
|
||||
--- a/test/rubygems/test_gem.rb
|
||||
+++ b/test/rubygems/test_gem.rb
|
||||
@@ -1394,7 +1394,8 @@ def test_self_use_paths
|
||||
@@ -1395,7 +1395,8 @@ def test_self_use_paths
|
||||
|
||||
def test_self_user_dir
|
||||
parts = [@userhome, ".gem", Gem.ruby_engine]
|
||||
|
|
@ -242,7 +242,7 @@ index b25068405d..e9fef4a311 100644
|
|||
|
||||
FileUtils.mkdir_p File.join(parts)
|
||||
|
||||
@@ -1470,7 +1471,7 @@ def test_self_vendor_dir
|
||||
@@ -1471,7 +1472,7 @@ def test_self_vendor_dir
|
||||
vendordir(File.join(@tempdir, "vendor")) do
|
||||
expected =
|
||||
File.join RbConfig::CONFIG["vendordir"], "gems",
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ diff --git a/common.mk b/common.mk
|
|||
index b2e5b2b6d0..f39f81da5c 100644
|
||||
--- a/common.mk
|
||||
+++ b/common.mk
|
||||
@@ -84,7 +84,8 @@ ENC_MK = enc.mk
|
||||
@@ -86,7 +86,8 @@ ENC_MK = enc.mk
|
||||
MAKE_ENC = -f $(ENC_MK) V="$(V)" UNICODE_HDR_DIR="$(UNICODE_HDR_DIR)" \
|
||||
RUBY="$(BOOTSTRAPRUBY)" MINIRUBY="$(BOOTSTRAPRUBY)" $(mflags)
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ diff --git a/ruby.c b/ruby.c
|
|||
index 60c57d6259..1eec16f2c8 100644
|
||||
--- a/ruby.c
|
||||
+++ b/ruby.c
|
||||
@@ -1524,10 +1524,14 @@ proc_options(long argc, char **argv, ruby_cmdline_options_t *opt, int envopt)
|
||||
@@ -1573,10 +1573,14 @@ proc_options(long argc, char **argv, ruby_cmdline_options_t *opt, int envopt)
|
||||
|
||||
void Init_builtin_features(void);
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ diff --git a/vm.c b/vm.c
|
|||
index 8ce8b279d4..3d189fa63a 100644
|
||||
--- a/vm.c
|
||||
+++ b/vm.c
|
||||
@@ -581,7 +581,15 @@ rb_dtrace_setup(rb_execution_context_t *ec, VALUE klass, ID id,
|
||||
@@ -574,7 +574,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) {
|
||||
|
|
|
|||
21
ruby.spec
21
ruby.spec
|
|
@ -10,7 +10,7 @@
|
|||
#%%global milestone rc1
|
||||
|
||||
# Keep the revision enabled for pre-releases from GIT.
|
||||
%global revision 4b1504ae0a
|
||||
%global revision 6bf458eefd
|
||||
|
||||
%global ruby_archive %{name}-%{ruby_version}
|
||||
|
||||
|
|
@ -48,11 +48,11 @@
|
|||
|
||||
%global bigdecimal_version 3.1.2
|
||||
%global did_you_mean_version 1.6.1
|
||||
%global erb_version 2.2.3
|
||||
%global erb_version 3.0.0
|
||||
%global io_console_version 0.5.11
|
||||
%global irb_version 1.4.2
|
||||
%global json_version 2.6.2
|
||||
%global openssl_version 3.0.0
|
||||
%global openssl_version 3.1.0.pre
|
||||
%global psych_version 5.0.0.dev
|
||||
%global racc_version 1.6.0
|
||||
%global rdoc_version 6.4.0
|
||||
|
|
@ -60,7 +60,7 @@
|
|||
|
||||
# Bundled gems.
|
||||
%global minitest_version 5.16.3
|
||||
%global power_assert_version 2.0.1
|
||||
%global power_assert_version 2.0.2
|
||||
%global rake_version 13.0.6
|
||||
%global test_unit_version 3.5.5
|
||||
%global rexml_version 3.2.5
|
||||
|
|
@ -68,12 +68,12 @@
|
|||
%global net_ftp_version 0.2.0
|
||||
%global net_imap_version 0.3.1
|
||||
%global net_pop_version 0.1.2
|
||||
%global net_smtp_version 0.3.2
|
||||
%global net_smtp_version 0.3.3
|
||||
%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.2
|
||||
%global debug_version 1.6.3
|
||||
|
||||
%global tapset_libdir %(echo %{_libdir} | sed 's/64//')*
|
||||
|
||||
|
|
@ -961,9 +961,6 @@ MSPECOPTS=""
|
|||
# Avoid `hostname' dependency.
|
||||
%{!?with_hostname:MSPECOPTS="-P 'Socket.gethostname returns the host name'"}
|
||||
|
||||
# https://bugs.ruby-lang.org/issues/18380
|
||||
DISABLE_TESTS="$DISABLE_TESTS -n !/TestAddressResolve#test_socket_getnameinfo_domain_blocking/"
|
||||
|
||||
%ifarch armv7hl
|
||||
# TestReadline#test_interrupt_in_other_thread fails on 32 bit arches according
|
||||
# to upstream, but the test is disabled just on Travis, not in test suite.
|
||||
|
|
@ -1246,7 +1243,7 @@ mv test/fiddle/test_import.rb{,.disable}
|
|||
%{gem_dir}/specifications/default/error_highlight-0.4.0.gemspec
|
||||
%{gem_dir}/specifications/default/etc-1.4.0.gemspec
|
||||
%{gem_dir}/specifications/default/fcntl-1.0.1.gemspec
|
||||
%{gem_dir}/specifications/default/fiddle-1.1.0.gemspec
|
||||
%{gem_dir}/specifications/default/fiddle-1.1.1.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
|
||||
|
|
@ -1256,7 +1253,7 @@ mv test/fiddle/test_import.rb{,.disable}
|
|||
%{gem_dir}/specifications/default/ipaddr-1.2.4.gemspec
|
||||
%{gem_dir}/specifications/default/logger-1.5.1.gemspec
|
||||
%{gem_dir}/specifications/default/mutex_m-0.1.1.gemspec
|
||||
%{gem_dir}/specifications/default/net-http-0.2.2.gemspec
|
||||
%{gem_dir}/specifications/default/net-http-0.3.0.gemspec
|
||||
%{gem_dir}/specifications/default/net-protocol-0.1.3.gemspec
|
||||
%{gem_dir}/specifications/default/nkf-0.1.1.gemspec
|
||||
%{gem_dir}/specifications/default/observer-0.1.1.gemspec
|
||||
|
|
@ -1530,7 +1527,7 @@ mv test/fiddle/test_import.rb{,.disable}
|
|||
|
||||
%changelog
|
||||
* Wed Oct 12 2022 Vít Ondruch <vondruch@redhat.com> - 3.2.0-1
|
||||
- Upgrade to Ruby 3.2.0 (4b1504ae0a).
|
||||
- Upgrade to Ruby 3.2.0 (6bf458eefd).
|
||||
|
||||
* Thu Sep 29 2022 Vít Ondruch <vondruch@redhat.com> - 3.1.2-170
|
||||
- Re-enable package notes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue