[rubygem-ffi] Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
Vít Ondruch
vondruch at fedoraproject.org
Fri Feb 22 23:02:31 UTC 2013
commit 90545f5b67f71ba766a34a0f2650dff7eb6372c9
Author: Vít Ondruch <vondruch at redhat.com>
Date: Wed Feb 20 14:37:12 2013 +0100
Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
.gitignore | 1 +
rubygem-ffi.spec | 13 +++----------
sources | 2 +-
3 files changed, 5 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3449d59..25b48ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
ffi-ffi-b69a5e3.tar.gz
/ffi-ffi-1.0.9-0-gb79eb61.tar.gz
+/ffi-1.4.0.gem
diff --git a/rubygem-ffi.spec b/rubygem-ffi.spec
index 306e849..7d6f968 100644
--- a/rubygem-ffi.spec
+++ b/rubygem-ffi.spec
@@ -15,7 +15,7 @@ BuildRequires: rubygems-devel
BuildRequires: libffi-devel
BuildRequires: rubygem(rspec)
Requires: ruby(rubygems)
-Requires: ruby(abi)
+Requires: ruby(release)
Provides: rubygem(%{gem_name}) = %{version}
%description
@@ -32,19 +32,11 @@ gem unpack %{SOURCE0}
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
%build
-mkdir -p ./%{gem_dir}
# Create the gem as gem install only works on a gem file
gem build %{gem_name}.gemspec
-export CONFIGURE_ARGS="--with-cflags='%{optflags}'"
-gem install -V \
- --local \
- --install-dir ./%{gem_dir} \
- --bindir ./%{_bindir} \
- --force \
- --rdoc \
- %{gem_name}-%{version}.gem
+%gem_install
%install
mkdir -p %{buildroot}%{gem_dir}
@@ -82,6 +74,7 @@ popd
%changelog
* Wed Feb 20 2013 Vít Ondruch <vondruch at redhat.com> - 1.4.0-1
+- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
- Update to FFI 1.4.0.
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.9-6
diff --git a/sources b/sources
index 43e2a42..be658d7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-63bad50d484d539b718a9db7c035a4aa ffi-ffi-1.0.9-0-gb79eb61.tar.gz
+5ce1c04c23267cb550250f6d94e03c12 ffi-1.4.0.gem
More information about the scm-commits
mailing list