[perl-Net-SSH-Perl/el6/master] Use hunspell back-end for spell check test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit dee0b3493e4bb8a1f2ea69192989e3094d7b54a4
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Sat Nov 13 13:27:22 2010 +0000

    Use hunspell back-end for spell check test
    
    - BR: hunspell-en rather than aspell-en now that Text::SpellChecker uses a
      hunspell back-end
    - Fix spell check test to add words not in hunspell dictionary

 161C06B1.asc                      |   68 ++++++++++++++++++++++++++++++
 Net-SSH-Perl-1.34-stopwords.patch |   82 +++++++++++++++++++++++++++++++++++++
 perl-Net-SSH-Perl.spec            |   18 +++++++-
 3 files changed, 165 insertions(+), 3 deletions(-)
---
diff --git a/161C06B1.asc b/161C06B1.asc
new file mode 100644
index 0000000..0e66bed
--- /dev/null
+++ b/161C06B1.asc
@@ -0,0 +1,68 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1.4.10 (GNU/Linux)
+
+mQGiBDQq3yMRBADjxe7/+OMSOtCbYBNqxPyTj9ZIIeJ/KuB6rNocwl4FexgEG8yO
+sOoShE6dTmJwx7NKnOUSuc8Ujz6tpdspJ9z40Kiv/J83aZfJwTNos9NsRK7y6y4F
+kFlrqXN+PVZ+F3J/4Qp0xPB16F51LCnjTscs4Q9SoOa9iK2qsut/uC3wGQCg//tO
+0PDbeCRuLY4+BNjLqZeUTCsD/1H92+BpSsmHSm2bRFPaiRysUpvINaMfByqMbppF
+Mi5Eth3Tk8vD4dsLi4VMD7cT/4MYDGe/lW9eJSfWvXl2iG4/gx8iKH6DYaCPdnWK
+g/mb6ena16ulNPV8VdTTAfjrdSky5kz7nE8ayYuICOuwInbA6MNTHZscfnGPlT/6
+jTXcA/9Vu47w8TlDiUMFCXaIQPHpp+GO2e23Ty2Qe0/Jc7lRIkseJrhsBBT056LX
+C9O1BV3lLC0ug5rdGIi30U6Ou+mp1OxoNa44vyZVPtYWWphYnAA5Yvq6xnG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/fpBeM1RR/NO41Zq/ZgHlY//JluyLghY5HsXeyIJ91zU/txQpYWKk5dSmc
+m2J5aykh+8f1+bY6wmzhkhNgEiI9uDZtMuWsFAiP6+D3X+3ETRTB+uJvYiXn39L5
+lzn4kpD4pDsBbxPajBKDYt/lkymt+h6v/toLIPwMPZ/3pDZyNKJ4h0C2MmZUSljU
+e4PZfjCk6+V6GqR4XDCz7VRqoypi4oqaSeMt4yzeaUmAYYg/AwUYNCrfI3plks8W
+HAaxEQJIgACcClwpW0SA4lA7FO8c2SxOQHuVKxsAn0Sb7/HDpCrcuRKMUeT2xitA
+EdfI
+=8A2Q
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/Net-SSH-Perl-1.34-stopwords.patch b/Net-SSH-Perl-1.34-stopwords.patch
new file mode 100644
index 0000000..2db0e1a
--- /dev/null
+++ b/Net-SSH-Perl-1.34-stopwords.patch
@@ -0,0 +1,82 @@
+--- Net-SSH-Perl/Net-SSH-Perl-1.34/t/99-spellcheck.t	2009-01-26 02:05:04.000000000 +0000
++++ Net-SSH-Perl/Net-SSH-Perl-1.34/t/99-spellcheck.t	2010-11-13 13:18:53.860124599 +0000
+@@ -187,7 +187,9 @@ datatype
+ dbrobins
+ DBROBINS
+ de
++decrypt
+ des
++DES
+ dev
+ dgehl
+ Diffie
+@@ -212,6 +214,7 @@ getpwuid
+ getservbyname
+ GMP
+ GPL
++Haydon
+ hmac
+ HMAC
+ hostfile
+@@ -247,6 +250,7 @@ matt
+ MCPAN
+ md
+ MERCHANTIBILITY
++MERCHANTABILITY
+ mixup
+ mpe
+ msg
+@@ -316,6 +320,7 @@ stdout
+ STDOUT
+ str
+ StringThing
++subclasses
+ sublicense
+ substr
+ subsystems
+@@ -331,6 +336,7 @@ turnstep
+ TURNSTEP
+ Tyrrell
+ uk
++Ulrich
+ untainting
+ username
+ usr
+--- Net-SSH-Perl/Net-SSH-Perl-1.34/SIGNATURE	2009-02-02 01:18:54.000000000 +0000
++++ Net-SSH-Perl/Net-SSH-Perl-1.34/SIGNATURE	2010-11-13 13:22:03.137839852 +0000
+@@ -1,5 +1,5 @@
+ This file contains message digests of all files listed in MANIFEST,
+-signed via the Module::Signature module, version 0.55.
++signed via the Module::Signature module, version 0.66.
+ 
+ To verify the content in this distribution, first make sure you have
+ Module::Signature installed, then type:
+@@ -12,7 +12,7 @@ the distribution may already have been c
+ not run its Makefile.PL or Build.PL.
+ 
+ -----BEGIN PGP SIGNED MESSAGE-----
+-Hash: RIPEMD160
++Hash: SHA1
+ 
+ SHA1 cc451367f759ef30c8200859b4248973a973b623 .perlcriticrc
+ SHA1 c6482212ac6da98ebfe5fed713c5c8881433db31 Changes
+@@ -88,14 +88,15 @@ SHA1 42eb8620bd0be0c5a9ca24b83f3630c8e46
+ SHA1 4b6e3d6741b2d5e021149da57478e0998c1ea9ef t/06-circular.t
+ SHA1 8d29c2b28ee840cfa6faf6a69985cb87e9ce6725 t/99-perlcritic.t
+ SHA1 53040aca85aa82e3504d6559cdb0dfee54ea92fc t/99-pod.t
+-SHA1 a65c49dc6e81c8d0b6514bf2d313e0b110aa224f t/99-spellcheck.t
++SHA1 80aed9e0948662843572fd012010d98847ccdb09 t/99-spellcheck.t
+ SHA1 e78d0a391329bf520fdc748d38002725dca4164c t/99-yaml.t
+ SHA1 9a32e630c87d1cc3ceaf2b5585519b55d12b79d3 t/config
+ SHA1 885358760910acc3898301c9af18cd634ddd81a8 t/psshd
+ SHA1 9b7aa51c0e3a2fede4a7b4767c3d507f37f46696 t/test-common.pl
+ -----BEGIN PGP SIGNATURE-----
++Version: GnuPG v1.4.11 (GNU/Linux)
+ 
+-iEYEAREDAAYFAkmGSf4ACgkQvJuQZxSWSsi5OQCgxH2dv4daZtlsv4DiyC8LMTUS
+-a1sAnA6DWrTXcknq0aLBamQtuZW26CcE
+-=ew0K
++iD8DBQFM3pD4emWSzxYcBrERAoIJAJwK+j9KNi6AKkYq8hoXUS5bTiYRMQCfTvaH
++Y+hh/CHM/zlGDg15doeyuZs=
++=J31w
+ -----END PGP SIGNATURE-----
diff --git a/perl-Net-SSH-Perl.spec b/perl-Net-SSH-Perl.spec
index 3aa172d..81ad68a 100644
--- a/perl-Net-SSH-Perl.spec
+++ b/perl-Net-SSH-Perl.spec
@@ -4,12 +4,14 @@
 Summary:	SSH (Secure Shell) client
 Name:		perl-Net-SSH-Perl
 Version:	1.34
-Release:	8%{?dist}
+Release:	9%{?dist}
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Net-SSH-Perl/
 Source0:	http://search.cpan.org/CPAN/authors/id/T/TU/TURNSTEP/Net-SSH-Perl-%{version}.tar.gz
 Source1:	14964AC8.asc
+Source2:	161C06B1.asc
+Patch0:		Net-SSH-Perl-1.34-stopwords.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:	perl(Term::ReadKey)
@@ -36,7 +38,7 @@ BuildRequires:	perl(Test::Pod)			>= 0.95
 BuildRequires:	perl(Test::Pod::Coverage)	>= 1.04
 BuildRequires:	perl(Test::YAML::Meta)		>= 0.03
 BuildRequires:	perl(Perl::Critic)
-BuildRequires:	perl(Text::SpellChecker), aspell-en
+BuildRequires:	perl(Text::SpellChecker), hunspell-en
 
 %{?_with_IDEA:BuildRequires: perl(Crypt::IDEA)}
 
@@ -50,6 +52,11 @@ client. It is compatible with both the SSH-1 and SSH-2 protocols.
 %prep
 %setup -q -c -n Net-SSH-Perl
 
+# Additional words for spell checker to ignore
+cd Net-SSH-Perl-%{version}
+%patch0 -p2
+cd -
+
 # Copy up documentation for convenience with %%doc
 %{__cp} -a Net-SSH-Perl-%{version}/{Changes,README,LICENSE,eg,ToDo} .
 
@@ -59,7 +66,7 @@ client. It is compatible with both the SSH-1 and SSH-2 protocols.
 # Create a GPG directory for testing, to avoid using ~/.gnupg
 %{__mkdir} --mode=0700 gnupghome
 export GNUPGHOME=$(pwd)/gnupghome
-%{__gpg} --import %{SOURCE1}
+%{__gpg} --import %{SOURCE1} %{SOURCE2}
 
 # Remove Crypt::IDEA dep if we're not supporting the IDEA algorithm
 %define bogusreq 'perl(Crypt::IDEA)'
@@ -104,6 +111,11 @@ LC_ALL=en_US %{__make} -C Net-SSH-Perl-%{version} test \
 %{_mandir}/man3/Net::SSH::Perl*.3pm*
 
 %changelog
+* Mon Oct  4 2010 Paul Howarth <paul@xxxxxxxxxxxx> 1.34-9
+- BR: hunspell-en rather than aspell-en now that Text::SpellChecker uses a
+  hunspell back-end
+- Fix spell check test to add words not in hunspell dictionary
+
 * Sun Aug  1 2010 Paul Howarth <paul@xxxxxxxxxxxx> 1.34-8
 - Re-add buildreqs perl(Test::YAML::Meta), perl(Text::SpellChecker) and
   aspell-en now that they're available for EL-6, and re-enable the spell
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux