Upgrade to Ruby 2.8.0 (83705c42ce).
This commit is contained in:
parent
e940ed5d70
commit
03cd41fefd
7 changed files with 59 additions and 16 deletions
32
ruby.spec
32
ruby.spec
|
|
@ -10,7 +10,7 @@
|
|||
#%%global milestone rc1
|
||||
|
||||
# Keep the revision enabled for pre-releases from SVN.
|
||||
%global revision 3e12b65861
|
||||
%global revision 83705c42ce
|
||||
|
||||
%global ruby_archive %{name}-%{ruby_version}
|
||||
|
||||
|
|
@ -45,16 +45,16 @@
|
|||
%global io_console_version 0.5.6
|
||||
%global irb_version 1.2.3
|
||||
%global json_version 2.3.0
|
||||
%global minitest_version 5.13.0
|
||||
%global minitest_version 5.14.0
|
||||
%global openssl_version 2.2.0
|
||||
%global power_assert_version 1.1.5
|
||||
%global power_assert_version 1.1.6
|
||||
%global psych_version 3.1.0
|
||||
%global racc_version 1.4.16
|
||||
%global rake_version 13.0.1
|
||||
%global rdoc_version 6.2.1
|
||||
%global rexml_version 3.2.3
|
||||
%global rss_version 0.2.8
|
||||
%global test_unit_version 3.3.4
|
||||
%global rexml_version 3.2.4
|
||||
%global rss_version 0.2.9
|
||||
%global test_unit_version 3.3.5
|
||||
|
||||
%global tapset_libdir %(echo %{_libdir} | sed 's/64//')*
|
||||
|
||||
|
|
@ -139,6 +139,9 @@ Patch9: ruby-2.3.1-Rely-on-ldd-to-detect-glibc.patch
|
|||
# Revert commit which breaks bundled net-http-persistent version check.
|
||||
# https://github.com/drbrain/net-http-persistent/pull/109
|
||||
Patch10: ruby-2.7.0-Remove-RubyGems-dependency.patch
|
||||
# Correctly install bundled gems from expanded sources.
|
||||
# https://bugs.ruby-lang.org/issues/16656
|
||||
Patch11: ruby-2.8.0-Fix-wrong-RegExp.patch
|
||||
|
||||
# Add support for .include directive used by OpenSSL config files.
|
||||
# https://github.com/ruby/openssl/pull/216
|
||||
|
|
@ -559,6 +562,7 @@ rm -rf ext/fiddle/libffi*
|
|||
%patch6 -p1
|
||||
%patch9 -p1
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
%patch22 -p1
|
||||
|
||||
# Provide an example of usage of the tapset:
|
||||
|
|
@ -845,11 +849,20 @@ touch abrt.rb
|
|||
make runruby TESTRUN_SCRIPT="--enable-gems %{SOURCE13}"
|
||||
|
||||
# Check if systemtap is supported.
|
||||
%{?with_systemtap:make runruby TESTRUN_SCRIPT=%{SOURCE14}}
|
||||
# Disable temporary:
|
||||
# https://bugs.ruby-lang.org/issues/16658
|
||||
#%%{?with_systemtap:make runruby TESTRUN_SCRIPT=%{SOURCE14}}
|
||||
|
||||
DISABLE_TESTS=""
|
||||
MSPECOPTS=""
|
||||
|
||||
# It seems that glibc-2.31.9000 comes with lchmod(2) implementation, disable
|
||||
# the failing TestNotImplement#test_respond_to_lchmod test cse for now.
|
||||
# https://bugs.ruby-lang.org/issues/16662
|
||||
DISABLE_TESTS="$DISABLE_TESTS -n !/test_respond_to_lchmod/"
|
||||
MSPECOPTS="$MSPECOPTS -P 'File.lchmod returns false from \#respond_to?'"
|
||||
MSPECOPTS="$MSPECOPTS -P 'File.lchmod raises a NotImplementedError when called'"
|
||||
|
||||
# Avoid `hostname' dependency.
|
||||
%{!?with_hostname:MSPECOPTS="-P 'Socket.gethostname returns the host name'"}
|
||||
|
||||
|
|
@ -1090,6 +1103,8 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
|
|||
%{gem_dir}/specifications/default/logger-1.4.2.gemspec
|
||||
%{gem_dir}/specifications/default/matrix-0.2.0.gemspec
|
||||
%{gem_dir}/specifications/default/mutex_m-0.1.0.gemspec
|
||||
%{gem_dir}/specifications/default/net-ftp-0.1.0.gemspec
|
||||
%{gem_dir}/specifications/default/net-http-0.1.0.gemspec
|
||||
%{gem_dir}/specifications/default/net-imap-0.1.0.gemspec
|
||||
%{gem_dir}/specifications/default/net-pop-0.1.0.gemspec
|
||||
%{gem_dir}/specifications/default/net-protocol-0.1.0.gemspec
|
||||
|
|
@ -1244,11 +1259,12 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
|
|||
%doc %{gem_dir}/gems/rss-%{rss_version}/README.md
|
||||
%doc %{gem_dir}/gems/rss-%{rss_version}/Rakefile
|
||||
%doc %{gem_dir}/gems/rss-%{rss_version}/rss.gemspec
|
||||
%doc %{gem_dir}/gems/rss-%{rss_version}/test
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Feb 24 2020 Vít Ondruch <vondruch@redhat.com> - 2.8.0-1
|
||||
- Upgrade to Ruby 2.8.0 (af11efd377).
|
||||
- Upgrade to Ruby 2.8.0 (83705c42ce).
|
||||
- Extract RSS and REXML into separate subpackages, because they were moved from
|
||||
default gems to bundled gems.
|
||||
- Obsolete Net::Telnet and XMLRPC packages, because they were dropped from Ruby.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue