This commit is contained in:
Vít Ondruch 2013-02-20 14:37:12 +01:00
parent 010f03d89c
commit 90545f5b67
3 changed files with 5 additions and 11 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
ffi-ffi-b69a5e3.tar.gz
/ffi-ffi-1.0.9-0-gb79eb61.tar.gz
/ffi-1.4.0.gem

View File

@ -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@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@lists.fedoraproject.org> - 1.0.9-6

View File

@ -1 +1 @@
63bad50d484d539b718a9db7c035a4aa ffi-ffi-1.0.9-0-gb79eb61.tar.gz
5ce1c04c23267cb550250f6d94e03c12 ffi-1.4.0.gem