|
|
@ -2,15 +2,15 @@
|
|
|
|
%global gem_name concurrent-ruby
|
|
|
|
%global gem_name concurrent-ruby
|
|
|
|
|
|
|
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Version: 1.0.0
|
|
|
|
Version: 1.0.2
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Modern concurrency tools for Ruby
|
|
|
|
Summary: Modern concurrency tools for Ruby
|
|
|
|
Group: Development/Languages
|
|
|
|
Group: Development/Languages
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: http://www.concurrent-ruby.com
|
|
|
|
URL: http://www.concurrent-ruby.com
|
|
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
# git clone https://github.com/ruby-concurrency/concurrent-ruby.git && cd concurrent-ruby
|
|
|
|
# git clone https://github.com/ruby-concurrency/concurrent-ruby.git && cd concurrent-ruby
|
|
|
|
# git checkout v1.0.0 && tar czvf concurrent-ruby-1.0.0-specs.tar.gz spec/
|
|
|
|
# git checkout v1.0.2 && tar czvf concurrent-ruby-1.0.2-specs.tar.gz spec/
|
|
|
|
Source1: %{gem_name}-%{version}-specs.tar.gz
|
|
|
|
Source1: %{gem_name}-%{version}-specs.tar.gz
|
|
|
|
BuildRequires: ruby(release)
|
|
|
|
BuildRequires: ruby(release)
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
@ -65,14 +65,10 @@ tar xzf %{SOURCE1}
|
|
|
|
# -edge is not part of this gem.
|
|
|
|
# -edge is not part of this gem.
|
|
|
|
sed -i '/require.*concurrent-edge/ s/^/#/' spec/spec_helper.rb
|
|
|
|
sed -i '/require.*concurrent-edge/ s/^/#/' spec/spec_helper.rb
|
|
|
|
|
|
|
|
|
|
|
|
# We don't have the C extension. This is very likely bug in the test
|
|
|
|
# We don't have the C extension. It would need to come from concurrent-ruby-ext
|
|
|
|
# implemntation.
|
|
|
|
# and that would lead to cicrular dependency.
|
|
|
|
sed -i '/allow_c_extensions?/,/^ end/ s/^/#/' spec/concurrent/atomic/atomic_reference_spec.rb
|
|
|
|
sed -i '/allow_c_extensions?/,/^ end/ s/^/#/' spec/concurrent/atomic/atomic_reference_spec.rb
|
|
|
|
|
|
|
|
|
|
|
|
# This is empty file, which fails with recent RSpec, but excluding it,
|
|
|
|
|
|
|
|
# no harm is done.
|
|
|
|
|
|
|
|
mv spec/concurrent/lazy_register_spec.rb{,.disble}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Exclude the -edge test cases.
|
|
|
|
# Exclude the -edge test cases.
|
|
|
|
rspec -rspec_helper \
|
|
|
|
rspec -rspec_helper \
|
|
|
|
--exclude-pattern 'spec/concurrent/{actor_spec.rb,channel_spec.rb,lazy_register_spec.rb,channel/**/*,atomic/atomic_markable_reference_spec.rb,edge/**/*}'\
|
|
|
|
--exclude-pattern 'spec/concurrent/{actor_spec.rb,channel_spec.rb,lazy_register_spec.rb,channel/**/*,atomic/atomic_markable_reference_spec.rb,edge/**/*}'\
|
|
|
@ -93,6 +89,9 @@ popd
|
|
|
|
%doc %{gem_instdir}/README.md
|
|
|
|
%doc %{gem_instdir}/README.md
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Jul 04 2016 Vít Ondruch <vondruch@redhat.com> - 1.0.2-1
|
|
|
|
|
|
|
|
- Update to Concurrent Ruby 1.0.2.
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|