|
|
@ -1,11 +1,11 @@
|
|
|
|
# Generated from nio4r-1.2.1.gem by gem2rpm -*- rpm-spec -*-
|
|
|
|
# Generated from nio4r-1.2.1.gem by gem2rpm -*- rpm-spec -*-
|
|
|
|
%global gem_name nio4r
|
|
|
|
%global gem_name nio4r
|
|
|
|
|
|
|
|
|
|
|
|
%global libev_version 4.24
|
|
|
|
%global libev_version 4.25
|
|
|
|
|
|
|
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Version: 2.3.1
|
|
|
|
Version: 2.4.0
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: New IO for Ruby
|
|
|
|
Summary: New IO for Ruby
|
|
|
|
# The entire source code is MIT, bundled libev is BSD or GPLv2+
|
|
|
|
# The entire source code is MIT, bundled libev is BSD or GPLv2+
|
|
|
|
License: MIT and (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).
|
|
|
|
# Prevent dangling symlink in -debuginfo (rhbz#878863).
|
|
|
|
rm -rf %{buildroot}%{gem_instdir}/ext/
|
|
|
|
rm -rf %{buildroot}%{gem_instdir}/ext/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
# Check libev version correctness.
|
|
|
|
# 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 '/require "coveralls"/ s/^/#/' spec/spec_helper.rb
|
|
|
|
sed -i '/Coveralls.wear!/ 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.
|
|
|
|
# Load nio4r_ext.so.
|
|
|
|
rspec -I$(dirs +1)%{gem_extdir_mri} spec
|
|
|
|
rspec -I$(dirs +1)%{gem_extdir_mri} spec
|
|
|
|
popd
|
|
|
|
popd
|
|
|
@ -118,7 +101,7 @@ popd
|
|
|
|
%doc %{gem_instdir}/README.md
|
|
|
|
%doc %{gem_instdir}/README.md
|
|
|
|
%doc %{gem_instdir}/CHANGES.md
|
|
|
|
%doc %{gem_instdir}/CHANGES.md
|
|
|
|
%{gem_instdir}/logo.png
|
|
|
|
%{gem_instdir}/logo.png
|
|
|
|
%{gem_instdir}/tasks
|
|
|
|
%{gem_instdir}/rakelib
|
|
|
|
%{gem_instdir}/Guardfile
|
|
|
|
%{gem_instdir}/Guardfile
|
|
|
|
%{gem_instdir}/Rakefile
|
|
|
|
%{gem_instdir}/Rakefile
|
|
|
|
%{gem_instdir}/examples
|
|
|
|
%{gem_instdir}/examples
|
|
|
@ -126,6 +109,9 @@ popd
|
|
|
|
%{gem_instdir}/spec
|
|
|
|
%{gem_instdir}/spec
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Jul 09 2019 Vít Ondruch <vondruch@redhat.com> - 2.4.0-1
|
|
|
|
|
|
|
|
- Update to nio4r 2.4.0.
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-4
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|