This commit is contained in:
parent
010f03d89c
commit
90545f5b67
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
ffi-ffi-b69a5e3.tar.gz
|
ffi-ffi-b69a5e3.tar.gz
|
||||||
/ffi-ffi-1.0.9-0-gb79eb61.tar.gz
|
/ffi-ffi-1.0.9-0-gb79eb61.tar.gz
|
||||||
|
/ffi-1.4.0.gem
|
||||||
|
@ -15,7 +15,7 @@ BuildRequires: rubygems-devel
|
|||||||
BuildRequires: libffi-devel
|
BuildRequires: libffi-devel
|
||||||
BuildRequires: rubygem(rspec)
|
BuildRequires: rubygem(rspec)
|
||||||
Requires: ruby(rubygems)
|
Requires: ruby(rubygems)
|
||||||
Requires: ruby(abi)
|
Requires: ruby(release)
|
||||||
Provides: rubygem(%{gem_name}) = %{version}
|
Provides: rubygem(%{gem_name}) = %{version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -32,19 +32,11 @@ gem unpack %{SOURCE0}
|
|||||||
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p ./%{gem_dir}
|
|
||||||
|
|
||||||
# Create the gem as gem install only works on a gem file
|
# Create the gem as gem install only works on a gem file
|
||||||
gem build %{gem_name}.gemspec
|
gem build %{gem_name}.gemspec
|
||||||
|
|
||||||
export CONFIGURE_ARGS="--with-cflags='%{optflags}'"
|
%gem_install
|
||||||
gem install -V \
|
|
||||||
--local \
|
|
||||||
--install-dir ./%{gem_dir} \
|
|
||||||
--bindir ./%{_bindir} \
|
|
||||||
--force \
|
|
||||||
--rdoc \
|
|
||||||
%{gem_name}-%{version}.gem
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{gem_dir}
|
mkdir -p %{buildroot}%{gem_dir}
|
||||||
@ -82,6 +74,7 @@ popd
|
|||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Feb 20 2013 Vít Ondruch <vondruch@redhat.com> - 1.4.0-1
|
* 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.
|
- Update to FFI 1.4.0.
|
||||||
|
|
||||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-6
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-6
|
||||||
|
Loading…
Reference in New Issue
Block a user