[packages/ruby-ffi] - up to 1.9.6
baggins
baggins at pld-linux.org
Mon Dec 8 23:12:25 CET 2014
commit 5a192f4ba8599bf9fb1829e221b3c8778c846b40
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Dec 8 23:12:17 2014 +0100
- up to 1.9.6
ruby-ffi-platform.patch | 2 +-
ruby-ffi.spec | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/ruby-ffi.spec b/ruby-ffi.spec
index bb58ebf..e859182 100644
--- a/ruby-ffi.spec
+++ b/ruby-ffi.spec
@@ -6,12 +6,12 @@
Summary: FFI Extensions for Ruby
Summary(pl.UTF-8): Rozszerzenia FFI dla języka Ruby
Name: ruby-%{pkgname}
-Version: 1.9.3
-Release: 2
+Version: 1.9.6
+Release: 1
License: BSD
Group: Development/Languages
Source0: http://rubygems.org/gems/%{pkgname}-%{version}.gem
-# Source0-md5: 1b5ab133fb1b861eeb7c7a8dbaa0acf4
+# Source0-md5: 8606c263037322ae957e1959245841be
Patch0: %{name}-platform.patch
URL: http://wiki.github.com/ffi/ffi
BuildRequires: libffi-devel
diff --git a/ruby-ffi-platform.patch b/ruby-ffi-platform.patch
index 07179c3..33795dd 100644
--- a/ruby-ffi-platform.patch
+++ b/ruby-ffi-platform.patch
@@ -3,7 +3,7 @@
@@ -84,7 +84,7 @@
IS_OPENBSD = is_os("openbsd")
IS_WINDOWS = is_os("windows")
- IS_BSD = IS_MAC || IS_FREEBSD || IS_OPENBSD
+ IS_BSD = IS_MAC || IS_FREEBSD || IS_NETBSD || IS_OPENBSD
- CONF_DIR = File.join(File.dirname(__FILE__), 'platform', NAME)
+ CONF_DIR = File.join(RbConfig::CONFIG["vendorarchdir"], 'ffi', 'platform', NAME)
public
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-ffi.git/commitdiff/5a192f4ba8599bf9fb1829e221b3c8778c846b40
More information about the pld-cvs-commit
mailing list