Hello community,

here is the log from the commit of package perl-Clone for openSUSE:Factory 
checked in at 2020-04-25 20:15:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Clone (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Clone.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Clone"

Sat Apr 25 20:15:30 2020 rev:30 rq:796286 version:0.44

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Clone/perl-Clone.changes    2019-11-23 
23:10:43.438732381 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Clone.new.2738/perl-Clone.changes  
2020-04-25 20:17:35.904695040 +0200
@@ -1,0 +2,6 @@
+Tue Apr 21 03:08:45 UTC 2020 -  <[email protected]>
+
+- updated to 0.44
+   see /usr/share/doc/packages/perl-Clone/Changes
+
+-------------------------------------------------------------------

Old:
----
  Clone-0.43.tar.gz

New:
----
  Clone-0.44.tar.gz

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

Other differences:
------------------
++++++ perl-Clone.spec ++++++
--- /var/tmp/diff_new_pack.6ziQWT/_old  2020-04-25 20:17:38.056699477 +0200
+++ /var/tmp/diff_new_pack.6ziQWT/_new  2020-04-25 20:17:38.060699485 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Clone
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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,7 +17,7 @@
 
 
 Name:           perl-Clone
-Version:        0.43
+Version:        0.44
 Release:        0
 %define cpan_name Clone
 Summary:        Recursively copy Perl datatypes
@@ -29,7 +29,7 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(B::COW)
+BuildRequires:  perl(B::COW) >= 0.003
 %{perl_requires}
 
 %description
@@ -48,7 +48,7 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
-find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
+find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path 
"*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"

++++++ Clone-0.43.tar.gz -> Clone-0.44.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Clone-0.43/Changes new/Clone-0.44/Changes
--- old/Clone-0.43/Changes      2019-07-29 21:48:05.000000000 +0200
+++ new/Clone-0.44/Changes      2020-04-20 19:32:34.030379252 +0200
@@ -1,6 +1,10 @@
 Revision history for Perl module Clone
 
-0.43 2019-07-29 13:47:42  atomic
+0.44 2020-04-20 11:30:00 atoomic
+  - support Perls with COW disabled (plicease)
+  - bump B::COW requirement for testing
+
+0.43 2019-07-29 13:47:42  atoomic
   - fix an issue when cloning a NULL mg_ptr pointer
 
 0.42 2019-07-19 23:06:04  garu
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Clone-0.43/Clone.pm new/Clone-0.44/Clone.pm
--- old/Clone-0.43/Clone.pm     2019-07-29 21:48:29.000000000 +0200
+++ new/Clone-0.44/Clone.pm     2020-04-20 19:32:57.000000000 +0200
@@ -11,7 +11,7 @@
 @EXPORT    = qw();
 @EXPORT_OK = qw( clone );
 
-$VERSION = '0.43';
+$VERSION = '0.44';
 
 bootstrap Clone $VERSION;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Clone-0.43/Clone.xs new/Clone-0.44/Clone.xs
--- old/Clone-0.43/Clone.xs     2019-07-29 21:46:41.000000000 +0200
+++ new/Clone-0.44/Clone.xs     2020-04-20 18:42:58.000000000 +0200
@@ -174,7 +174,7 @@
 * Note: when using a Debug Perl with READONLY_COW
 * we cannot do 'sv_buf_to_rw + sv_buf_to_ro' as these APIs calls are not 
exported
 */
-#if PERL_VERSION >= 20 && !defined(PERL_DEBUG_READONLY_COW)
+#if defined(SV_COW_REFCNT_MAX) && !defined(PERL_DEBUG_READONLY_COW)
         /* only for simple PVs unblessed */
         if ( SvIsCOW(ref) && !SvOOK(ref) && SvLEN(ref) > 0 ) {
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Clone-0.43/META.json new/Clone-0.44/META.json
--- old/Clone-0.43/META.json    2019-07-29 21:49:45.000000000 +0200
+++ new/Clone-0.44/META.json    2020-04-20 19:44:59.000000000 +0200
@@ -4,13 +4,13 @@
       "Ray Finch <[email protected]>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter 
version 2.150010",
+   "generated_by" : "ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "perl_5"
    ],
    "meta-spec" : {
       "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
-      "version" : "2"
+      "version" : 2
    },
    "name" : "Clone",
    "no_index" : {
@@ -32,7 +32,7 @@
       },
       "test" : {
          "requires" : {
-            "B::COW" : "0",
+            "B::COW" : "0.003",
             "Test::More" : "0"
          }
       }
@@ -49,6 +49,6 @@
          "url" : "http://github.com/garu/Clone";
       }
    },
-   "version" : "0.43",
-   "x_serialization_backend" : "JSON::PP version 2.27400_02"
+   "version" : "0.44",
+   "x_serialization_backend" : "JSON::PP version 4.04"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Clone-0.43/META.yml new/Clone-0.44/META.yml
--- old/Clone-0.43/META.yml     2019-07-29 21:49:45.000000000 +0200
+++ new/Clone-0.44/META.yml     2020-04-20 19:44:59.000000000 +0200
@@ -3,13 +3,13 @@
 author:
   - 'Ray Finch <[email protected]>'
 build_requires:
-  B::COW: '0'
+  B::COW: '0.003'
   ExtUtils::MakeMaker: '0'
   Test::More: '0'
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 
2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -23,5 +23,5 @@
   bugtracker: https://github.com/garu/Clone/issues
   license: http://dev.perl.org/licenses/
   repository: http://github.com/garu/Clone
-version: '0.43'
+version: '0.44'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Clone-0.43/Makefile.PL new/Clone-0.44/Makefile.PL
--- old/Clone-0.43/Makefile.PL  2018-10-30 16:41:30.000000000 +0100
+++ new/Clone-0.44/Makefile.PL  2020-04-20 18:43:46.000000000 +0200
@@ -9,7 +9,7 @@
     'PL_FILES'      => {},
     'TEST_REQUIRES' => {
       'Test::More' => 0,
-      'B::COW'     => 0,
+      'B::COW'     => '0.003',
     },
     'LIBS'          => [''],     # e.g., '-lm'
     'DEFINE'        => '',       # e.g., '-DHAVE_SOMETHING'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Clone-0.43/t/03scalar.t new/Clone-0.44/t/03scalar.t
--- old/Clone-0.43/t/03scalar.t 2019-07-29 21:28:06.000000000 +0200
+++ new/Clone-0.44/t/03scalar.t 2020-04-20 19:01:54.318749494 +0200
@@ -8,13 +8,14 @@
 # (It may become useful if the test is moved to ./t subdirectory.)
 
 use B q{svref_2object};
+use B::COW;
 
 my $has_data_dumper;
 
 BEGIN {
   $| = 1;
   my $tests = 12;
-  $tests += 2 if $] > 5.0219;
+  $tests += 2 if B::COW::can_cow();
   eval q[use Data::Dumper];
   if (!$@) {
     $has_data_dumper = 1;
@@ -100,7 +101,7 @@
   ok( $c != $d, 'SV are differents SVs' );
 
 
-  if ( $] > 5.0219 ) {
+  if ( B::COW::can_cow() ) {
     my $sv_c = svref_2object( $c );
     my $sv_d = svref_2object( $d );
 


Reply via email to