Hello community,

here is the log from the commit of package perl-Test-Spelling for 
openSUSE:Factory checked in at 2011-12-21 10:02:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Spelling (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Test-Spelling.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Test-Spelling", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Spelling/perl-Test-Spelling.changes    
2011-09-23 12:39:09.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Test-Spelling.new/perl-Test-Spelling.changes   
    2011-12-21 10:02:53.000000000 +0100
@@ -1,0 +2,29 @@
+Mon Dec 19 16:22:38 UTC 2011 - [email protected]
+
+- update to 0.15
+     - Begin adding actual tests
+       (Hilariously, adding the suggested t/pod-spell.t to this
+       dist to test itself found a typo: "stopwards")
+     - Fix an error when using add_stopwords("constant", "strings")
+       [rt.cpan.org #68471] (reported by Nicholas Bamber)
+     - Make alternatives checking more robust by reading the spellchecker's
+       STDERR
+     - Best Practical has taken over maintainership of this module
+     - Try various spellcheck programs instead of hardcoding the ancient
+       `spell` [rt.cpan.org #56483] (reported by Lars Dɪᴇᴄᴋᴏᴡ, et al)
+     - Remove temporary files more aggressively [rt.cpan.org #41586]
+       (reported by Tokuhiro Matsuno)
+     - fixed by not creating them at all :) instead we now use IPC::Open3
+     - Remove suggestion to use broken `aspell -l` [rt.cpan.org #28967]
+       (reported by David Hand)
+     - Add set_pod_file_filter for skipping translations, etc.
+     - Skip tests in all_pod_files_spelling_ok if there is no working
+       spellchecker
+     - Provide a has_working_spellchecker so you can skip your own tests if
+       there's no working spellchecker
+     - Switch to Module::Install
+     - Rewrite and modernize a lot of the documentation
+     - Decruftify code, such as by using Exporter and lexical filehandles
+     - Support .plx files (you're welcome Schwern)
+
+-------------------------------------------------------------------

Old:
----
  Test-Spelling-0.11.tar.gz

New:
----
  Test-Spelling-0.15.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Test-Spelling.spec ++++++
--- /var/tmp/diff_new_pack.9S8lge/_old  2011-12-21 10:02:54.000000000 +0100
+++ /var/tmp/diff_new_pack.9S8lge/_new  2011-12-21 10:02:54.000000000 +0100
@@ -15,64 +15,98 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           perl-Test-Spelling
-Version:        0.11
-Release:        1
-Summary:        Check POD Files for Spelling Mistakes
-Source:         
http://search.cpan.org/CPAN/authors/id/I/IT/ITUB/Test-Spelling-%{version}.tar.gz
-Url:            http://search.cpan.org/dist/Test-Spelling
+Version:        0.15
+Release:        0
+%define cpan_name Test-Spelling
+Summary:        check for spelling errors in POD files
+License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
-License:        Perl License
+Url:            http://search.cpan.org/dist/Test-Spelling/
+Source:         
http://www.cpan.org/authors/id/S/SA/SARTAK/%{cpan_name}-%{version}.tar.gz
+BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  make
-BuildRequires:  aspell
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Test::More)
-BuildRequires:  perl(File::Temp)
-BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Pod::Spell) >= 1.01
-BuildRequires:  perl(Carp)
-Requires:       aspell
-Requires:       perl(Test::More)
-Requires:       perl(File::Temp)
-Requires:       perl(File::Spec)
+BuildRequires:  perl(Test::More) >= 0.88
+BuildRequires:  perl(Test::Tester)
+#BuildRequires: perl(inc::Module::Install)
+#BuildRequires: perl(JSON)
+#BuildRequires: perl(LWP::Simple)
+#BuildRequires: perl(Module::Build)
+#BuildRequires: perl(Module::Install::AutoManifest)
+#BuildRequires: perl(Module::Install::Base)
+#BuildRequires: perl(Module::Install::GithubMeta)
+#BuildRequires: perl(Module::Install::ManifestSkip)
+#BuildRequires: perl(Parse::CPAN::Meta)
+#BuildRequires: perl(Test::Spelling)
+#BuildRequires: perl(YAML::Tiny)
 Requires:       perl(Pod::Spell) >= 1.01
-Requires:       perl(Carp)
+%{perl_requires}
 
 %description
-Check POD files for spelling mistakes, using Pod::Spell and spell to do
-the heavy lifting.
+'Test::Spelling' lets you check the spelling of a POD file, and report its
+results in standard 'Test::More' fashion. This module requires a spellcheck
+program such as _spell_, _aspell_, _ispell_, or _hunspell_.
+
+    use Test::Spelling;
+    pod_file_spelling_ok('lib/Foo/Bar.pm', 'POD file spelling OK');
+
+Note that it is a bad idea to run spelling tests during an ordinary CPAN
+distribution install, or in a package that will run in an uncontrolled
+environment. There is no way of predicting whether the word list or
+spellcheck program used will give the same results. You *can* include the
+test in your distribution, but be sure to run it only for authors of the
+module by guarding it in a 'skip_all unless -d 'inc/.author'' clause, or by
+putting the test in your distribution's _xt/_ directory. Anyway, people
+installing your module really do not need to run such tests, as it is
+unlikely that the documentation will acquire typos while in transit. :-)
+
+You can add your own stop words, which are words that should be ignored by
+the spell check, like so:
+
+    add_stopwords(qw(asdf thiswordiscorrect));
+
+Adding stop words in this fashion affects all files checked for the
+remainder of the test script. See the Pod::Spell manpage (which this module
+is built upon) for a variety of ways to add per-file stop words to each .pm
+file.
+
+If you have a lot of stop words, it's useful to put them in your test
+file's 'DATA' section like so:
+
+    use Test::Spelling;
+    add_stopwords(<DATA>);
+    all_pod_files_spelling_ok();
+
+    __END__
+    folksonomy
+    Jifty
+    Zakirov
+
+To maintain backwards compatibility, comment markers and some whitespace
+are ignored. In the near future, the preprocessing we do on the arguments
+to the add_stopwords manpage will be changed and documented properly.
 
 %prep
-%setup -q -n "Test-Spelling-%{version}"
-%__sed -i '/^auto_install/d' Makefile.PL
+%setup -q -n %{cpan_name}-%{version}
 
 %build
-%__perl Makefile.PL PREFIX="%{_prefix}"
-%__make %{?jobs:-j%{jobs}}
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
+
+%check
+%{__make} test
 
 %install
 %perl_make_install
 %perl_process_packlist
+%perl_gen_filelist
 
-%check
-%__make test
-
-%clean
-%{?buildroot:%__rm -rf "%{buildroot}"}
-
-%files
-%defattr(-,root,root)
+%files -f %{name}.files
+%defattr(-,root,root,755)
 %doc Changes README
-%dir %{perl_vendorlib}/Test
-%{perl_vendorlib}/Test/Spelling.pm
-%dir %{perl_vendorarch}/auto/Test
-%{perl_vendorarch}/auto/Test/Spelling
-%doc %{perl_man3dir}/Test::Spelling.%{perl_man3ext}%{ext_man}
+
 %changelog

++++++ Test-Spelling-0.11.tar.gz -> Test-Spelling-0.15.tar.gz ++++++
++++ 3261 lines of diff (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to