From bb5e5880d6972f508915429538f82f0cfba2616c Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 31 Mar 2017 14:28:08 +0900 Subject: [PATCH] 1.9.18 --- .gitignore | 1 + ...ffi-1.9.17-suppress-Fixnum-warning-ruby2.4.patch | 13 ------------- rubygem-ffi.spec | 12 +++++------- sources | 2 +- 4 files changed, 7 insertions(+), 21 deletions(-) delete mode 100644 rubygem-ffi-1.9.17-suppress-Fixnum-warning-ruby2.4.patch diff --git a/.gitignore b/.gitignore index 7c742ce..965e61a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ ffi-ffi-b69a5e3.tar.gz /ffi-1.9.3.gem /ffi-1.9.10.gem /ffi-1.9.14.gem +/ffi-1.9.18.gem diff --git a/rubygem-ffi-1.9.17-suppress-Fixnum-warning-ruby2.4.patch b/rubygem-ffi-1.9.17-suppress-Fixnum-warning-ruby2.4.patch deleted file mode 100644 index bc0f35d..0000000 --- a/rubygem-ffi-1.9.17-suppress-Fixnum-warning-ruby2.4.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/lib/ffi/struct_layout_builder.rb b/lib/ffi/struct_layout_builder.rb -index 918c790..ce80f67 100644 ---- a/lib/ffi/struct_layout_builder.rb -+++ b/lib/ffi/struct_layout_builder.rb -@@ -87,7 +87,7 @@ def union? - # @return [0,1] - # - def packed=(packed) -- if packed.is_a?(Fixnum) -+ if packed.is_a?(Integer) - @alignment = packed - @packed = packed - else diff --git a/rubygem-ffi.spec b/rubygem-ffi.spec index 0c6f92f..2fb78a2 100644 --- a/rubygem-ffi.spec +++ b/rubygem-ffi.spec @@ -1,17 +1,14 @@ %global gem_name ffi Name: rubygem-%{gem_name} -Version: 1.9.14 -Release: 3%{?dist} +Version: 1.9.18 +Release: 1%{?dist} Summary: FFI Extensions for Ruby Group: Development/Languages License: BSD URL: http://wiki.github.com/ffi/ffi Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem -# Suppress deprecated Fixnum warnings on Ruby 2.4.0. -# https://github.com/ffi/ffi/pull/557 -Patch0: rubygem-ffi-1.9.17-suppress-Fixnum-warning-ruby2.4.patch BuildRequires: ruby(release) BuildRequires: rubygems-devel @@ -42,8 +39,6 @@ gem unpack %{SOURCE0} gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec -%patch0 -p1 - %build # Create the gem as gem install only works on a gem file gem build %{gem_name}.gemspec @@ -97,6 +92,9 @@ popd %{gem_instdir}/Rakefile %changelog +* Fri Mar 31 2017 Mamoru TASAKA - 1.9.18-1 +- 1.9.18 + * Fri Feb 10 2017 Jun Aruga - 1.9.14-3 - Suppress deprecated Fixnum warnings on Ruby 2.4.0. diff --git a/sources b/sources index b5888bd..8ad3756 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ffi-1.9.14.gem) = ab010e1da8a7ddfc65941c87f3be2205fb7d5428fcadb6d15bd5b1cf3d7572c7dd766fd7c57867290d0e1eb911271a515d7b1238dcfb09e14b3a7a7fa12f3b47 +SHA512 (ffi-1.9.18.gem) = 957bdda13eb84bcda43280ee6025f13c6cff8b14090079f7bbb1296e13082c4d6027c25de2b0c6e1f9d9c2f020ef66d1e6db2c5d9cfa50e828e146ab83e7a6d9