Hello community,

here is the log from the commit of package perl-Test-SharedFork for 
openSUSE:Factory checked in at 2015-05-02 17:44:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-SharedFork (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Test-SharedFork.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Test-SharedFork"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Test-SharedFork/perl-Test-SharedFork.changes    
    2015-04-15 16:27:16.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Test-SharedFork.new/perl-Test-SharedFork.changes
   2015-05-02 17:44:37.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Apr 29 10:30:05 UTC 2015 - co...@suse.com
+
+- updated to 0.31
+   see /usr/share/doc/packages/perl-Test-SharedFork/Changes
+
+-------------------------------------------------------------------

Old:
----
  Test-SharedFork-0.29.tar.gz

New:
----
  Test-SharedFork-0.31.tar.gz
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-Test-SharedFork.spec ++++++
--- /var/tmp/diff_new_pack.t66MoA/_old  2015-05-02 17:44:37.000000000 +0200
+++ /var/tmp/diff_new_pack.t66MoA/_new  2015-05-02 17:44:37.000000000 +0200
@@ -17,14 +17,15 @@
 
 
 Name:           perl-Test-SharedFork
-Version:        0.29
+Version:        0.31
 Release:        0
 %define cpan_name Test-SharedFork
-Summary:        fork test
+Summary:        Fork Test
 License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/Test-SharedFork/
-Source:         
http://www.cpan.org/authors/id/E/EX/EXODIST/%{cpan_name}-%{version}.tar.gz
+Source0:        
http://www.cpan.org/authors/id/E/EX/EXODIST/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl

++++++ Test-SharedFork-0.29.tar.gz -> Test-SharedFork-0.31.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-SharedFork-0.29/Changes 
new/Test-SharedFork-0.31/Changes
--- old/Test-SharedFork-0.29/Changes    2014-09-20 06:21:56.000000000 +0200
+++ new/Test-SharedFork-0.31/Changes    2015-04-28 22:26:13.000000000 +0200
@@ -1,6 +1,12 @@
 Revision history for Perl module Test::SharedFork
 
-0.29 2014-09-20T04:21:14Z
+0.31 2015-04-28T20:25:31Z
+
+    - Fix test that accidentally got commited last release
+
+0.30 2015-04-28T20:19:58Z
+
+    - Minor changes to support newer Test::Stream versions
 
 0.28 2014-07-04T07:37:50Z
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-SharedFork-0.29/META.json 
new/Test-SharedFork-0.31/META.json
--- old/Test-SharedFork-0.29/META.json  2014-09-20 06:21:56.000000000 +0200
+++ new/Test-SharedFork-0.31/META.json  2015-04-28 22:26:13.000000000 +0200
@@ -4,7 +4,7 @@
       "Tokuhiro Matsuno <tokuhirom  slkjfd gmail.com>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Minilla/v2.1.1",
+   "generated_by" : "Minilla/v2.4.0",
    "license" : [
       "perl_5"
    ],
@@ -28,7 +28,7 @@
    "prereqs" : {
       "configure" : {
          "requires" : {
-            "ExtUtils::MakeMaker" : "6.64"
+            "ExtUtils::MakeMaker" : "0"
          }
       },
       "develop" : {
@@ -61,7 +61,7 @@
    "provides" : {
       "Test::SharedFork" : {
          "file" : "lib/Test/SharedFork.pm",
-         "version" : "0.29"
+         "version" : "0.31"
       },
       "Test::SharedFork::Array" : {
          "file" : "lib/Test/SharedFork/Array.pm"
@@ -84,7 +84,7 @@
          "web" : "https://github.com/tokuhirom/Test-SharedFork";
       }
    },
-   "version" : "0.29",
+   "version" : "0.31",
    "x_contributors" : [
       "lestrrat <lestrrat+git...@gmail.com>",
       "Vyacheslav Matyukhin <m...@berekuk.ru>",
@@ -95,6 +95,7 @@
       "rwhitworth <m...@ryanwhitworth.com>",
       "Kenichi Ishigaki <ishig...@cpan.org>",
       "Tokuhiro Matsuno <tokuhi...@gmail.com>",
-      "Chad Granum <chad.gra...@dreamhost.com>"
+      "Chad Granum <chad.gra...@dreamhost.com>",
+      "Chad Granum <exodi...@gmail.com>"
    ]
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-SharedFork-0.29/META.yml 
new/Test-SharedFork-0.31/META.yml
--- old/Test-SharedFork-0.29/META.yml   2014-09-20 06:21:56.000000000 +0200
+++ new/Test-SharedFork-0.31/META.yml   2015-04-28 22:26:13.000000000 +0200
@@ -8,9 +8,9 @@
   Test::Requires: '0'
   Time::HiRes: '0'
 configure_requires:
-  ExtUtils::MakeMaker: '6.64'
+  ExtUtils::MakeMaker: '0'
 dynamic_config: 0
-generated_by: 'Minilla/v2.1.1, CPAN::Meta::Converter version 2.140640'
+generated_by: 'Minilla/v2.4.0, CPAN::Meta::Converter version 2.142060'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -29,7 +29,7 @@
 provides:
   Test::SharedFork:
     file: lib/Test/SharedFork.pm
-    version: '0.29'
+    version: '0.31'
   Test::SharedFork::Array:
     file: lib/Test/SharedFork/Array.pm
   Test::SharedFork::Scalar:
@@ -46,7 +46,7 @@
   bugtracker: https://github.com/tokuhirom/Test-SharedFork/issues
   homepage: https://github.com/tokuhirom/Test-SharedFork
   repository: git://github.com/tokuhirom/Test-SharedFork.git
-version: '0.29'
+version: '0.31'
 x_contributors:
   - 'lestrrat <lestrrat+git...@gmail.com>'
   - 'Vyacheslav Matyukhin <m...@berekuk.ru>'
@@ -58,3 +58,4 @@
   - 'Kenichi Ishigaki <ishig...@cpan.org>'
   - 'Tokuhiro Matsuno <tokuhi...@gmail.com>'
   - 'Chad Granum <chad.gra...@dreamhost.com>'
+  - 'Chad Granum <exodi...@gmail.com>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-SharedFork-0.29/Makefile.PL 
new/Test-SharedFork-0.31/Makefile.PL
--- old/Test-SharedFork-0.29/Makefile.PL        2014-09-20 06:21:56.000000000 
+0200
+++ new/Test-SharedFork-0.31/Makefile.PL        2015-04-28 22:26:13.000000000 
+0200
@@ -9,37 +9,61 @@
 use ExtUtils::MakeMaker;
 
 
-use File::Copy;
-
-print "cp META.json MYMETA.json\n";
-copy("META.json","MYMETA.json") or die "Copy failed(META.json): $!";
+my %WriteMakefileArgs = (
+    NAME     => 'Test::SharedFork',
+    DISTNAME => 'Test-SharedFork',
+    VERSION  => '0.31',
+    CONFIGURE_REQUIRES => {
+  "ExtUtils::MakeMaker" => 0
+}
+,
+    BUILD_REQUIRES     => {}
+,
+    TEST_REQUIRES      => {
+  "App::Prove" => 0,
+  "Test::Builder::Tester" => 0,
+  "Test::Requires" => 0,
+  "Time::HiRes" => 0
+}
+,
+    PREREQ_PM          => {
+  "File::Temp" => 0,
+  "Test::Builder" => "0.32",
+  "Test::Builder::Module" => 0,
+  "Test::More" => "0.88",
+  "perl" => "5.008_001"
+}
+,
+);
 
-if (-f 'META.yml') {
-    print "cp META.yml MYMETA.yml\n";
-    copy("META.yml","MYMETA.yml") or die "Copy failed(META.yml): $!";
-} else {
-    print "There is no META.yml... You may install this module from the 
repository...\n";
+my $full_prereqs = {
+  "App::Prove" => 0,
+  "ExtUtils::MakeMaker" => 0,
+  "File::Temp" => 0,
+  "Test::Builder" => "0.32",
+  "Test::Builder::Module" => 0,
+  "Test::Builder::Tester" => 0,
+  "Test::More" => "0.88",
+  "Test::Requires" => 0,
+  "Time::HiRes" => 0,
+  "perl" => "5.008_001"
 }
+;
 
-my %args;
-if ($ExtUtils::MakeMaker::VERSION >= 6.64) {
-    # *_REQUIRES was supported.
+unless (eval { ExtUtils::MakeMaker->VERSION(6.63_03) }) {
+    delete $WriteMakefileArgs{TEST_REQUIRES};
+    delete $WriteMakefileArgs{BUILD_REQUIRES};
+    $WriteMakefileArgs{PREREQ_PM} = $full_prereqs;
+}
 
-    $args{CONFIGURE_REQUIRES} = {"ExtUtils::MakeMaker" => "6.64"};
-    $args{BUILD_REQUIRES}     = {};
-    $args{TEST_REQUIRES}      = {"App::Prove" => 0,"Test::Builder::Tester" => 
0,"Test::Requires" => 0,"Time::HiRes" => 0};
-    $args{PREREQ_PM}          = {"File::Temp" => 0,"Test::Builder" => 
"0.32","Test::Builder::Module" => 0,"Test::More" => "0.88","perl" => 
"5.008_001"};
-} else {
-    $args{PREREQ_PM}          = {"App::Prove" => 0,"ExtUtils::MakeMaker" => 
"6.64","File::Temp" => 0,"Test::Builder" => "0.32","Test::Builder::Module" => 
0,"Test::Builder::Tester" => 0,"Test::More" => "0.88","Test::Requires" => 
0,"Time::HiRes" => 0,"perl" => "5.008_001"};
+unless (eval { ExtUtils::MakeMaker->VERSION(6.52) }) {
+    delete $WriteMakefileArgs{CONFIGURE_REQUIRES};
 }
 
-if ($ExtUtils::MakeMaker::VERSION >= 6.57_01) {
-    $args{NO_MYMETA} = 1;
+unless (eval { ExtUtils::MakeMaker->VERSION(6.57_01) }) {
+    use File::Copy;
+    copy('META.yml', 'MYMETA.yml')   or warn "META.yml: $!";
+    copy('META.json', 'MYMETA.json') or warn "META.json: $!";
 }
 
-WriteMakefile(
-    NAME     => 'Test::SharedFork',
-    DISTNAME => 'Test-SharedFork',
-    VERSION  => '0.29',
-    %args,
-);
+WriteMakefile(%WriteMakefileArgs);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-SharedFork-0.29/lib/Test/SharedFork.pm 
new/Test-SharedFork-0.31/lib/Test/SharedFork.pm
--- old/Test-SharedFork-0.29/lib/Test/SharedFork.pm     2014-09-20 
06:21:56.000000000 +0200
+++ new/Test-SharedFork-0.31/lib/Test/SharedFork.pm     2015-04-28 
22:26:13.000000000 +0200
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 use base 'Test::Builder::Module';
-our $VERSION = '0.29';
+our $VERSION = '0.31';
 use Test::Builder 0.32; # 0.32 or later is needed
 use Test::SharedFork::Scalar;
 use Test::SharedFork::Array;
@@ -53,9 +53,15 @@
     if ($builder->can("coordinate_forks")) {
         # Use Test::Builder's implementation.
         $builder->new->coordinate_forks(1);
-    } elsif (Test::Stream->can('use_fork')) {
-        my $stream = $builder->{stream} || Test::Stream->shared;
-        $stream->use_fork;
+    } elsif($INC{'Test/Stream.pm'}) {
+        if (Test::Stream->can('use_fork')) {
+            my $stream = $builder->{stream} || Test::Stream->shared;
+            $stream->use_fork;
+        }
+        else {
+            my $hub = $builder->{stream} || Test::Stream->shared;
+            $hub->enable_concurrency(join => undef, wait => undef);
+        }
     } else {
         if ($builder->can('trace_test')) {
             my $stream   = $builder->stream;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-SharedFork-0.29/t/12_is_passing.t 
new/Test-SharedFork-0.31/t/12_is_passing.t
--- old/Test-SharedFork-0.29/t/12_is_passing.t  2014-09-20 06:21:56.000000000 
+0200
+++ new/Test-SharedFork-0.31/t/12_is_passing.t  2015-04-28 22:26:13.000000000 
+0200
@@ -39,7 +39,6 @@
 do_in_fork(sub {
     $builder->ok(0);
 });
-
 ok !$builder->is_passing, 'Test::Builder->is_passing should be falsy after a 
failing test';
 
 do_in_fork(sub {

++++++ 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