[DRE-commits] [ruby-awesome-print] 04/04: Patch rspec tests to run correctly
Tim Potter
tpot-guest at moszumanska.debian.org
Wed Jul 30 01:08:27 UTC 2014
This is an automated email from the git hooks/post-receive script.
tpot-guest pushed a commit to branch master
in repository ruby-awesome-print.
commit d383863322e0015871d2ea61d6dc7c14ac443f40
Author: Tim Potter <tpot at hp.com>
Date: Wed Jul 30 10:29:05 2014 +1000
Patch rspec tests to run correctly
---
debian/control | 2 +-
debian/patches/0001-require-rspec | 12 ++++++++++++
debian/patches/series | 1 +
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index fe1196d..ef35b7a 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Uploaders: Tim Potter <tpot at hp.com>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.5~)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.5~), ruby-rspec
Standards-Version: 3.9.5
#Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-awesome-print.git
#Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-awesome-print.git;a=summary
diff --git a/debian/patches/0001-require-rspec b/debian/patches/0001-require-rspec
new file mode 100644
index 0000000..bad0d8e
--- /dev/null
+++ b/debian/patches/0001-require-rspec
@@ -0,0 +1,12 @@
+Index: ruby-awesome-print/spec/spec_helper.rb
+===================================================================
+--- ruby-awesome-print.orig/spec/spec_helper.rb
++++ ruby-awesome-print/spec/spec_helper.rb
+@@ -16,6 +16,7 @@
+ #
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
++require 'rspec'
+ require 'awesome_print'
+
+ def stub_dotfile!
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6faafeb
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-require-rspec
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-awesome-print.git
More information about the Pkg-ruby-extras-commits
mailing list