[packages/ruby-ffi] - up to 1.9.25
baggins
baggins at pld-linux.org
Sun Jul 15 18:38:09 CEST 2018
commit 6fb4a5fc59eb8729a2a69a5d0c44a2fac7930f77
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Jul 15 18:37:54 2018 +0200
- up to 1.9.25
failed-tests.patch | 31 -------------------------------
ruby-ffi.spec | 18 +++---------------
2 files changed, 3 insertions(+), 46 deletions(-)
---
diff --git a/ruby-ffi.spec b/ruby-ffi.spec
index 9a1ebd4..0d16273 100644
--- a/ruby-ffi.spec
+++ b/ruby-ffi.spec
@@ -7,14 +7,13 @@
Summary: FFI Extensions for Ruby
Summary(pl.UTF-8): Rozszerzenia FFI dla języka Ruby
Name: ruby-%{pkgname}
-Version: 1.9.18
-Release: 4
+Version: 1.9.25
+Release: 1
License: BSD
Group: Development/Languages
Source0: http://rubygems.org/gems/%{pkgname}-%{version}.gem
-# Source0-md5: 37284a51e5464443f7122b388329a2a0
+# Source0-md5: e8923807b970643d9e356a65038769ac
Patch0: %{name}-platform.patch
-Patch1: failed-tests.patch
URL: https://wiki.github.com/ffi/ffi
BuildRequires: libffi-devel >= %{ffi_req}
BuildRequires: rpm-rubyprov
@@ -46,7 +45,6 @@ stronie <http://wiki.github.com/ffi/ffi/why-use-ffi>.
%prep
%setup -q -n %{pkgname}-%{version}
%patch0 -p1
-%patch1 -p1
# be sure to use system ffi
%{__rm} -r ext/ffi_c/libffi
@@ -109,16 +107,6 @@ cd ext/ffi_c
cd -
%if %{with tests}
-%{__make} -f libtest/GNUmakefile \
- CCACHE= \
- OFLAGS='%{rpmcflags} $(JFLAGS)' \
- CC="%{__cc}"
-
-%{__make} -C spec/ffi/fixtures \
- CCACHE= \
- OFLAGS='%{rpmcflags} $(JFLAGS)' \
- CC="%{__cc}"
-
ruby -Ilib:ext/ffi_c -S \
rspec spec
%endif
diff --git a/failed-tests.patch b/failed-tests.patch
deleted file mode 100644
index dab4aed..0000000
--- a/failed-tests.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- ffi-1.9.18/spec/ffi/rbx/memory_pointer_spec.rb~ 2017-04-24 23:21:39.000000000 +0300
-+++ ffi-1.9.18/spec/ffi/rbx/memory_pointer_spec.rb 2017-04-24 23:25:41.721750596 +0300
-@@ -89,7 +89,7 @@
- expect(m.read :long).to eq(10)
- end
-
-- it "allows writing as a size_t" do
-+ false and it "allows writing as a size_t" do
- m = FFI::MemoryPointer.new(:size_t)
- m.write(:size_t, 10)
- expect(m.read :size_t).to eq(10)
-@@ -106,7 +106,7 @@
- expect(m.read FFI::Type::BOOL).to eq(false)
- end
-
-- it "allows writing a custom typedef" do
-+ false and it "allows writing a custom typedef" do
- FFI.typedef :uint, :fubar_t
- FFI.typedef :size_t, :fubar2_t
-
---- ffi-1.9.18/spec/ffi/typedef_spec.rb~ 2017-04-24 23:21:39.000000000 +0300
-+++ ffi-1.9.18/spec/ffi/typedef_spec.rb 2017-04-24 23:26:56.718752408 +0300
-@@ -73,7 +73,7 @@
- end.not_to raise_error
- end
-
-- it "detects the correct type for size_t" do
-+ false and it "detects the correct type for size_t" do
- expect do
- Module.new do
- extend FFI::Library
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-ffi.git/commitdiff/6fb4a5fc59eb8729a2a69a5d0c44a2fac7930f77
More information about the pld-cvs-commit
mailing list