[rubygem-thin] Removed rake dependency

Michal Fojtik mfojtik at fedoraproject.org
Tue Mar 1 15:43:10 UTC 2011


commit 845b94e8a351ebef0c3d99101c2ac7b213a19c3a
Author: Michal Fojtik <mfojtik at redhat.com>
Date:   Tue Mar 1 16:42:50 2011 +0100

    Removed rake dependency

 rubygem-thin.spec |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/rubygem-thin.spec b/rubygem-thin.spec
index ae88e25..9d7200e 100644
--- a/rubygem-thin.spec
+++ b/rubygem-thin.spec
@@ -84,9 +84,7 @@ exit 0
 pushd ./%{geminstdir}
 SPECS=
 RUBYOPT="rubygems I%{buildroot}%{geminstdir}/lib Ispec Ibenchmark_unit" spec -b `echo "
-require 'rubygems'
-require 'rake'
-PERF_SPECS = FileList['spec/perf/*_spec.rb'] + [ 'spec/server/pipelining_spec.rb' ]
+PERF_SPECS = Dir['spec/perf/*_spec.rb'] + [ 'spec/server/pipelining_spec.rb' ]
 WIN_SPECS = %w(
 spec/backends/unix_server_spec.rb
 spec/controllers/service_spec.rb
@@ -95,7 +93,7 @@ spec/server/unix_socket_spec.rb
 spec/server/swiftiply_spec.rb
 )
 SPECS2     = %w(spec/server/threaded_spec.rb spec/server/tcp_spec.rb)  
-puts FileList['spec/**/*_spec.rb'] - PERF_SPECS - WIN_SPECS - SPECS2
+puts Dir['spec/**/*_spec.rb'] - PERF_SPECS - WIN_SPECS - SPECS2
 " | ruby`
 popd
 
@@ -140,7 +138,6 @@ rm -rf %{buildroot}
 %{geminstdir}/spec/rails_app/app/
 %{geminstdir}/spec/rails_app/config/
 %{geminstdir}/spec/rails_app/script/
-#%{gemdir}/doc/%{gemname}-%{version}
 # MIT
 %doc %{geminstdir}/COPYING
 %{geminstdir}/spec/rails_app/public/


More information about the scm-commits mailing list