[DRE-commits] [ruby-gelf] 01/02: add 03-fix-autopkgtest.patch (Closes: #832184)
Cédric Boutillier
boutil at moszumanska.debian.org
Thu Oct 6 21:13:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-gelf.
commit 3af7b0679ebe109533ab766c0f0e640c32a14d0b
Author: Cédric Boutillier <boutil at debian.org>
Date: Thu Oct 6 22:58:33 2016 +0200
add 03-fix-autopkgtest.patch (Closes: #832184)
---
debian/changelog | 12 ++++++++++++
debian/patches/003-fix-autopkgtest.patch | 20 ++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 33 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 758b411..a7a0dfa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+ruby-gelf (1.4.0-4) UNRELEASED; urgency=medium
+
+ * Bump debhelper compatibility level to 9
+ * Remove version in the gem2deb build-dependency
+ * Use https:// in Vcs-* fields
+ * Bump Standards-Version to 3.9.7 (no changes needed)
+ * Run wrap-and-sort on packaging files
+ * Add 003-fix-autopkgtest.patch to disable a failing test with autopkgtest
+ (Closes: #832184003)
+
+ -- Cédric Boutillier <boutil at moszumanska.debian.org> Thu, 06 Oct 2016 22:57:24 +0200
+
ruby-gelf (1.4.0-3) unstable; urgency=low
* Team upload.
diff --git a/debian/patches/003-fix-autopkgtest.patch b/debian/patches/003-fix-autopkgtest.patch
new file mode 100644
index 0000000..67b6d97
--- /dev/null
+++ b/debian/patches/003-fix-autopkgtest.patch
@@ -0,0 +1,20 @@
+Description: disable test failing with autopkgtest
+ the information about the notyfing files are incorrect because the chain of
+ called files is not the one expected in the test
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded: not-needed
+Bug-Debian: http://bugs.debian.org/832184
+Last-Update: 2016-10-06
+
+
+--- a/test/test_notifier.rb
++++ b/test/test_notifier.rb
+@@ -110,7 +110,7 @@
+ hash = @notifier.__send__(:extract_hash, { 'version' => '1.0', 'short_message' => 'message' })
+ assert_match /test_notifier.rb/, hash['file']
+ assert_equal line + 1, hash['line']
+- end
++ end unless ENV["AUTOPKGTEST_TMP"]
+
+ should "set timestamp to current time if not set" do
+ hash = @notifier.__send__(:extract_hash, { 'version' => '1.0', 'short_message' => 'message' })
diff --git a/debian/patches/series b/debian/patches/series
index 0c32975..8a4399f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
001-fix-mocha-deprecation
002-fix-tests-string-encodings
+003-fix-autopkgtest.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-gelf.git
More information about the Pkg-ruby-extras-commits
mailing list