[DRE-commits] [ruby-sinatra] 03/05: generate locales
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Wed Feb 24 05:56:41 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-sinatra.
commit 00e2a9095b42c949046ad0a420f8d4edd0c4b49d
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Wed Feb 24 11:03:18 2016 +0530
generate locales
---
debian/changelog | 3 ++-
debian/rules | 7 +++++--
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c49bf34..b65ffdd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
ruby-sinatra (1.4.7-1) UNRELEASED; urgency=medium
- * New upstream patch release
+ * New upstream patch release
+ * Generate locales for tests
-- Pirate Praveen <praveen at debian.org> Tue, 23 Feb 2016 20:43:41 +0530
diff --git a/debian/rules b/debian/rules
index 8b6b1c6..785ef39 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,8 +12,11 @@ export DH_RUBY_IGNORE_TESTS=require-rubygems
#export DH_RUBY_GEMSPEC=sinatra.gemspec
%:
- dh $@ --buildsystem=ruby --with ruby
+ mkdir -p debian/build/locale
+ localedef -f UTF-8 -i en_US debian/build/locale/en_US.UTF-8
+ LOCPATH=$(CURDIR)/debian/build/locale LC_ALL=en_US.UTF-8 dh $@ --buildsystem=ruby --with ruby
override_dh_auto_clean:
- dh_auto_clean
+ LOCPATH=$(CURDIR)/debian/build/locale LC_ALL=en_US.UTF-8 dh_auto_clean
+ rm -rf debian/build/
rm -fr $(CURDIR)/.sass-cache
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-sinatra.git
More information about the Pkg-ruby-extras-commits
mailing list