[DRE-commits] [ruby-rspec-rails] 05/08: avoid failing the build due to warnings generated by different packages

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Nov 3 17:01:27 UTC 2015


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository ruby-rspec-rails.

commit 9e1d7a575d752787a9dac2d7045b523ac8ffb9a6
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Nov 3 14:53:22 2015 -0200

    avoid failing the build due to warnings generated by different packages
---
 debian/changelog                    |  2 ++
 debian/patches/remove-warnings.diff | 12 ++++++++++++
 debian/patches/series               |  1 +
 3 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 9a6c4c3..12c5d5c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ ruby-rspec-rails (3.3.3-1) UNRELEASED; urgency=medium
   * Team upload
   * Upload to unstable (Closes: #799821)
   * Update packaging with a new dh-make-ruby run
+  * debian/patches/remove-warnings.diff: avoid failing the build due to
+    warnings generated by different packages.
 
  -- Antonio Terceiro <terceiro at debian.org>  Tue, 03 Nov 2015 14:42:28 -0200
 
diff --git a/debian/patches/remove-warnings.diff b/debian/patches/remove-warnings.diff
new file mode 100644
index 0000000..f6374ca
--- /dev/null
+++ b/debian/patches/remove-warnings.diff
@@ -0,0 +1,12 @@
+Description: rspec: turn off Ruby warnings
+ This currently causes one test to fail, due to a warning from code in a
+ different package.
+Author: Antonio Terceiro <terceiro at debian.org>
+Last-Update: 2015-11-03
+---
+--- a/.rspec
++++ b/.rspec
+@@ -1,3 +1,2 @@
+---warnings
+ --color
+ --require spec_helper
diff --git a/debian/patches/series b/debian/patches/series
index 13f5bed..1a85439 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 remove-ammeter-require.patch
+remove-warnings.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rspec-rails.git



More information about the Pkg-ruby-extras-commits mailing list