Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
194cdf8cb8 |
1 changed files with 9 additions and 28 deletions
|
|
@ -3,48 +3,26 @@
|
|||
%global gemdir %{gem_dir}
|
||||
%global geminstdir %{gem_instdir}
|
||||
|
||||
%global rubyabi 1.8
|
||||
|
||||
%if %{?fedora:0%{fedora} >= 17}%{?rhel:0%{rhel} >= 7}
|
||||
%global gemdir %{gem_dir}
|
||||
%global gem_name %{gemname}
|
||||
%global geminstdir %{gem_instdir}
|
||||
%if 0%{?fedora} < 19
|
||||
%global rubyabi 1.9.1
|
||||
%endif
|
||||
%global ruby19 1
|
||||
%else
|
||||
%global ruby19 0
|
||||
%endif
|
||||
|
||||
Summary: Rake-based Ruby C Extension task generator
|
||||
Name: rubygem-%{gemname}
|
||||
Version: 0.9.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Group: Development/Languages
|
||||
License: MIT
|
||||
URL: http://rake-compiler.rubyforge.org/
|
||||
Source0: https://rubygems.org/gems/%{gemname}-%{version}.gem
|
||||
|
||||
%if 0%{?fedora} >= 19
|
||||
Requires: ruby(release)
|
||||
BuildRequires: ruby(release)
|
||||
%else
|
||||
Requires: ruby(abi) = %{rubyabi}
|
||||
Requires: ruby
|
||||
BuildRequires: ruby(abi) = %{rubyabi}
|
||||
BuildRequires: ruby
|
||||
%endif
|
||||
Requires: ruby(release) >= %{rubyabi}
|
||||
BuildRequires: ruby(release) >= %{rubyabi}
|
||||
BuildRequires: ruby(rubygems) >= 1.3.5
|
||||
#BuildRequires: rubygem(cucumber)
|
||||
#BuildRequires: rubygem(isolate)
|
||||
#BuildRequires: rubygem(rake)
|
||||
#BuildRequires: rubygem(rcov)
|
||||
%if 0%{?fedora} >= 19
|
||||
BuildRequires: rubygem(rspec)
|
||||
%else
|
||||
BuildRequires: rubygem(rspec-core)
|
||||
%endif
|
||||
|
||||
BuildRequires: rubygems-devel
|
||||
Requires: ruby(rubygems) >= 1.3.5
|
||||
Requires: rubygem(rake) >= 0.8.3
|
||||
|
|
@ -134,12 +112,15 @@ ruby -Ilib -S rspec spec/
|
|||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%{gemdir}/doc/%{gemname}-%{version}
|
||||
%exclude %{geminstdir}/Gemfile
|
||||
%exclude %{geminstdir}/Rakefile
|
||||
%{geminstdir}/Rakefile
|
||||
%exclude %{geminstdir}/Gemfile
|
||||
%{geminstdir}/spec/
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Sep 24 2014 Denis Fateyev <denis@fateyev.com> - 0.9.3-2
|
||||
- Spec cleanup, rebuild for epel7
|
||||
|
||||
* Wed Aug 13 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.9.3-1
|
||||
- 0.9.3
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue