Accepting request 129752 from devel:languages:ruby:extensions

OBS-URL: https://build.opensuse.org/request/show/129752
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rubygem-ffi?expand=0&rev=3
This commit is contained in:
Stephan Kulow
2012-08-04 07:39:18 +00:00
committed by Git OBS Bridge
4 changed files with 29 additions and 15 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2f2d1bb12b608a98b417225a6641cb1559716409af81f5cb2032042a35f25235
size 964096

3
ffi-1.1.2.gem Normal file
View File

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

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Jul 30 09:50:48 UTC 2012 - coolo@suse.com
- update to 1.1.2 - fixes for arm
-------------------------------------------------------------------
Sat Jul 28 16:23:24 UTC 2012 - coolo@suse.com
- updated to 1.1.1 - no changelog
-------------------------------------------------------------------
Sun Jul 22 15:15:19 UTC 2012 - coolo@suse.com

View File

@@ -17,21 +17,20 @@
Name: rubygem-ffi
Version: 1.1.0
Version: 1.1.2
Release: 0
%define mod_name ffi
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ruby-macros >= 1
# MANUAL
BuildRequires: libffi-devel
Url: http://wiki.github.com/ffi/ffi
Source: %{mod_full_name}.gem
Summary: Ruby-FFI is a ruby extension for programmatically loading dynamic libraries, binding functions within them, and calling those functions from Ruby code
License: LGPL-3.0
Group: Development/Languages/Ruby
Url: http://wiki.github.com/ffi/ffi
%define mod_name ffi
%define mod_full_name %{mod_name}-%{version}
Source: %{mod_full_name}.gem
BuildRequires: libffi-devel
BuildRequires: rubygems_with_buildroot_patch
Provides: rubygem-%{mod_name}-1 = %{version}
Provides: rubygem-%{mod_name}-1_1 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%rubygems_requires
%description
Ruby-FFI is a ruby extension for programmatically loading dynamic
@@ -58,9 +57,14 @@ Requires: %{name} = %{version}
Test::Unit or RSpec files, useful for developers.
%prep
#gem_unpack
#if you need patches, apply them here and replace the # with a % sign in the surrounding lines
#gem_build
%build
%install
%gem_install %{SOURCE0}
%gem_install -f
%gem_cleanup
%files