[DRE-commits] [ruby-gemojione] 02/08: use C.UTF-8 locale

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Mon Sep 11 12:17:56 UTC 2017


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

praveen pushed a commit to branch master
in repository ruby-gemojione.

commit 5f492e1fffebd0322591d2779dbd5a127b2116ae
Author: Pirate Praveen <praveen at debian.org>
Date:   Mon Sep 11 17:30:51 2017 +0530

    use C.UTF-8 locale
---
 debian/control | 2 --
 debian/rules   | 9 ++++-----
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/debian/control b/debian/control
index fcb7b37..655be2c 100644
--- a/debian/control
+++ b/debian/control
@@ -5,10 +5,8 @@ Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.al
 Uploaders: Balasankar C <balasankarc at autistici.org>
 Build-Depends: debhelper (>= 9~),
                gem2deb (>= 0.32),
-               locales,
                rake,
                ruby-json
-Build-Conflicts: locales-all
 Standards-Version: 3.9.8
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-gemojione.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-gemojione.git
diff --git a/debian/rules b/debian/rules
index afd13bb..29e2ba0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,13 +3,12 @@
 export GEM2DEB_TEST_RUNNER = --check-dependencies
 export DH_RUBY = --gem-install
 export DH_RUBY_GEM_INSTALL_WHITELIST_APPEND = config
+export LC_ALL = C.UTF-8
+export LANG = C.UTF-8
 
 %:
-	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
+	dh $@ --buildsystem=ruby --with ruby
 
 override_dh_clean:
 	rm -rf Gemfile.lock
-	LOCPATH=$(CURDIR)/debian/build/locale LC_ALL=en_US.UTF-8 dh_clean
-	rm -rf debian/build/
+	dh_clean

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



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