Hello community,

here is the log from the commit of package perl-Module-CPANfile for 
openSUSE:Factory checked in at 2015-09-11 09:04:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Module-CPANfile (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Module-CPANfile.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Module-CPANfile"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Module-CPANfile/perl-Module-CPANfile.changes    
    2014-09-15 18:25:17.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Module-CPANfile.new/perl-Module-CPANfile.changes
   2015-09-11 09:04:46.000000000 +0200
@@ -1,0 +2,9 @@
+Thu Sep 10 09:48:46 UTC 2015 - [email protected]
+
+- updated to 1.1001
+   see /usr/share/doc/packages/perl-Module-CPANfile/Changes
+
+  1.1001  2015-09-04 14:07:14 CEST
+          - Fixed tests to avoid using subtests. #38
+
+-------------------------------------------------------------------

Old:
----
  Module-CPANfile-1.1000.tar.gz

New:
----
  Module-CPANfile-1.1001.tar.gz
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-Module-CPANfile.spec ++++++
--- /var/tmp/diff_new_pack.JYb4bR/_old  2015-09-11 09:04:47.000000000 +0200
+++ /var/tmp/diff_new_pack.JYb4bR/_new  2015-09-11 09:04:47.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Module-CPANfile
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX 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,14 +17,15 @@
 
 
 Name:           perl-Module-CPANfile
-Version:        1.1000
+Version:        1.1001
 Release:        0
 %define cpan_name Module-CPANfile
 Summary:        Parse cpanfile
 License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/Module-CPANfile/
-Source:         
http://www.cpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz
+Source0:        
http://www.cpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
@@ -60,6 +61,6 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc Changes cpanfile LICENSE README
+%doc Changes LICENSE README
 
 %changelog

++++++ Module-CPANfile-1.1000.tar.gz -> Module-CPANfile-1.1001.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-CPANfile-1.1000/Changes 
new/Module-CPANfile-1.1001/Changes
--- old/Module-CPANfile-1.1000/Changes  2014-08-29 06:48:18.000000000 +0200
+++ new/Module-CPANfile-1.1001/Changes  2015-09-04 14:07:17.000000000 +0200
@@ -1,5 +1,8 @@
 Revision history for Module::Install::CPANfile
 
+1.1001  2015-09-04 14:07:14 CEST
+        - Fixed tests to avoid using subtests. #38
+
 1.1000  2014-08-29 13:48:13 JST
         - Make it non-development release
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-CPANfile-1.1000/LICENSE 
new/Module-CPANfile-1.1001/LICENSE
--- old/Module-CPANfile-1.1000/LICENSE  2014-08-29 06:48:18.000000000 +0200
+++ new/Module-CPANfile-1.1001/LICENSE  2015-09-04 14:07:17.000000000 +0200
@@ -1,4 +1,4 @@
-This software is copyright (c) 2014 by Tatsuhiko Miyagawa.
+This software is copyright (c) 2015 by Tatsuhiko Miyagawa.
 
 This is free software; you can redistribute it and/or modify it under
 the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@
 
 --- The GNU General Public License, Version 1, February 1989 ---
 
-This software is Copyright (c) 2014 by Tatsuhiko Miyagawa.
+This software is Copyright (c) 2015 by Tatsuhiko Miyagawa.
 
 This is free software, licensed under:
 
@@ -272,7 +272,7 @@
 
 --- The Artistic License 1.0 ---
 
-This software is Copyright (c) 2014 by Tatsuhiko Miyagawa.
+This software is Copyright (c) 2015 by Tatsuhiko Miyagawa.
 
 This is free software, licensed under:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-CPANfile-1.1000/MANIFEST 
new/Module-CPANfile-1.1001/MANIFEST
--- old/Module-CPANfile-1.1000/MANIFEST 2014-08-29 06:48:18.000000000 +0200
+++ new/Module-CPANfile-1.1001/MANIFEST 2015-09-04 14:07:17.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest 
v5.020.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest 
v5.039.
 Changes
 LICENSE
 MANIFEST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-CPANfile-1.1000/META.json 
new/Module-CPANfile-1.1001/META.json
--- old/Module-CPANfile-1.1000/META.json        2014-08-29 06:48:18.000000000 
+0200
+++ new/Module-CPANfile-1.1001/META.json        2015-09-04 14:07:17.000000000 
+0200
@@ -4,13 +4,13 @@
       "Tatsuhiko Miyagawa"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Milla version v1.0.5, Dist::Zilla version 5.020, 
CPAN::Meta::Converter version 2.142060",
+   "generated_by" : "Dist::Zilla version 5.039, Dist::Milla version v1.0.15, 
CPAN::Meta::Converter version 2.150005",
    "license" : [
       "perl_5"
    ],
    "meta-spec" : {
       "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
-      "version" : "2"
+      "version" : 2
    },
    "name" : "Module-CPANfile",
    "no_index" : {
@@ -31,6 +31,7 @@
       },
       "develop" : {
          "requires" : {
+            "Dist::Milla" : "v1.0.15",
             "Test::Pod" : "1.41"
          }
       },
@@ -62,17 +63,18 @@
          "web" : "https://github.com/miyagawa/cpanfile";
       }
    },
-   "version" : "1.1000",
+   "version" : "1.1001",
    "x_contributors" : [
       "Atsushi Kato <[email protected]>",
       "David Golden <[email protected]>",
       "David Steinbrunner <[email protected]>",
       "Gregory Oschwald <[email protected]>",
+      "grtodd <[email protected]>",
+      "ikasam_a <[email protected]>",
       "Kenichi Ishigaki <[email protected]>",
       "Masahiro Honma <[email protected]>",
       "Michiel Beijen <[email protected]>",
-      "grtodd <[email protected]>",
-      "ikasam_a <[email protected]>"
+      "Tatsuhiko Miyagawa <[email protected]>"
    ]
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-CPANfile-1.1000/META.yml 
new/Module-CPANfile-1.1001/META.yml
--- old/Module-CPANfile-1.1000/META.yml 2014-08-29 06:48:18.000000000 +0200
+++ new/Module-CPANfile-1.1001/META.yml 2015-09-04 14:07:17.000000000 +0200
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 0
-generated_by: 'Dist::Milla version v1.0.5, Dist::Zilla version 5.020, 
CPAN::Meta::Converter version 2.142060'
+generated_by: 'Dist::Zilla version 5.039, Dist::Milla version v1.0.15, 
CPAN::Meta::Converter version 2.150005'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -31,14 +31,15 @@
   bugtracker: https://github.com/miyagawa/cpanfile/issues
   homepage: https://github.com/miyagawa/cpanfile
   repository: https://github.com/miyagawa/cpanfile.git
-version: '1.1000'
+version: '1.1001'
 x_contributors:
   - 'Atsushi Kato <[email protected]>'
   - 'David Golden <[email protected]>'
   - 'David Steinbrunner <[email protected]>'
   - 'Gregory Oschwald <[email protected]>'
+  - 'grtodd <[email protected]>'
+  - 'ikasam_a <[email protected]>'
   - 'Kenichi Ishigaki <[email protected]>'
   - 'Masahiro Honma <[email protected]>'
   - 'Michiel Beijen <[email protected]>'
-  - 'grtodd <[email protected]>'
-  - 'ikasam_a <[email protected]>'
+  - 'Tatsuhiko Miyagawa <[email protected]>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-CPANfile-1.1000/Makefile.PL 
new/Module-CPANfile-1.1001/Makefile.PL
--- old/Module-CPANfile-1.1000/Makefile.PL      2014-08-29 06:48:18.000000000 
+0200
+++ new/Module-CPANfile-1.1001/Makefile.PL      2015-09-04 14:07:17.000000000 
+0200
@@ -1,13 +1,10 @@
-
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker 
v5.020.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker 
v5.039.
 use strict;
 use warnings;
 
 
 
-use ExtUtils::MakeMaker ;
-
-
+use ExtUtils::MakeMaker;
 
 my %WriteMakefileArgs = (
   "ABSTRACT" => "Parse cpanfile",
@@ -30,7 +27,7 @@
   "TEST_REQUIRES" => {
     "Test::More" => "0.88"
   },
-  "VERSION" => "1.1000",
+  "VERSION" => "1.1001",
   "test" => {
     "TESTS" => "t/*.t"
   }
@@ -55,6 +52,3 @@
   unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
 
 WriteMakefile(%WriteMakefileArgs);
-
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-CPANfile-1.1000/README 
new/Module-CPANfile-1.1001/README
--- old/Module-CPANfile-1.1000/README   2014-08-29 06:48:18.000000000 +0200
+++ new/Module-CPANfile-1.1001/README   2015-09-04 14:07:17.000000000 +0200
@@ -1,103 +1,116 @@
 NAME
+
     Module::CPANfile - Parse cpanfile
 
 SYNOPSIS
-      use Module::CPANfile;
 
+      use Module::CPANfile;
+    
       my $file = Module::CPANfile->load("cpanfile");
       my $prereqs = $file->prereqs; # CPAN::Meta::Prereqs object
-
+    
       my @features = $file->features; # CPAN::Meta::Feature objects
       my $merged_prereqs = $file->prereqs_with(@identifiers); # 
CPAN::Meta::Prereqs
-
+    
       $file->merge_meta('MYMETA.json');
 
 DESCRIPTION
-    Module::CPANfile is a tool to handle cpanfile format to load application
-    specific dependencies, not just for CPAN distributions.
+
+    Module::CPANfile is a tool to handle cpanfile format to load
+    application specific dependencies, not just for CPAN distributions.
 
 METHODS
+
     load
-          $file = Module::CPANfile->load;
-          $file = Module::CPANfile->load('cpanfile');
 
-        Load and parse a cpanfile. By default it tries to load "cpanfile" in
-        the current directory, unless you pass the path to its argument.
+        $file = Module::CPANfile->load;
+        $file = Module::CPANfile->load('cpanfile');
+
+      Load and parse a cpanfile. By default it tries to load cpanfile in
+      the current directory, unless you pass the path to its argument.
 
     from_prereqs
-          $file = Module::CPANfile->from_prereqs({
-            runtime => { requires => { DBI => '1.000' } },
-          });
-
-        Creates a new Module::CPANfile object from prereqs hash you can get
-        via CPAN::Meta's "prereqs", or CPAN::Meta::Prereqs'
-        "as_string_hash".
-
-          # read MYMETA, then feed the prereqs to create Module::CPANfile
-          my $meta = CPAN::Meta->load_file('MYMETA.json');
-          my $file = Module::CPANfile->from_prereqs($meta->prereqs);
-
-          # load cpanfile, then recreate it with round-trip
-          my $file = Module::CPANfile->load('cpanfile');
-          $file = Module::CPANfile->from_prereqs($file->prereq_specs);
-                                            # or $file->prereqs->as_string_hash
+
+        $file = Module::CPANfile->from_prereqs({
+          runtime => { requires => { DBI => '1.000' } },
+        });
+
+      Creates a new Module::CPANfile object from prereqs hash you can get
+      via CPAN::Meta's prereqs, or CPAN::Meta::Prereqs' as_string_hash.
+
+        # read MYMETA, then feed the prereqs to create Module::CPANfile
+        my $meta = CPAN::Meta->load_file('MYMETA.json');
+        my $file = Module::CPANfile->from_prereqs($meta->prereqs);
+      
+        # load cpanfile, then recreate it with round-trip
+        my $file = Module::CPANfile->load('cpanfile');
+        $file = Module::CPANfile->from_prereqs($file->prereq_specs);
+                                          # or $file->prereqs->as_string_hash
 
     prereqs
-        Returns CPAN::Meta::Prereqs object out of the parsed cpanfile.
+
+      Returns CPAN::Meta::Prereqs object out of the parsed cpanfile.
 
     prereq_specs
-        Returns a hash reference that should be passed to
-        "CPAN::Meta::Prereqs->new".
+
+      Returns a hash reference that should be passed to
+      CPAN::Meta::Prereqs->new.
 
     features
-        Returns a list of features available in the cpanfile as
-        CPAN::Meta::Feature.
+
+      Returns a list of features available in the cpanfile as
+      CPAN::Meta::Feature.
 
     prereqs_with(@identifiers), effective_prereqs(\@identifiers)
-        Returns CPAN::Meta::Prereqs object, with merged prereqs for features
-        identified with the @identifiers.
+
+      Returns CPAN::Meta::Prereqs object, with merged prereqs for features
+      identified with the @identifiers.
 
     to_string($include_empty)
-          $file->to_string;
-          $file->to_string(1);
 
-        Returns a canonical string (code) representation for cpanfile.
-        Useful if you want to convert CPAN::Meta::Prereqs to a new cpanfile.
+        $file->to_string;
+        $file->to_string(1);
+
+      Returns a canonical string (code) representation for cpanfile. Useful
+      if you want to convert CPAN::Meta::Prereqs to a new cpanfile.
+
+        # read MYMETA's prereqs and print cpanfile representation of it
+        my $meta = CPAN::Meta->load_file('MYMETA.json');
+        my $file = Module::CPANfile->from_prereqs($meta->prereqs);
+        print $file->to_string;
 
-          # read MYMETA's prereqs and print cpanfile representation of it
-          my $meta = CPAN::Meta->load_file('MYMETA.json');
-          my $file = Module::CPANfile->from_prereqs($meta->prereqs);
-          print $file->to_string;
-
-        By default, it omits the phase where there're no modules registered.
-        If you pass the argument of a true value, it will print them as
-        well.
+      By default, it omits the phase where there're no modules registered.
+      If you pass the argument of a true value, it will print them as well.
 
     save
-          $file->save('cpanfile');
 
-        Saves the currently loaded prereqs as a new "cpanfile" by calling
-        "to_string". Beware this method will overwrite the existing cpanfile
-        without any warning or backup. Taking a backup or giving warnings to
-        users is a caller's responsibility.
-
-          # Read MYMETA.json and creates a new cpanfile
-          my $meta = CPAN::Meta->load_file('MYMETA.json');
-          my $file = Module::CPANfile->from_prereqs($meta->prereqs);
-          $file->save('cpanfile');
+        $file->save('cpanfile');
+
+      Saves the currently loaded prereqs as a new cpanfile by calling
+      to_string. Beware this method will overwrite the existing cpanfile
+      without any warning or backup. Taking a backup or giving warnings to
+      users is a caller's responsibility.
+
+        # Read MYMETA.json and creates a new cpanfile
+        my $meta = CPAN::Meta->load_file('MYMETA.json');
+        my $file = Module::CPANfile->from_prereqs($meta->prereqs);
+        $file->save('cpanfile');
 
     merge_meta
-          $file->merge_meta('META.yml');
-          $file->merge_meta('MYMETA.json', '2.0');
 
-        Merge the effective prereqs with Meta specification loaded from the
-        given META file, using CPAN::Meta. You can specify the META spec
-        version in the second argument, which defaults to 1.4 in case the
-        given file is YAML, and 2 if it is JSON.
+        $file->merge_meta('META.yml');
+        $file->merge_meta('MYMETA.json', '2.0');
+
+      Merge the effective prereqs with Meta specification loaded from the
+      given META file, using CPAN::Meta. You can specify the META spec
+      version in the second argument, which defaults to 1.4 in case the
+      given file is YAML, and 2 if it is JSON.
 
 AUTHOR
+
     Tatsuhiko Miyagawa
 
 SEE ALSO
+
     cpanfile, CPAN::Meta, CPAN::Meta::Spec
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-CPANfile-1.1000/lib/Module/CPANfile.pm 
new/Module-CPANfile-1.1001/lib/Module/CPANfile.pm
--- old/Module-CPANfile-1.1000/lib/Module/CPANfile.pm   2014-08-29 
06:48:18.000000000 +0200
+++ new/Module-CPANfile-1.1001/lib/Module/CPANfile.pm   2015-09-04 
14:07:17.000000000 +0200
@@ -6,7 +6,7 @@
 use Module::CPANfile::Environment;
 use Module::CPANfile::Requirement;
 
-our $VERSION = '1.1000';
+our $VERSION = '1.1001';
 
 sub new {
     my($class, $file) = @_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Module-CPANfile-1.1000/t/requirement.t 
new/Module-CPANfile-1.1001/t/requirement.t
--- old/Module-CPANfile-1.1000/t/requirement.t  2014-08-29 06:48:18.000000000 
+0200
+++ new/Module-CPANfile-1.1001/t/requirement.t  2015-09-04 14:07:17.000000000 
+0200
@@ -3,7 +3,7 @@
 use Test::More;
 use t::Utils;
 
-subtest 'full set' => sub {
+{
     my $r = write_cpanfile(<<FILE);
 requires 'Plack', '0.9970',
     git => 'git://github.com/plack/Plack.git', ref => '0.9970';
@@ -23,9 +23,9 @@
         git => 'git://github.com/plack/Plack.git',
         ref => '0.9970',
     };
-};
+}
 
-subtest 'drop version' => sub {
+{
     my $r = write_cpanfile(<<FILE);
 requires 'Plack', # drop version
     git => 'git://github.com/plack/Plack.git', ref => '0.9970';
@@ -42,9 +42,9 @@
         git     => 'git://github.com/plack/Plack.git',
         ref     => '0.9970',
     };
-};
+}
 
-subtest 'no ref' => sub {
+{
     my $r = write_cpanfile(<<FILE);
 requires 'Plack', '0.9970', git => 'git://github.com/plack/Plack.git';
 FILE
@@ -59,9 +59,9 @@
     is_deeply $file->options_for_module('Plack'), {
         git     => 'git://github.com/plack/Plack.git',
     };
-};
+}
 
-subtest 'name and git' => sub {
+{
     my $r = write_cpanfile(<<FILE);
 requires 'Plack', git => 'git://github.com/plack/Plack.git';
 FILE
@@ -76,6 +76,6 @@
     is_deeply $file->options_for_module('Plack'), {
         git     => 'git://github.com/plack/Plack.git',
     };
-};
+}
 
 done_testing;

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
#patches:
#  foo.patch: -p1
#  bar.patch:
#preamble: |-
# BuildRequires:  gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

Reply via email to