[rubygem-shoulda-matchers] Relax Rake dependency.

Vít Ondruch vondruch at fedoraproject.org
Mon Jul 7 11:34:00 UTC 2014


commit fb298fc7416f4ca21f38b7d36342525d0addc7e3
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Mon Jul 7 13:34:09 2014 +0200

    Relax Rake dependency.

 rubygem-shoulda-matchers.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/rubygem-shoulda-matchers.spec b/rubygem-shoulda-matchers.spec
index fc8049a..8e1a341 100644
--- a/rubygem-shoulda-matchers.spec
+++ b/rubygem-shoulda-matchers.spec
@@ -110,6 +110,9 @@ sed -i 's/bcrypt-ruby/bcrypt/' gemfiles/4.1.gemfile
 # pry seems to be superfluous.
 sed -i "/gem 'pry'/d" features/step_definitions/rails_steps.rb
 
+# Do not attempt to update Rake.
+sed -i "/if RUBY_VERSION >= '1.9.3'$/,/  end/ s/^/#/" features/step_definitions/rails_steps.rb
+
 BUNDLE_GEMFILE=gemfiles/4.1.gemfile cucumber
 popd
 
@@ -137,6 +140,7 @@ popd
 %changelog
 * Mon Jul 07 2014 Vít Ondruch <vondruch at redhat.com> - 2.6.1-3
 - Workaround RoR 4.1.2+ compatibility issue.
+- Relax Rake dependency.
 
 * Thu Jul 03 2014 Vít Ondruch <vondruch at redhat.com> - 2.6.1-2
 - Add missing BR: rubygem(shoulda-context).


More information about the scm-commits mailing list