diff --git a/rubygem-nio4r.spec b/rubygem-nio4r.spec index 4bf0798..0733173 100644 --- a/rubygem-nio4r.spec +++ b/rubygem-nio4r.spec @@ -1,11 +1,11 @@ # Generated from nio4r-1.2.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name nio4r -%global libev_version 4.24 +%global libev_version 4.25 Name: rubygem-%{gem_name} -Version: 2.3.1 -Release: 4%{?dist} +Version: 2.4.0 +Release: 1%{?dist} Summary: New IO for Ruby # The entire source code is MIT, bundled libev is BSD or GPLv2+ License: MIT and (BSD or GPLv2+) @@ -69,6 +69,7 @@ cp -a .%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdir_mri} # Prevent dangling symlink in -debuginfo (rhbz#878863). rm -rf %{buildroot}%{gem_instdir}/ext/ + %check pushd .%{gem_instdir} # Check libev version correctness. @@ -80,24 +81,6 @@ EV_VERSION_MINOR=$(grep EV_VERSION_MINOR ext/libev/ev.h | cut -d ' ' -f3) sed -i '/require "coveralls"/ s/^/#/' spec/spec_helper.rb sed -i '/Coveralls.wear!/ s/^/#/' spec/spec_helper.rb -# Ignore rspec-retry. -# https://github.com/socketry/nio4r/commit/e718068 -sed -i '/require "rspec\/retry"/ s/^/#/' spec/spec_helper.rb -sed -i '/config.verbose_retry/ s/^/#/' spec/spec_helper.rb -sed -i '/config.display_try_failure_messages/ s/^/#/' spec/spec_helper.rb -sed -i 's/, retry: [0-9]\+//' spec/nio/selectables/tcp_socket_spec.rb -sed -i 's/, retry: [0-9]\+//' spec/support/selectable_examples.rb - -# NIO::Selector is slow at i686 environment. -sed -i '/TIMEOUT_PRECISION/ s/0.1/0.5/' spec/nio/selector_spec.rb -sed -i '/^ it "wakes up if signaled to from another thread" do$/,/^ end$/ s/0.1/0.5/' \ - spec/nio/selector_spec.rb - -# Failing due to OpenSSL 1.1.1. -# https://github.com/socketry/nio4r/issues/194 -sed -i '/"selects readable when the other end closes"/a\ - skip' spec/support/selectable_examples.rb - # Load nio4r_ext.so. rspec -I$(dirs +1)%{gem_extdir_mri} spec popd @@ -118,7 +101,7 @@ popd %doc %{gem_instdir}/README.md %doc %{gem_instdir}/CHANGES.md %{gem_instdir}/logo.png -%{gem_instdir}/tasks +%{gem_instdir}/rakelib %{gem_instdir}/Guardfile %{gem_instdir}/Rakefile %{gem_instdir}/examples @@ -126,6 +109,9 @@ popd %{gem_instdir}/spec %changelog +* Tue Jul 09 2019 Vít Ondruch - 2.4.0-1 +- Update to nio4r 2.4.0. + * Sat Feb 02 2019 Fedora Release Engineering - 2.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild