Upgrade to Ruby 3.3.5.
Resolves: rhbz#2309364
This commit is contained in:
parent
6bed1e3bd5
commit
b7e197fb88
5 changed files with 255 additions and 12 deletions
31
ruby.spec
31
ruby.spec
|
|
@ -1,6 +1,6 @@
|
|||
%global major_version 3
|
||||
%global minor_version 3
|
||||
%global teeny_version 4
|
||||
%global teeny_version 5
|
||||
%global major_minor_version %{major_version}.%{minor_version}
|
||||
|
||||
%global ruby_version %{major_minor_version}.%{teeny_version}
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
#%%global milestone rc1
|
||||
|
||||
# Keep the revision enabled for pre-releases from GIT.
|
||||
#%%global revision be1089c8ec
|
||||
#%%global revision ef084cc8f4
|
||||
|
||||
%global ruby_archive %{name}-%{ruby_version}
|
||||
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
%global rubygems_dir %{_datadir}/rubygems
|
||||
|
||||
# Bundled libraries versions
|
||||
%global rubygems_version 3.5.11
|
||||
%global rubygems_version 3.5.16
|
||||
%global rubygems_molinillo_version 0.8.0
|
||||
%global rubygems_net_http_version 0.4.0
|
||||
%global rubygems_net_protocol_version 0.2.2
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
%global rubygems_uri_version 0.13.0
|
||||
|
||||
# Default gems.
|
||||
%global bundler_version 2.5.11
|
||||
%global bundler_version 2.5.16
|
||||
%global bundler_connection_pool_version 2.4.1
|
||||
%global bundler_fileutils_version 1.7.2
|
||||
%global bundler_net_http_persistent_version 4.0.2
|
||||
|
|
@ -105,7 +105,7 @@
|
|||
%global tmpdir_version 0.2.0
|
||||
%global tsort_version 0.2.0
|
||||
%global un_version 0.3.0
|
||||
%global uri_version 0.13.0
|
||||
%global uri_version 0.13.1
|
||||
%global weakref_version 0.1.3
|
||||
%global win32ole_version 1.8.10
|
||||
%global yaml_version 0.3.0
|
||||
|
|
@ -133,8 +133,8 @@
|
|||
%global racc_version 1.7.3
|
||||
%global rake_version 13.1.0
|
||||
%global rbs_version 3.4.0
|
||||
%global rexml_version 3.2.8
|
||||
%global rss_version 0.3.0
|
||||
%global rexml_version 3.3.6
|
||||
%global rss_version 0.3.1
|
||||
%global test_unit_version 3.6.1
|
||||
%global typeprof_version 0.21.9
|
||||
|
||||
|
|
@ -171,7 +171,7 @@
|
|||
Summary: An interpreter of object-oriented scripting language
|
||||
Name: ruby
|
||||
Version: %{ruby_version}%{?development_release}
|
||||
Release: 13%{?dist}
|
||||
Release: 14%{?dist}
|
||||
# Licenses, which are likely not included in binary RPMs:
|
||||
# Apache-2.0:
|
||||
# benchmark/gc/redblack.rb
|
||||
|
|
@ -280,6 +280,15 @@ Patch9: ruby-3.3.0-Disable-syntax-suggest-test-case.patch
|
|||
# Make sure hardeding flags are correctly applied.
|
||||
# https://bugs.ruby-lang.org/issues/20520
|
||||
Patch12: ruby-3.4.0-Extract-hardening-CFLAGS-to-a-special-hardenflags-variable.patch
|
||||
# Fix build error:
|
||||
# RPM build errors:
|
||||
# error: Installed (but unpackaged) file(s) found:
|
||||
# /usr/bin/bundle.lock
|
||||
# This would break not only Ruby itself, but allso all rubygem-packages.
|
||||
# https://github.com/rubygems/rubygems/pull/7931
|
||||
Patch13: rubygems-3.5.17-Avoid-another-race-condition-of-open-mode.patch
|
||||
# https://github.com/rubygems/rubygems/pull/7939
|
||||
Patch14: rubygems-3.5.17-Remove-the-lock-file-for-binstubs.patch
|
||||
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
%{?with_rubypick:Suggests: rubypick}
|
||||
|
|
@ -757,6 +766,8 @@ analysis result in RBS format, a standard type description format for Ruby
|
|||
%patch 6 -p1
|
||||
%patch 9 -p1
|
||||
%patch 12 -p1
|
||||
%patch 13 -p1
|
||||
%patch 14 -p1
|
||||
|
||||
# Provide an example of usage of the tapset:
|
||||
cp -a %{SOURCE3} .
|
||||
|
|
@ -1733,6 +1744,10 @@ make -C %{_vpath_builddir} runruby TESTRUN_SCRIPT=" \
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Sep 03 2024 Vít Ondruch <vondruch@redhat.com> - 3.3.5-14
|
||||
- Upgrade to Ruby 3.3.5.
|
||||
Resolves: rhbz#2309364
|
||||
|
||||
* Mon Jul 29 2024 Jun Aruga <jaruga@redhat.com> - 3.3.4-13
|
||||
- Add systemtap-sdt-devel to build Ruby with systemtap sdt header files.
|
||||
Co-authored-by: Lumír Balhar <lbalhar@redhat.com>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue