[rubygem-rake-compiler/f14/master] - 0.7.5 - Move more files to -doc - Now needs rubygem(isolate) and some other rubygem(foo) for BR

Mamoru Tasaka mtasaka at fedoraproject.org
Mon Dec 6 18:43:11 UTC 2010


commit f71259b089bc34a2210f5b1e24f27e181b2d15f6
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date:   Tue Dec 7 03:43:02 2010 +0900

    - 0.7.5
    - Move more files to -doc
    - Now needs rubygem(isolate) and some other rubygem(foo) for BR

 rubygem-rake-compiler.spec |   33 +++++++++++++++++++++++++++++----
 1 files changed, 29 insertions(+), 4 deletions(-)
---
diff --git a/rubygem-rake-compiler.spec b/rubygem-rake-compiler.spec
index a721617..581be19 100644
--- a/rubygem-rake-compiler.spec
+++ b/rubygem-rake-compiler.spec
@@ -6,8 +6,8 @@
 
 Summary:	Rake-based Ruby C Extension task generator
 Name:		rubygem-%{gemname}
-Version:	0.7.1
-Release:	1%{?dist}
+Version:	0.7.5
+Release:	2%{?dist}
 Group:		Development/Languages
 License:	MIT
 URL:		http://rake-compiler.rubyforge.org/
@@ -15,7 +15,11 @@ 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(rcov)
+BuildRequires:	rubygem(rspec)
 Requires:	ruby(abi) = %{rubyabi}
 Requires:	ruby(rubygems) >= 1.3.5
 Requires:	rubygem(rake) >= 0.8.3
@@ -76,30 +80,51 @@ rmdir %{buildroot}%{gemdir}/bin
 
 %check
 pushd .%{geminstdir}
+
+# Modify Isolate file
+cp -p Isolate{,.orig}
+sed -i -e 's|gem |# gem|' Isolate
+
 rake 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
+* Tue Nov 30 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 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 <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.7.1-1
 - 0.7.1
 


More information about the scm-commits mailing list