tests (no longer?) need utf8 locale
authorElan Ruusamäe <glen@delfi.ee>
Mon, 23 May 2016 16:50:17 +0000 (19:50 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 23 May 2016 16:50:17 +0000 (19:50 +0300)
gem2rpm.spec

index 596522e..8e46718 100644 (file)
@@ -19,9 +19,6 @@ BuildRequires:        rpm-rubyprov
 BuildRequires: rpmbuild(macros) >= 1.656
 %if %{with tests}
 BuildRequires: ruby-rake
-%if %(locale -a | grep -q '^en_US$'; echo $?)
-BuildRequires: glibc-localedb-all
-%endif
 %endif
 Requires:      pld-release
 Requires:      ruby-rubygems
@@ -54,8 +51,6 @@ find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
 
 %build
 %if %{with tests}
-# tests need UTF-8 locale
-LC_ALL=en_US.UTF-8 \
 rake test
 %endif
 
This page took 0.054926 seconds and 4 git commands to generate.