[rubygem-rake-compiler] Adjust test suite for ruby 2.1.x
Mamoru TASAKA
mtasaka at fedoraproject.org
Thu Jun 26 09:34:05 UTC 2014
commit 8ec15d0f0847c5a435e84139d91ac1c6f0d34bcc
Author: Mamoru TASAKA <mtasaka at fedoraproject.org>
Date: Thu Jun 26 18:34:02 2014 +0900
Adjust test suite for ruby 2.1.x
rubygem-rake-compiler-ruby211.patch | 21 +++++++++++++++++++++
rubygem-rake-compiler.spec | 10 ++++++++--
2 files changed, 29 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-rake-compiler-ruby211.patch b/rubygem-rake-compiler-ruby211.patch
new file mode 100644
index 0000000..acbb279
--- /dev/null
+++ b/rubygem-rake-compiler-ruby211.patch
@@ -0,0 +1,21 @@
+--- rake-compiler-0.9.2/spec/lib/rake/extensiontask_spec.rb.newver 2014-06-26 18:14:16.494289094 +0900
++++ rake-compiler-0.9.2/spec/lib/rake/extensiontask_spec.rb 2014-06-26 18:24:06.645935169 +0900
+@@ -487,9 +487,18 @@
+ 'rbconfig-i386-mingw32-1.9.3' => '/some/path/version/1.9.1/to/rbconfig.rb',
+ 'rbconfig-universal-known-1.9.3' => '/some/path/version/1.9.1/to/rbconfig.rb',
+ 'rbconfig-universal-known-2.0.0' => '/some/path/version/2.0.0/to/rbconfig.rb',
++ 'rbconfig-universal-known-2.1.0' => '/some/path/version/2.1.0/to/rbconfig.rb',
++ 'rbconfig-universal-known-2.1.1' => '/some/path/version/2.1.0/to/rbconfig.rb',
++ 'rbconfig-universal-known-2.1.2' => '/some/path/version/2.1.0/to/rbconfig.rb',
+ 'rbconfig-universal-unknown-1.9.3' => '/some/path/version/1.9.1/to/rbconfig.rb',
+ 'rbconfig-universal-unknown-2.0.0' => '/some/path/version/2.0.0/to/rbconfig.rb',
++ 'rbconfig-universal-unknown-2.1.0' => '/some/path/version/2.1.0/to/rbconfig.rb',
++ 'rbconfig-universal-unknown-2.1.1' => '/some/path/version/2.1.0/to/rbconfig.rb',
++ 'rbconfig-universal-unknown-2.1.2' => '/some/path/version/2.1.0/to/rbconfig.rb',
+ 'rbconfig-i386-mingw32-2.0.0' => '/some/path/version/2.0.0/to/rbconfig.rb',
++ 'rbconfig-i386-mingw32-2.1.0' => '/some/path/version/2.1.0/to/rbconfig.rb',
++ 'rbconfig-i386-mingw32-2.1.1' => '/some/path/version/2.1.0/to/rbconfig.rb',
++ 'rbconfig-i386-mingw32-2.1.2' => '/some/path/version/2.1.0/to/rbconfig.rb',
+ 'rbconfig-x64-mingw32-2.0.0' => '/some/path/version/2.0.0/to/rbconfig.rb',
+ 'rbconfig-x64-mingw32-3.0.0' => '/some/fake/version/3.0.0/to/rbconfig.rb'
+ }
diff --git a/rubygem-rake-compiler.spec b/rubygem-rake-compiler.spec
index 242b293..4116fa6 100644
--- a/rubygem-rake-compiler.spec
+++ b/rubygem-rake-compiler.spec
@@ -20,11 +20,13 @@
Summary: Rake-based Ruby C Extension task generator
Name: rubygem-%{gemname}
Version: 0.9.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Group: Development/Languages
License: MIT
URL: http://rake-compiler.rubyforge.org/
-Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
+Source0: https://rubygems.org/gems/%{gemname}-%{version}.gem
+# Support ruby 2.1.1
+Patch0: rubygem-rake-compiler-ruby211.patch
%if 0%{?fedora} >= 19
Requires: ruby(release)
@@ -80,6 +82,7 @@ pushd tmpunpackdir
gem unpack %{SOURCE0}
cd %{gem_name}-%{version}
+%patch0 -p1 -b .newver
# rpmlint cosmetic
sed -i -e 's|\r||' README.rdoc
@@ -140,6 +143,9 @@ ruby -Ilib -S rspec spec/
%changelog
+* Thu Jun 26 2014 Mamoru TASAKA <mtasaka at fedoraproject.org> - 0.9.2-3
+- Adjust test suite for ruby 2.1.x
+
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list