From 60be4c211103636391b47014e583a69b8e8dfd69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Mon, 4 Jul 2016 16:45:53 +0200 Subject: [PATCH] Update to Concurrent Ruby 1.0.2. --- .gitignore | 2 ++ rubygem-concurrent-ruby.spec | 17 ++++++++--------- sources | 4 ++-- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 76bff90..7023c96 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ /concurrent-ruby-1.0.0-specs.tar.gz /concurrent-ruby-1.0.0.gem +/concurrent-ruby-1.0.2-specs.tar.gz +/concurrent-ruby-1.0.2.gem diff --git a/rubygem-concurrent-ruby.spec b/rubygem-concurrent-ruby.spec index 9ab8881..419d229 100644 --- a/rubygem-concurrent-ruby.spec +++ b/rubygem-concurrent-ruby.spec @@ -2,15 +2,15 @@ %global gem_name concurrent-ruby Name: rubygem-%{gem_name} -Version: 1.0.0 -Release: 2%{?dist} +Version: 1.0.2 +Release: 1%{?dist} Summary: Modern concurrency tools for Ruby Group: Development/Languages 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 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 BuildRequires: ruby(release) BuildRequires: rubygems-devel @@ -65,14 +65,10 @@ tar xzf %{SOURCE1} # -edge is not part of this gem. 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 -# implemntation. +# We don't have the C extension. It would need to come from concurrent-ruby-ext +# and that would lead to cicrular dependency. 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. 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/**/*}'\ @@ -93,6 +89,9 @@ popd %doc %{gem_instdir}/README.md %changelog +* Mon Jul 04 2016 Vít Ondruch - 1.0.2-1 +- Update to Concurrent Ruby 1.0.2. + * Thu Feb 04 2016 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 8159152..6529166 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -e0d1bc6c359cec3841fd42d59015305d concurrent-ruby-1.0.0-specs.tar.gz -9e38a80ada271fe805d18c0072960cbf concurrent-ruby-1.0.0.gem +d551a2fbb68721ec7bcdaa2777b23d53 concurrent-ruby-1.0.2-specs.tar.gz +b40c7535b685bb7b5b32b729bb5a88bc concurrent-ruby-1.0.2.gem