Update to Concurrent Ruby 1.1.9.

Resolves: rhbz#1801443
epel9 imports/e9/rubygem-concurrent-ruby-1.1.9-1.el9
Vít Ondruch 3 years ago
parent eac77cec8a
commit 83a3c6572b

2
.gitignore vendored

@ -8,3 +8,5 @@
/concurrent-ruby-1.0.5.gem
/concurrent-ruby-1.1.5-specs.tar.gz
/concurrent-ruby-1.1.5.gem
/concurrent-ruby-1.1.9-specs.tar.gz
/concurrent-ruby-1.1.9.gem

@ -2,14 +2,14 @@
%global gem_name concurrent-ruby
Name: rubygem-%{gem_name}
Version: 1.1.5
Release: 6%{?dist}
Version: 1.1.9
Release: 1%{?dist}
Summary: Modern concurrency tools for Ruby
License: MIT
URL: http://www.concurrent-ruby.com
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
# git clone https://github.com/ruby-concurrency/concurrent-ruby.git && cd concurrent-ruby
# git archive -v -o concurrent-ruby-1.1.5-specs.tar.gz v1.1.5 spec/
# git archive -v -o concurrent-ruby-1.1.9-specs.tar.gz v1.1.9 spec/
Source1: %{gem_name}-%{version}-specs.tar.gz
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
@ -63,20 +63,23 @@ sed -i '/require.*concurrent-edge/ s/^/#/' spec/spec_helper.rb
sed -i '/allow_c_extensions?/,/^ end/ s/^/#/' spec/concurrent/atomic/atomic_reference_spec.rb
# Exclude the -edge test cases.
#
# Also exclude `scheduled_task_spec` and `timer_task_spec`,
# because these are pretty unstable:
# https://github.com/ruby-concurrency/concurrent-ruby/issues/824
rspec -rspec_helper \
#
# Require path must be exported due to
# spec/concurrent/executor/executor_service_shared.rb spawning new Ruby instance
RUBYOPT=-Ilib/concurrent-ruby rspec -rspec_helper \
-fd \
--exclude-pattern 'spec/concurrent/{actor_spec.rb,channel_spec.rb,lazy_register_spec.rb,channel/**/*,edge/**/*,promises_spec.rb,throttle_spec.rb,cancellation_spec.rb,scheduled_task_spec.rb,timer_task_spec.rb}' \
--exclude-pattern 'spec/concurrent/{actor_spec.rb,channel_spec.rb,lazy_register_spec.rb,channel/**/*,edge/**/*,promises_spec.rb,throttle_spec.rb,cancellation_spec.rb,scheduled_task_spec.rb,timer_task_spec.rb,executor/wrapping_executor_spec.rb}' \
spec
popd
%files
%dir %{gem_instdir}
%license %{gem_instdir}/LICENSE.md
%license %{gem_instdir}/LICENSE.txt
# Containst just some Java sources. Very likely included by mistake.
%exclude %{gem_instdir}/ext
%{gem_libdir}
@ -91,6 +94,10 @@ popd
%{gem_instdir}/Rakefile
%changelog
* Mon Feb 28 2022 Vít Ondruch <vondruch@redhat.com> - 1.1.9-1
- Update to Concurrent Ruby 1.1.9.
Resolves: rhbz#1801443
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

@ -1,2 +1,2 @@
SHA512 (concurrent-ruby-1.1.5-specs.tar.gz) = 74f1de9259c30dfdfba54be065fd090bc47df6543af811fc76cf8022408435cbbfa64eb92d4acc3c46cd1b5a2ed5497d0c852779174a2ec0503617f227ce8b17
SHA512 (concurrent-ruby-1.1.5.gem) = 357fa6bbf65ff4143adba9de6713d28eacb03170b3b4218f53d80433de13ba50b1c3741a62ec355a3aa01388bcbd059e1bca3dd82c88cf56b8b3110c24b37613
SHA512 (concurrent-ruby-1.1.9-specs.tar.gz) = bde6b5553de4188900192e54f3d6166b18fd0a47bf6f3a23857e0d4c5ca26e99fe517ccd0bb21dbd91533605945659820816489984a7c6ebfa76054ade491c8b
SHA512 (concurrent-ruby-1.1.9.gem) = 39472a1b5589a125428e67c532b23b8fead2a9e1a56e53d8de7d94cf95b52fc856540db657d751a2abfd1accbbbc66f3a7e05bc308f44445bb4344025abf00d5

Loading…
Cancel
Save