[perl-Net-SSH-Perl] Use LANG rather than LC_ALL to set locale for spell check test
Paul Howarth
pghmcfc at fedoraproject.org
Wed Jul 20 10:29:52 UTC 2011
commit f4f81b270a280c35667e181e22818c5b2e108365
Author: Paul Howarth <paul at city-fan.org>
Date: Wed Jul 20 11:15:44 2011 +0100
Use LANG rather than LC_ALL to set locale for spell check test
perl-Net-SSH-Perl.spec | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/perl-Net-SSH-Perl.spec b/perl-Net-SSH-Perl.spec
index 49c6005..b517e19 100644
--- a/perl-Net-SSH-Perl.spec
+++ b/perl-Net-SSH-Perl.spec
@@ -1,4 +1,4 @@
-# IDEA is a patent-encumbered alogorithm so default to not supporting it
+# IDEA is a patent-encumbered algorithm so default to not supporting it
# To include support for the IDEA algorithm, use: rpmbuild --with IDEA
Summary: SSH (Secure Shell) client
@@ -13,8 +13,6 @@ Source1: 14964AC8.asc
Source2: 161C06B1.asc
Patch0: Net-SSH-Perl-1.34-stopwords.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
-Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
-Requires: perl(Term::ReadKey)
BuildArch: noarch
BuildRequires: perl(String::CRC32) >= 1.2
BuildRequires: perl(Convert::PEM) >= 0.05
@@ -39,6 +37,8 @@ BuildRequires: perl(Test::Pod::Coverage) >= 1.04
BuildRequires: perl(Test::YAML::Meta) >= 0.03
BuildRequires: perl(Perl::Critic)
BuildRequires: perl(Text::SpellChecker), hunspell-en
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(Term::ReadKey)
# If building with IDEA support, we need to build with Crypt::IDEA,
# otherwise we need to filter out the dependency on it
@@ -104,7 +104,7 @@ chmod -R u+w %{buildroot}
%check
# Critic and POD tests currently fail
export GNUPGHOME=$(pwd)/gnupghome
-LC_ALL=en_US make -C Net-SSH-Perl-%{version} test \
+LANG=en_US make -C Net-SSH-Perl-%{version} test \
TEST_AUTHOR=1 TEST_CRITIC=0 TEST_SIGNATURE=1 TEST_SPELL=1
%clean
@@ -117,8 +117,9 @@ rm -rf %{buildroot}
%{_mandir}/man3/Net::SSH::Perl*.3pm*
%changelog
-* Tue Jul 19 2011 Petr Sabata <contyk at redhat.com> - 1.34-13
+* Wed Jul 20 2011 Paul Howarth <paul at city-fan.org> 1.34-13
- Perl mass rebuild
+- Use LANG rather than LC_ALL to set locale for spell check test
* Thu Jun 23 2011 Paul Howarth <paul at city-fan.org> 1.34-12
- Nobody else likes macros for commands
More information about the scm-commits
mailing list