[rubygem-rspec] Actually add patch
Mamoru Tasaka
mtasaka at fedoraproject.org
Sun Mar 6 17:12:46 UTC 2011
commit ca959f63350aca76b756e7e09925e3359738c03b
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date: Mon Mar 7 02:12:39 2011 +0900
Actually add patch
...3.1-RakeFileUtils_renamed_to_FileUtilsExt.patch | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/rubygem-rspec-1.3.1-RakeFileUtils_renamed_to_FileUtilsExt.patch b/rubygem-rspec-1.3.1-RakeFileUtils_renamed_to_FileUtilsExt.patch
new file mode 100644
index 0000000..7ab8807
--- /dev/null
+++ b/rubygem-rspec-1.3.1-RakeFileUtils_renamed_to_FileUtilsExt.patch
@@ -0,0 +1,16 @@
+--- rspec-1.3.1/lib/spec/rake/spectask.rb.debug 2011-03-07 01:37:11.000000000 +0900
++++ rspec-1.3.1/lib/spec/rake/spectask.rb 2011-03-07 01:53:58.000000000 +0900
+@@ -150,7 +150,12 @@
+ desc "Run specs" + (rcov ? " using RCov" : "")
+ end
+ task name do
+- RakeFileUtils.verbose(verbose) do
++ if defined? RakeFileUtils
++ fileutils_module = RakeFileUtils
++ else
++ fileutils_module = ::Rake::FileUtilsExt
++ end
++ fileutils_module.verbose(verbose) do
+ unless spec_file_list.empty?
+ # ruby [ruby_opts] -Ilib -S rcov [rcov_opts] bin/spec -- examples [spec_opts]
+ # or
More information about the scm-commits
mailing list