1.9.18
This commit is contained in:
parent
1b59849f44
commit
bb5e5880d6
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
@ -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
|
@ -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 <mtasaka@fedoraproject.org> - 1.9.18-1
|
||||
- 1.9.18
|
||||
|
||||
* Fri Feb 10 2017 Jun Aruga <jaruga@redhat.com> - 1.9.14-3
|
||||
- Suppress deprecated Fixnum warnings on Ruby 2.4.0.
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (ffi-1.9.14.gem) = ab010e1da8a7ddfc65941c87f3be2205fb7d5428fcadb6d15bd5b1cf3d7572c7dd766fd7c57867290d0e1eb911271a515d7b1238dcfb09e14b3a7a7fa12f3b47
|
||||
SHA512 (ffi-1.9.18.gem) = 957bdda13eb84bcda43280ee6025f13c6cff8b14090079f7bbb1296e13082c4d6027c25de2b0c6e1f9d9c2f020ef66d1e6db2c5d9cfa50e828e146ab83e7a6d9
|
||||
|
Loading…
Reference in New Issue
Block a user