[DRE-commits] [ruby-rspec] 04/19: fixup
Jérémy Bobbio
lunar at alioth.debian.org
Sun Oct 20 17:01:16 UTC 2013
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/multideb
in repository ruby-rspec.
commit e6db94d3e36b251b63ea478b8d5f2a401ec394ac
Author: Jérémy Bobbio <lunar at debian.org>
Date: Sat Oct 19 19:30:31 2013 +0200
fixup
---
debian/patches/fix_encoding.patch | 18 ++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 19 insertions(+)
diff --git a/debian/patches/fix_encoding.patch b/debian/patches/fix_encoding.patch
new file mode 100644
index 0000000..e394b3b
--- /dev/null
+++ b/debian/patches/fix_encoding.patch
@@ -0,0 +1,18 @@
+Description: force default external encoding to UTF-8
+ This is required to make specs relying on Unicode characters to pass
+ in building environment with C locale.
+Origin: vendor
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded: not-needed
+Last-Update: 2013-08-15
+
+--- a/rspec-expectations/spec/rspec/expectations/differ_spec.rb
++++ b/rspec-expectations/spec/rspec/expectations/differ_spec.rb
+@@ -1,4 +1,7 @@
+ # encoding: utf-8
++
++Encoding.default_external="UTF-8" if defined? Encoding
++
+ require 'spec_helper'
+ require 'ostruct'
+
diff --git a/debian/patches/series b/debian/patches/series
index bcbb2d2..16bfe7f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ remove-rubygems-stuff-in-tests.patch
remove-aruba-stuff-in-tests.patch
fix-commandline-test.patch
ruby_test_bin.patch
+fix_encoding.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rspec.git
More information about the Pkg-ruby-extras-commits
mailing list