Rebuild against ruby 1.9
This commit is contained in:
parent
0fafae907a
commit
50958daa7a
1 changed files with 19 additions and 7 deletions
|
|
@ -1,13 +1,19 @@
|
|||
%global gemname rake-compiler
|
||||
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
|
||||
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
|
||||
%global gem_name %{gemname}
|
||||
%global gemdir %{gem_dir}
|
||||
%global geminstdir %{gem_instdir}
|
||||
|
||||
%global rubyabi 1.8
|
||||
%if 0%{?fedora} >= 17
|
||||
%global gemdir %{gem_dir}
|
||||
%global gem_name %{gemname}
|
||||
%global geminstdir %{gem_instdir}
|
||||
%global rubyabi 1.9.1
|
||||
%endif
|
||||
|
||||
Summary: Rake-based Ruby C Extension task generator
|
||||
Name: rubygem-%{gemname}
|
||||
Version: 0.8.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Group: Development/Languages
|
||||
License: MIT
|
||||
URL: http://rake-compiler.rubyforge.org/
|
||||
|
|
@ -15,11 +21,14 @@ Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
|
|||
|
||||
BuildRequires: ruby(abi) = %{rubyabi}
|
||||
BuildRequires: ruby(rubygems) >= 1.3.5
|
||||
BuildRequires: rubygem(cucumber)
|
||||
BuildRequires: rubygem(isolate)
|
||||
BuildRequires: rubygem(rake)
|
||||
#BuildRequires: rubygem(cucumber)
|
||||
#BuildRequires: rubygem(isolate)
|
||||
#BuildRequires: rubygem(rake)
|
||||
#BuildRequires: rubygem(rcov)
|
||||
BuildRequires: rubygem(rspec-core)
|
||||
%if 0%{?fedora} >= 17
|
||||
BuildRequires: rubygems-devel
|
||||
%endif
|
||||
Requires: ruby(abi) = %{rubyabi}
|
||||
Requires: ruby(rubygems) >= 1.3.5
|
||||
Requires: rubygem(rake) >= 0.8.3
|
||||
|
|
@ -124,6 +133,9 @@ rm -rf %{buildroot}
|
|||
|
||||
|
||||
%changelog
|
||||
* Sun Jan 22 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 0.8.0-2
|
||||
- Rebuild against ruby 1.9
|
||||
|
||||
* Sun Jan 15 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 0.8.0-1
|
||||
- 0.8.0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue