Hello community, here is the log from the commit of package perl-Data-OptList for openSUSE:Factory checked in at 2013-07-18 08:00:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Data-OptList (Old) and /work/SRC/openSUSE:Factory/.perl-Data-OptList.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Data-OptList" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Data-OptList/perl-Data-OptList.changes 2012-03-26 15:37:54.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Data-OptList.new/perl-Data-OptList.changes 2013-07-18 08:00:28.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Jul 16 12:10:27 UTC 2013 - co...@suse.com + +- updated to 0.108 + repackage, new bug tracker + +------------------------------------------------------------------- Old: ---- Data-OptList-0.107.tar.gz New: ---- Data-OptList-0.108.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Data-OptList.spec ++++++ --- /var/tmp/diff_new_pack.pa7ZKu/_old 2013-07-18 08:00:28.000000000 +0200 +++ /var/tmp/diff_new_pack.pa7ZKu/_new 2013-07-18 08:00:28.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Data-OptList # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,29 +17,25 @@ Name: perl-Data-OptList +Version: 0.108 +Release: 0 %define cpan_name Data-OptList -Summary: Parse and validate simple name/value option pairs -License: Artistic-1.0 +Summary: parse and validate simple name/value option pairs +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -Version: 0.107 -Release: 0 -Url: http://search.cpan.org/dist/Data-OptList -Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-OptList-%{version}.tar.gz +Url: http://search.cpan.org/dist/Data-OptList/ +Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(List::Util) >= 0.00 -BuildRequires: perl(Test::More) >= 0.88 -# other not perl || perl-base -BuildRequires: perl(Params::Util) >= 0.14 +BuildRequires: perl(Params::Util) BuildRequires: perl(Sub::Install) >= 0.921 -# -Requires: perl(List::Util) >= 0.00 -# other not perl || perl-base -Requires: perl(Params::Util) >= 0.14 +BuildRequires: perl(Test::More) >= 0.96 +#BuildRequires: perl(Data::OptList) +Requires: perl(Params::Util) Requires: perl(Sub::Install) >= 0.921 +%{perl_requires} %description Hashes are great for storing named data, but if you want more than one @@ -61,7 +57,9 @@ ]; Aaaauuugh! We've saved a little typing, but now it requires thought to -read, and thinking is even worse than typing. +read, and thinking is even worse than typing... and it's got a bug! It +looked right, didn't it? Well, the 'xyz => { ... }' gets consumed by the +map, and we don't get the data we wanted. With Data::OptList, you can do this instead: @@ -70,11 +68,12 @@ xyz => { ... }, ]); -This works by assuming that any defined scalar is a name and any -reference following a name is its value. +This works by assuming that any defined scalar is a name and any reference +following a name is its value. %prep %setup -q -n %{cpan_name}-%{version} +# MANUAL %if 0%{?suse_version} < 1120 for i in `find t -type f` ; do sed -i -e "s@^\s*use\s\s*Test::More@use lib '%{perl_vendorlib}';\nuse Test::More@" $i @@ -82,7 +81,7 @@ %endif %build -%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" +%{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check @@ -90,18 +89,11 @@ %install %perl_make_install -# do not perl_process_packlist (noarch) -# remove .packlist file -%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch -# remove perllocal.pod file -%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib +%perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf $RPM_BUILD_ROOT - %files -f %{name}.files -%defattr(-,root,root) +%defattr(-,root,root,755) %doc Changes LICENSE README %changelog ++++++ Data-OptList-0.107.tar.gz -> Data-OptList-0.108.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-OptList-0.107/Changes new/Data-OptList-0.108/Changes --- old/Data-OptList-0.107/Changes 2011-05-06 17:24:49.000000000 +0200 +++ new/Data-OptList-0.108/Changes 2013-07-06 03:43:58.000000000 +0200 @@ -1,5 +1,8 @@ Revision history for Sub-Exporter +0.108 2013-07-05 21:43:56 America/New_York + repackage, new bug tracker + 0.107 2011-05-06 11:24:45 America/New_York mkopt now prefers named parameters; docs updated diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-OptList-0.107/LICENSE new/Data-OptList-0.108/LICENSE --- old/Data-OptList-0.107/LICENSE 2011-05-06 17:24:49.000000000 +0200 +++ new/Data-OptList-0.108/LICENSE 2013-07-06 03:43:58.000000000 +0200 @@ -22,7 +22,7 @@ Version 1, February 1989 Copyright (C) 1989 Free Software Foundation, Inc. - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-OptList-0.107/MANIFEST new/Data-OptList-0.108/MANIFEST --- old/Data-OptList-0.107/MANIFEST 2011-05-06 17:24:49.000000000 +0200 +++ new/Data-OptList-0.108/MANIFEST 2013-07-06 03:43:58.000000000 +0200 @@ -7,6 +7,9 @@ README dist.ini lib/Data/OptList.pm +t/00-compile.t +t/000-report-versions-tiny.t t/hash.t t/mkopt.t -t/release-pod-syntax.t +xt/release/changes_has_content.t +xt/release/pod-syntax.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-OptList-0.107/META.json new/Data-OptList-0.108/META.json --- old/Data-OptList-0.107/META.json 2011-05-06 17:24:49.000000000 +0200 +++ new/Data-OptList-0.108/META.json 2013-07-06 03:43:58.000000000 +0200 @@ -4,7 +4,7 @@ "Ricardo Signes <r...@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 4.200006, CPAN::Meta::Converter version 2.110930", + "generated_by" : "Dist::Zilla version 4.300036, CPAN::Meta::Converter version 2.131560", "license" : [ "perl_5" ], @@ -19,145 +19,171 @@ "ExtUtils::MakeMaker" : "6.30" } }, + "develop" : { + "requires" : { + "Test::Pod" : "1.41", + "version" : "0.9901" + } + }, "runtime" : { "requires" : { - "List::Util" : 0, - "Params::Util" : 0, - "Sub::Install" : "0.921" + "List::Util" : "0", + "Params::Util" : "0", + "Sub::Install" : "0.921", + "strict" : "0", + "warnings" : "0" } }, "test" : { "requires" : { + "File::Find" : "0", + "File::Temp" : "0", "Test::More" : "0.96" } } }, "release_status" : "stable", "resources" : { - "homepage" : "http://github.com/rjbs/data-optlist", + "bugtracker" : { + "web" : "https://github.com/rjbs/data-optlist/issues" + }, + "homepage" : "https://github.com/rjbs/data-optlist", "repository" : { "type" : "git", - "url" : "http://github.com/rjbs/data-optlist", - "web" : "http://github.com/rjbs/data-optlist" + "url" : "https://github.com/rjbs/data-optlist.git", + "web" : "https://github.com/rjbs/data-optlist" } }, - "version" : "0.107", + "version" : "0.108", "x_Dist_Zilla" : { + "perl" : { + "version" : "5.019001" + }, "plugins" : [ { + "class" : "Dist::Zilla::Plugin::Git::GatherDir", + "name" : "@RJBS/Git::GatherDir", + "version" : "2.014" + }, + { "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", "name" : "@RJBS/CheckPrereqsIndexed", - "version" : "0.002" + "version" : "0.009" }, { - "class" : "Dist::Zilla::Plugin::GatherDir", - "name" : "@RJBS/@Basic/GatherDir", - "version" : "4.200006" + "class" : "Dist::Zilla::Plugin::CheckExtraTests", + "name" : "@RJBS/CheckExtraTests", + "version" : "0.011" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", - "name" : "@RJBS/@Basic/PruneCruft", - "version" : "4.200006" + "name" : "@RJBS/@Filter/PruneCruft", + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", - "name" : "@RJBS/@Basic/ManifestSkip", - "version" : "4.200006" + "name" : "@RJBS/@Filter/ManifestSkip", + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", - "name" : "@RJBS/@Basic/MetaYAML", - "version" : "4.200006" + "name" : "@RJBS/@Filter/MetaYAML", + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::License", - "name" : "@RJBS/@Basic/License", - "version" : "4.200006" + "name" : "@RJBS/@Filter/License", + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::Readme", - "name" : "@RJBS/@Basic/Readme", - "version" : "4.200006" - }, - { - "class" : "Dist::Zilla::Plugin::ExtraTests", - "name" : "@RJBS/@Basic/ExtraTests", - "version" : "4.200006" + "name" : "@RJBS/@Filter/Readme", + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::ExecDir", - "name" : "@RJBS/@Basic/ExecDir", - "version" : "4.200006" + "name" : "@RJBS/@Filter/ExecDir", + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::ShareDir", - "name" : "@RJBS/@Basic/ShareDir", - "version" : "4.200006" + "name" : "@RJBS/@Filter/ShareDir", + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", - "name" : "@RJBS/@Basic/MakeMaker", - "version" : "4.200006" + "name" : "@RJBS/@Filter/MakeMaker", + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::Manifest", - "name" : "@RJBS/@Basic/Manifest", - "version" : "4.200006" + "name" : "@RJBS/@Filter/Manifest", + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::TestRelease", - "name" : "@RJBS/@Basic/TestRelease", - "version" : "4.200006" + "name" : "@RJBS/@Filter/TestRelease", + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", - "name" : "@RJBS/@Basic/ConfirmRelease", - "version" : "4.200006" + "name" : "@RJBS/@Filter/ConfirmRelease", + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", - "name" : "@RJBS/@Basic/UploadToCPAN", - "version" : "4.200006" + "name" : "@RJBS/@Filter/UploadToCPAN", + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@RJBS/AutoPrereqs", - "version" : "4.200006" + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::Git::NextVersion", "name" : "@RJBS/Git::NextVersion", - "version" : "1.110500" + "version" : "2.014" }, { "class" : "Dist::Zilla::Plugin::PkgVersion", "name" : "@RJBS/PkgVersion", - "version" : "4.200006" + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@RJBS/MetaConfig", - "version" : "4.200006" + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@RJBS/MetaJSON", - "version" : "4.200006" + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@RJBS/NextRelease", - "version" : "4.200006" + "version" : "4.300036" + }, + { + "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent", + "name" : "@RJBS/Test::ChangesHasContent", + "version" : "0.006" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@RJBS/PodSyntaxTests", - "version" : "4.200006" + "version" : "4.300036" + }, + { + "class" : "Dist::Zilla::Plugin::Test::Compile", + "name" : "@RJBS/Test::Compile", + "version" : "2.002" }, { - "class" : "Dist::Zilla::Plugin::Repository", - "name" : "@RJBS/Repository", - "version" : "0.18" + "class" : "Dist::Zilla::Plugin::ReportVersions::Tiny", + "name" : "@RJBS/ReportVersions::Tiny", + "version" : "1.08" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -168,7 +194,7 @@ } }, "name" : "@RJBS/TestMoreWithSubtests", - "version" : "4.200006" + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", @@ -178,65 +204,65 @@ { "class" : "Dist::Zilla::Plugin::GithubMeta", "name" : "@RJBS/GithubMeta", - "version" : "0.12" + "version" : "0.28" }, { "class" : "Dist::Zilla::Plugin::Git::Check", "name" : "@RJBS/@Git/Check", - "version" : "1.110500" + "version" : "2.014" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", "name" : "@RJBS/@Git/Commit", - "version" : "1.110500" + "version" : "2.014" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", "name" : "@RJBS/@Git/Tag", - "version" : "1.110500" + "version" : "2.014" }, { "class" : "Dist::Zilla::Plugin::Git::Push", "name" : "@RJBS/@Git/Push", - "version" : "1.110500" + "version" : "2.014" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "4.200006" + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "4.200006" + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "4.200006" + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "4.200006" + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "4.200006" + "version" : "4.300036" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "4.200006" + "version" : "4.300036" } ], "zilla" : { "class" : "Dist::Zilla::Dist::Builder", "config" : { - "is_trial" : 0 + "is_trial" : "0" }, - "version" : "4.200006" + "version" : "4.300036" } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-OptList-0.107/META.yml new/Data-OptList-0.108/META.yml --- old/Data-OptList-0.107/META.yml 2011-05-06 17:24:49.000000000 +0200 +++ new/Data-OptList-0.108/META.yml 2013-07-06 03:43:58.000000000 +0200 @@ -3,11 +3,13 @@ author: - 'Ricardo Signes <r...@cpan.org>' build_requires: + File::Find: 0 + File::Temp: 0 Test::More: 0.96 configure_requires: ExtUtils::MakeMaker: 6.30 dynamic_config: 0 -generated_by: 'Dist::Zilla version 4.200006, CPAN::Meta::Converter version 2.110930' +generated_by: 'Dist::Zilla version 4.300036, CPAN::Meta::Converter version 2.131560' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -17,104 +19,117 @@ List::Util: 0 Params::Util: 0 Sub::Install: 0.921 + strict: 0 + warnings: 0 resources: - homepage: http://github.com/rjbs/data-optlist - repository: http://github.com/rjbs/data-optlist -version: 0.107 + bugtracker: https://github.com/rjbs/data-optlist/issues + homepage: https://github.com/rjbs/data-optlist + repository: https://github.com/rjbs/data-optlist.git +version: 0.108 x_Dist_Zilla: + perl: + version: 5.019001 plugins: - + class: Dist::Zilla::Plugin::Git::GatherDir + name: '@RJBS/Git::GatherDir' + version: 2.014 + - class: Dist::Zilla::Plugin::CheckPrereqsIndexed name: '@RJBS/CheckPrereqsIndexed' - version: 0.002 + version: 0.009 - - class: Dist::Zilla::Plugin::GatherDir - name: '@RJBS/@Basic/GatherDir' - version: 4.200006 + class: Dist::Zilla::Plugin::CheckExtraTests + name: '@RJBS/CheckExtraTests' + version: 0.011 - class: Dist::Zilla::Plugin::PruneCruft - name: '@RJBS/@Basic/PruneCruft' - version: 4.200006 + name: '@RJBS/@Filter/PruneCruft' + version: 4.300036 - class: Dist::Zilla::Plugin::ManifestSkip - name: '@RJBS/@Basic/ManifestSkip' - version: 4.200006 + name: '@RJBS/@Filter/ManifestSkip' + version: 4.300036 - class: Dist::Zilla::Plugin::MetaYAML - name: '@RJBS/@Basic/MetaYAML' - version: 4.200006 + name: '@RJBS/@Filter/MetaYAML' + version: 4.300036 - class: Dist::Zilla::Plugin::License - name: '@RJBS/@Basic/License' - version: 4.200006 + name: '@RJBS/@Filter/License' + version: 4.300036 - class: Dist::Zilla::Plugin::Readme - name: '@RJBS/@Basic/Readme' - version: 4.200006 - - - class: Dist::Zilla::Plugin::ExtraTests - name: '@RJBS/@Basic/ExtraTests' - version: 4.200006 + name: '@RJBS/@Filter/Readme' + version: 4.300036 - class: Dist::Zilla::Plugin::ExecDir - name: '@RJBS/@Basic/ExecDir' - version: 4.200006 + name: '@RJBS/@Filter/ExecDir' + version: 4.300036 - class: Dist::Zilla::Plugin::ShareDir - name: '@RJBS/@Basic/ShareDir' - version: 4.200006 + name: '@RJBS/@Filter/ShareDir' + version: 4.300036 - class: Dist::Zilla::Plugin::MakeMaker - name: '@RJBS/@Basic/MakeMaker' - version: 4.200006 + name: '@RJBS/@Filter/MakeMaker' + version: 4.300036 - class: Dist::Zilla::Plugin::Manifest - name: '@RJBS/@Basic/Manifest' - version: 4.200006 + name: '@RJBS/@Filter/Manifest' + version: 4.300036 - class: Dist::Zilla::Plugin::TestRelease - name: '@RJBS/@Basic/TestRelease' - version: 4.200006 + name: '@RJBS/@Filter/TestRelease' + version: 4.300036 - class: Dist::Zilla::Plugin::ConfirmRelease - name: '@RJBS/@Basic/ConfirmRelease' - version: 4.200006 + name: '@RJBS/@Filter/ConfirmRelease' + version: 4.300036 - class: Dist::Zilla::Plugin::UploadToCPAN - name: '@RJBS/@Basic/UploadToCPAN' - version: 4.200006 + name: '@RJBS/@Filter/UploadToCPAN' + version: 4.300036 - class: Dist::Zilla::Plugin::AutoPrereqs name: '@RJBS/AutoPrereqs' - version: 4.200006 + version: 4.300036 - class: Dist::Zilla::Plugin::Git::NextVersion name: '@RJBS/Git::NextVersion' - version: 1.110500 + version: 2.014 - class: Dist::Zilla::Plugin::PkgVersion name: '@RJBS/PkgVersion' - version: 4.200006 + version: 4.300036 - class: Dist::Zilla::Plugin::MetaConfig name: '@RJBS/MetaConfig' - version: 4.200006 + version: 4.300036 - class: Dist::Zilla::Plugin::MetaJSON name: '@RJBS/MetaJSON' - version: 4.200006 + version: 4.300036 - class: Dist::Zilla::Plugin::NextRelease name: '@RJBS/NextRelease' - version: 4.200006 + version: 4.300036 + - + class: Dist::Zilla::Plugin::Test::ChangesHasContent + name: '@RJBS/Test::ChangesHasContent' + version: 0.006 - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@RJBS/PodSyntaxTests' - version: 4.200006 + version: 4.300036 - - class: Dist::Zilla::Plugin::Repository - name: '@RJBS/Repository' - version: 0.18 + class: Dist::Zilla::Plugin::Test::Compile + name: '@RJBS/Test::Compile' + version: 2.002 + - + class: Dist::Zilla::Plugin::ReportVersions::Tiny + name: '@RJBS/ReportVersions::Tiny' + version: 1.08 - class: Dist::Zilla::Plugin::Prereqs config: @@ -122,7 +137,7 @@ phase: test type: requires name: '@RJBS/TestMoreWithSubtests' - version: 4.200006 + version: 4.300036 - class: Dist::Zilla::Plugin::PodWeaver name: '@RJBS/PodWeaver' @@ -130,49 +145,49 @@ - class: Dist::Zilla::Plugin::GithubMeta name: '@RJBS/GithubMeta' - version: 0.12 + version: 0.28 - class: Dist::Zilla::Plugin::Git::Check name: '@RJBS/@Git/Check' - version: 1.110500 + version: 2.014 - class: Dist::Zilla::Plugin::Git::Commit name: '@RJBS/@Git/Commit' - version: 1.110500 + version: 2.014 - class: Dist::Zilla::Plugin::Git::Tag name: '@RJBS/@Git/Tag' - version: 1.110500 + version: 2.014 - class: Dist::Zilla::Plugin::Git::Push name: '@RJBS/@Git/Push' - version: 1.110500 + version: 2.014 - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: 4.200006 + version: 4.300036 - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: 4.200006 + version: 4.300036 - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: 4.200006 + version: 4.300036 - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: 4.200006 + version: 4.300036 - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: 4.200006 + version: 4.300036 - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: 4.200006 + version: 4.300036 zilla: class: Dist::Zilla::Dist::Builder config: is_trial: 0 - version: 4.200006 + version: 4.300036 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-OptList-0.107/Makefile.PL new/Data-OptList-0.108/Makefile.PL --- old/Data-OptList-0.107/Makefile.PL 2011-05-06 17:24:49.000000000 +0200 +++ new/Data-OptList-0.108/Makefile.PL 2013-07-06 03:43:58.000000000 +0200 @@ -9,30 +9,48 @@ my %WriteMakefileArgs = ( - 'ABSTRACT' => 'parse and validate simple name/value option pairs', - 'AUTHOR' => 'Ricardo Signes <r...@cpan.org>', - 'BUILD_REQUIRES' => { - 'Test::More' => '0.96' + "ABSTRACT" => "parse and validate simple name/value option pairs", + "AUTHOR" => "Ricardo Signes <rjbs\@cpan.org>", + "BUILD_REQUIRES" => {}, + "CONFIGURE_REQUIRES" => { + "ExtUtils::MakeMaker" => "6.30" }, - 'CONFIGURE_REQUIRES' => { - 'ExtUtils::MakeMaker' => '6.30' + "DISTNAME" => "Data-OptList", + "EXE_FILES" => [], + "LICENSE" => "perl", + "NAME" => "Data::OptList", + "PREREQ_PM" => { + "List::Util" => 0, + "Params::Util" => 0, + "Sub::Install" => "0.921", + "strict" => 0, + "warnings" => 0 }, - 'DISTNAME' => 'Data-OptList', - 'EXE_FILES' => [], - 'LICENSE' => 'perl', - 'NAME' => 'Data::OptList', - 'PREREQ_PM' => { - 'List::Util' => '0', - 'Params::Util' => '0', - 'Sub::Install' => '0.921' + "TEST_REQUIRES" => { + "File::Find" => 0, + "File::Temp" => 0, + "Test::More" => "0.96" }, - 'VERSION' => '0.107', - 'test' => { - 'TESTS' => 't/*.t' + "VERSION" => "0.108", + "test" => { + "TESTS" => "t/*.t" } ); +unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { + my $tr = delete $WriteMakefileArgs{TEST_REQUIRES}; + my $br = $WriteMakefileArgs{BUILD_REQUIRES}; + for my $mod ( keys %$tr ) { + if ( exists $br->{$mod} ) { + $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod}; + } + else { + $br->{$mod} = $tr->{$mod}; + } + } +} + unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) { my $br = delete $WriteMakefileArgs{BUILD_REQUIRES}; my $pp = $WriteMakefileArgs{PREREQ_PM}; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-OptList-0.107/README new/Data-OptList-0.108/README --- old/Data-OptList-0.107/README 2011-05-06 17:24:49.000000000 +0200 +++ new/Data-OptList-0.108/README 2013-07-06 03:43:58.000000000 +0200 @@ -1,7 +1,7 @@ This archive contains the distribution Data-OptList, -version 0.107: +version 0.108: parse and validate simple name/value option pairs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-OptList-0.107/lib/Data/OptList.pm new/Data-OptList-0.108/lib/Data/OptList.pm --- old/Data-OptList-0.107/lib/Data/OptList.pm 2011-05-06 17:24:49.000000000 +0200 +++ new/Data-OptList-0.108/lib/Data/OptList.pm 2013-07-06 03:43:58.000000000 +0200 @@ -1,8 +1,8 @@ use strict; use warnings; package Data::OptList; -BEGIN { - $Data::OptList::VERSION = '0.107'; +{ + $Data::OptList::VERSION = '0.108'; } # ABSTRACT: parse and validate simple name/value option pairs @@ -106,6 +106,7 @@ 1; __END__ + =pod =head1 NAME @@ -114,7 +115,7 @@ =head1 VERSION -version 0.107 +version 0.108 =head1 SYNOPSIS @@ -195,7 +196,7 @@ This produces an array of arrays; the inner arrays are name/value pairs. Values will be either "undef" or a reference. -Positional parameters may be used for compability with the old C<mkopt> +Positional parameters may be used for compatibility with the old C<mkopt> interface: my $opt_list = Data::OptList::mkopt($input, $moniker, $req_uni, $must_be); @@ -253,4 +254,3 @@ the same terms as the Perl 5 programming language system itself. =cut - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-OptList-0.107/t/00-compile.t new/Data-OptList-0.108/t/00-compile.t --- old/Data-OptList-0.107/t/00-compile.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Data-OptList-0.108/t/00-compile.t 2013-07-06 03:43:58.000000000 +0200 @@ -0,0 +1,74 @@ +#!perl + +use strict; +use warnings; + +use Test::More; + + + +use File::Find; +use File::Temp qw{ tempdir }; + +my @modules; +find( + sub { + return if $File::Find::name !~ /\.pm\z/; + my $found = $File::Find::name; + $found =~ s{^lib/}{}; + $found =~ s{[/\\]}{::}g; + $found =~ s/\.pm$//; + # nothing to skip + push @modules, $found; + }, + 'lib', +); + +sub _find_scripts { + my $dir = shift @_; + + my @found_scripts = (); + find( + sub { + return unless -f; + my $found = $File::Find::name; + # nothing to skip + open my $FH, '<', $_ or do { + note( "Unable to open $found in ( $! ), skipping" ); + return; + }; + my $shebang = <$FH>; + return unless $shebang =~ /^#!.*?\bperl\b\s*$/; + push @found_scripts, $found; + }, + $dir, + ); + + return @found_scripts; +} + +my @scripts; +do { push @scripts, _find_scripts($_) if -d $_ } + for qw{ bin script scripts }; + +my $plan = scalar(@modules) + scalar(@scripts); +$plan ? (plan tests => $plan) : (plan skip_all => "no tests to run"); + +{ + # fake home for cpan-testers + # no fake requested ## local $ENV{HOME} = tempdir( CLEANUP => 1 ); + + like( qx{ $^X -Ilib -e "require $_; print '$_ ok'" }, qr/^\s*$_ ok/s, "$_ loaded ok" ) + for sort @modules; + + SKIP: { + eval "use Test::Script 1.05; 1;"; + skip "Test::Script needed to test script compilation", scalar(@scripts) if $@; + foreach my $file ( @scripts ) { + my $script = $file; + $script =~ s!.*/!!; + script_compiles( $file, "$script script compiles" ); + } + } + +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-OptList-0.107/t/000-report-versions-tiny.t new/Data-OptList-0.108/t/000-report-versions-tiny.t --- old/Data-OptList-0.107/t/000-report-versions-tiny.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Data-OptList-0.108/t/000-report-versions-tiny.t 2013-07-06 03:43:58.000000000 +0200 @@ -0,0 +1,80 @@ +use strict; +use warnings; +use Test::More 0.88; +# This is a relatively nice way to avoid Test::NoWarnings breaking our +# expectations by adding extra tests, without using no_plan. It also helps +# avoid any other test module that feels introducing random tests, or even +# test plans, is a nice idea. +our $success = 0; +END { $success && done_testing; } + +# List our own version used to generate this +my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.08\n"; + +eval { # no excuses! + # report our Perl details + my $want = "any version"; + $v .= "perl: $] (wanted $want) on $^O from $^X\n\n"; +}; +defined($@) and diag("$@"); + +# Now, our module version dependencies: +sub pmver { + my ($module, $wanted) = @_; + $wanted = " (want $wanted)"; + my $pmver; + eval "require $module;"; + if ($@) { + if ($@ =~ m/Can't locate .* in \@INC/) { + $pmver = 'module not found.'; + } else { + diag("${module}: $@"); + $pmver = 'died during require.'; + } + } else { + my $version; + eval { $version = $module->VERSION; }; + if ($@) { + diag("${module}: $@"); + $pmver = 'died during VERSION check.'; + } elsif (defined $version) { + $pmver = "$version"; + } else { + $pmver = '<undef>'; + } + } + + # So, we should be good, right? + return sprintf('%-45s => %-10s%-15s%s', $module, $pmver, $wanted, "\n"); +} + +eval { $v .= pmver('ExtUtils::MakeMaker','6.30') }; +eval { $v .= pmver('File::Find','any version') }; +eval { $v .= pmver('File::Temp','any version') }; +eval { $v .= pmver('List::Util','any version') }; +eval { $v .= pmver('Params::Util','any version') }; +eval { $v .= pmver('Sub::Install','0.921') }; +eval { $v .= pmver('Test::More','0.96') }; +eval { $v .= pmver('Test::Pod','1.41') }; +eval { $v .= pmver('strict','any version') }; +eval { $v .= pmver('version','0.9901') }; +eval { $v .= pmver('warnings','any version') }; + + +# All done. +$v .= <<'EOT'; + +Thanks for using my code. I hope it works for you. +If not, please try and include this output in the bug report. +That will help me reproduce the issue and solve your problem. + +EOT + +diag($v); +ok(1, "we really didn't test anything, just reporting data"); +$success = 1; + +# Work around another nasty module on CPAN. :/ +no warnings 'once'; +$Template::Test::NO_FLUSH = 1; +exit 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-OptList-0.107/t/release-pod-syntax.t new/Data-OptList-0.108/t/release-pod-syntax.t --- old/Data-OptList-0.107/t/release-pod-syntax.t 2011-05-06 17:24:49.000000000 +0200 +++ new/Data-OptList-0.108/t/release-pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,15 +0,0 @@ -#!perl - -BEGIN { - unless ($ENV{RELEASE_TESTING}) { - require Test::More; - Test::More::plan(skip_all => 'these tests are for release candidate testing'); - } -} - -use Test::More; - -eval "use Test::Pod 1.41"; -plan skip_all => "Test::Pod 1.41 required for testing POD" if $@; - -all_pod_files_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-OptList-0.107/xt/release/changes_has_content.t new/Data-OptList-0.108/xt/release/changes_has_content.t --- old/Data-OptList-0.107/xt/release/changes_has_content.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Data-OptList-0.108/xt/release/changes_has_content.t 2013-07-06 03:43:58.000000000 +0200 @@ -0,0 +1,41 @@ +#!perl + +use Test::More tests => 2; + +note 'Checking Changes'; +my $changes_file = 'Changes'; +my $newver = '0.108'; +my $trial_token = '-TRIAL'; + +SKIP: { + ok(-e $changes_file, "$changes_file file exists") + or skip 'Changes is missing', 1; + + ok(_get_changes($newver), "$changes_file has content for $newver"); +} + +done_testing; + +# _get_changes copied and adapted from Dist::Zilla::Plugin::Git::Commit +# by Jerome Quelin +sub _get_changes +{ + my $newver = shift; + + # parse changelog to find commit message + open(my $fh, '<', $changes_file) or die "cannot open $changes_file: $!"; + my $changelog = join('', <$fh>); + close $fh; + + my @content = + grep { /^$newver(?:$trial_token)?(?:\s+|$)/ ... /^\S/ } # from newver to un-indented + split /\n/, $changelog; + shift @content; # drop the version line + + # drop unindented last line and trailing blank lines + pop @content while ( @content && $content[-1] =~ /^(?:\S|\s*$)/ ); + + # return number of non-blank lines + return scalar @content; +} + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Data-OptList-0.107/xt/release/pod-syntax.t new/Data-OptList-0.108/xt/release/pod-syntax.t --- old/Data-OptList-0.107/xt/release/pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Data-OptList-0.108/xt/release/pod-syntax.t 2013-07-06 03:43:58.000000000 +0200 @@ -0,0 +1,7 @@ +#!perl +use Test::More; + +eval "use Test::Pod 1.41"; +plan skip_all => "Test::Pod 1.41 required for testing POD" if $@; + +all_pod_files_ok(); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org