[DRE-commits] [homesick] 01/04: Add 03-fix-locale-spec-tests.patch: Fix FTBFS in some locales. (Closes: #841429)

Alexander GQ Gerasiov gq at moszumanska.debian.org
Sun Nov 6 23:54:37 UTC 2016


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

gq pushed a commit to branch master
in repository homesick.

commit e3b9bc08c516c71c544f85ce9bd380a20994eb86
Author: Alexander GQ Gerasiov <gq at cs.msu.su>
Date:   Sun Nov 6 20:08:25 2016 +0300

    Add 03-fix-locale-spec-tests.patch: Fix FTBFS in some locales. (Closes: #841429)
    
    Signed-off-by: Alexander GQ Gerasiov <gq at cs.msu.su>
---
 debian/patches/03-fix-locale-spec-tests.patch | 11 +++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/03-fix-locale-spec-tests.patch b/debian/patches/03-fix-locale-spec-tests.patch
new file mode 100644
index 0000000..9c2d603
--- /dev/null
+++ b/debian/patches/03-fix-locale-spec-tests.patch
@@ -0,0 +1,11 @@
+--- a/spec/homesick_cli_spec.rb
++++ b/spec/homesick_cli_spec.rb
+@@ -14,6 +14,8 @@
+   before { allow(homesick).to receive(:repos_dir).and_return(castles) }
+ 
+   describe 'smoke tests' do
++    ENV['LC_MESSAGES'] = 'C'
++
+     context 'when running bin/homesick' do
+       before do
+         bin_path = Pathname.new(__FILE__).parent.parent
diff --git a/debian/patches/series b/debian/patches/series
index ad73bcd..07956d9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 #01-fix-rspec2.x-imcompat.patch -- enable this for backports
 02-remove-load-path.patch
+03-fix-locale-spec-tests.patch

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



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