Accepting request 817029 from devel:languages:ruby:extensions

OBS-URL: https://build.opensuse.org/request/show/817029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rubygem-ffi?expand=0&rev=35
This commit is contained in:
Dominique Leuenberger 2020-06-25 13:11:18 +00:00 committed by Git OBS Bridge
commit e9ae564352
4 changed files with 50 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:048ad01d5369f67075f943c16f1058f10663af2a66eedb87d921316ba1828e82
size 897024

3
ffi-1.13.1.gem Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e15f52ee45af7c5674d656041855448adbb5022618be252cd602d81b8e2978a
size 897536

View File

@ -1,3 +1,48 @@
-------------------------------------------------------------------
Thu Jun 25 10:13:27 UTC 2020 - Manuel Schnitzer <mschnitzer@suse.com>
- updated to version 1.13.1
1.13.1 / 2020-06-09
-------------------
Changed:
* Revert use of `ucrtbase.dll` as default C library on Windows-MINGW.
`ucrtbase.dll` is still used on MSWIN target. #790
* Test for `ffi_prep_closure_loc()` to make sure we can use this function.
This fixes incorrect use of system libffi on MacOS Mojave (10.14). #787
* Update types.conf on x86_64-dragonflybsd
1.13.0 / 2020-06-01
-------------------
Added:
* Add TruffleRuby support. Almost all specs are running on TruffleRuby and succeed. #768
* Add ruby source files to the java gem. This allows to ship the Ruby library code per platform java gem and add it as a default gem to JRuby. #763
* Add FFI::Platform::LONG_DOUBLE_SIZE
* Add bounds checks for writing to an inline char[] . #756
* Add long double as callback return value. #771
* Update type definitions and add types from stdint.h and stddef.h on i386-windows, x86_64-windows, x86_64-darwin, x86_64-linux, arm-linux, powerpc-linux. #749
* Add new type definitions for powerpc-openbsd and sparcv9-openbsd. #775, #778
Changed:
* Raise required ruby version to >= 2.3.
* Lots of cleanups and improvements in library, specs and benchmarks.
* Fix a lot of compiler warnings at the C-extension
* Fix several install issues on MacOS:
* Look for libffi in SDK paths, since recent versions of macOS removed it from `/usr/include` . #757
* Fix error `ld: library not found for -lgcc_s.10.4`
* Don't built for i386 architecture as it is deprecated
* Several fixes for MSVC build on Windows. #779
* Use `ucrtbase.dll` as default C library on Windows instead of old `msvcrt.dll`. #779
* Update builtin libffi to fix a Powerpc issue with parameters of type long
* Allow unmodified sourcing of (the ruby code of) this gem in JRuby and TruffleRuby as a default gem. #747
* Improve check to detect if a module has a #find_type method suitable for FFI. This fixes compatibility with stdlib `mkmf` . #776
Removed:
* Reject callback with `:string` return type at definition, because it didn't work so far and is not save to use. #751, #782
-------------------------------------------------------------------
Mon Feb 10 14:34:08 UTC 2020 - Stephan Kulow <coolo@suse.com>

View File

@ -24,7 +24,7 @@
#
Name: rubygem-ffi
Version: 1.12.2
Version: 1.13.1
Release: 0
%define mod_name ffi
%define mod_full_name %{mod_name}-%{version}
@ -32,7 +32,7 @@ Release: 0
BuildRequires: libffi-devel
# /MANUAL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{rubydevel >= 2.0}
BuildRequires: %{rubydevel >= 2.3}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{rubygem rdoc > 3.10}
BuildRequires: ruby-macros >= 5