diff --git a/.gitignore b/.gitignore index 5928b4f..c5aa11a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,7 @@ rake-compiler-0.7.0.gem +rake-compiler-0.7.1.gem +/rake-compiler-0.7.5.gem +/rake-compiler-0.7.6.gem +/rake-compiler-0.7.7.gem +/rake-compiler-0.7.8.gem +/rake-compiler-0.7.9.gem diff --git a/rubygem-rake-compiler.spec b/rubygem-rake-compiler.spec index 205be3a..f5fb82f 100644 --- a/rubygem-rake-compiler.spec +++ b/rubygem-rake-compiler.spec @@ -6,16 +6,20 @@ Summary: Rake-based Ruby C Extension task generator Name: rubygem-%{gemname} -Version: 0.7.0 +Version: 0.7.9 Release: 1%{?dist} Group: Development/Languages License: MIT URL: http://rake-compiler.rubyforge.org/ Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: ruby(abi) = %{rubyabi} BuildRequires: ruby(rubygems) >= 1.3.5 +BuildRequires: rubygem(cucumber) +BuildRequires: rubygem(isolate) +BuildRequires: rubygem(rake) +BuildRequires: rubygem(rcov) +BuildRequires: rubygem(rspec-core) Requires: ruby(abi) = %{rubyabi} Requires: ruby(rubygems) >= 1.3.5 Requires: rubygem(rake) >= 0.8.3 @@ -74,28 +78,76 @@ mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir} rmdir %{buildroot}%{gemdir}/bin +%check +pushd .%{geminstdir} + +# Modify Isolate file +cp -p Isolate{,.orig} +sed -i -e 's|gem |# gem|' Isolate + +# cucumber 0.10.0 needs fixing for newer rake (0.9.0 beta5) +# rake aborted! +# undefined method `desc' for # +# rake spec +ruby -Ilib -S rspec spec/ + +# back to the original +mv -f Isolate{.orig,} + %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_bindir}/rake-compiler + %dir %{geminstdir} %doc %{geminstdir}/README.rdoc %doc %{geminstdir}/LICENSE.txt %doc %{geminstdir}/History.txt -%{geminstdir}/Rakefile %{geminstdir}/cucumber.yml -%{geminstdir}/[a-z]*/ + +%{geminstdir}/bin/ +%{geminstdir}/features/ +%{geminstdir}/lib/ +%{geminstdir}/tasks/ + %{gemdir}/cache/%{gemname}-%{version}.gem %{gemdir}/specifications/%{gemname}-%{version}.gemspec %files doc %defattr(-,root,root,-) %{gemdir}/doc/%{gemname}-%{version} +%{geminstdir}/Isolate +%{geminstdir}/Rakefile +%{geminstdir}/spec/ %changelog +* Sat Jun 11 2011 Mamoru Tasaka - 0.7.9-1 +- 0.7.9 +- %%check now uses rspec, not spec + +* Sat Apr 30 2011 Mamoru Tasaka - 0.7.8-1 +- 0.7.8 + +* Mon Apr 4 2011 Mamoru Tasaka - 0.7.7-1 +- 0.7.7 + +* Wed Feb 09 2011 Fedora Release Engineering - 0.7.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Feb 7 2011 Mamoru Tasaka - 0.7.6-1 +- 0.7.6 + +* Tue Nov 30 2010 Mamoru Tasaka - 0.7.5-2 +- 0.7.5 +- Move more files to -doc +- Now needs rubygem(isolate) and some other rubygem(foo) for BR + +* Wed Aug 11 2010 Mamoru Tasaka - 0.7.1-1 +- 0.7.1 + * Thu Dec 10 2009 Mamoru Tasaka - 0.7.0-1 - 0.7.0 diff --git a/sources b/sources index 9df4993..d0f19ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -bc8dbdadac79b6a30cf3aa702a3a1ead rake-compiler-0.7.0.gem +ca229b3cb7797e0f189eccfd98aecdb4 rake-compiler-0.7.9.gem