Hello community,

here is the log from the commit of package perl-B-COW for openSUSE:Leap:15.2 
checked in at 2020-05-03 14:29:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/perl-B-COW (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.perl-B-COW.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-B-COW"

Sun May  3 14:29:16 2020 rev:3 rq:799680 version:0.004

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/perl-B-COW/perl-B-COW.changes  2020-04-28 
20:11:04.440523893 +0200
+++ /work/SRC/openSUSE:Leap:15.2/.perl-B-COW.new.2738/perl-B-COW.changes        
2020-05-03 14:30:19.252639322 +0200
@@ -1,0 +2,10 @@
+Fri Apr 24 03:07:30 UTC 2020 -  <[email protected]>
+
+- updated to 0.004
+   see /usr/share/doc/packages/perl-B-COW/Changes
+
+  0.004     2020-04-23 14:41:21-06:00 America/Denver
+  
+  fix CowREFCNT issues on big endian
+
+-------------------------------------------------------------------

Old:
----
  B-COW-0.003.tar.gz

New:
----
  B-COW-0.004.tar.gz

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

Other differences:
------------------
++++++ perl-B-COW.spec ++++++
--- /var/tmp/diff_new_pack.uOBDsp/_old  2020-05-03 14:30:19.676640226 +0200
+++ /var/tmp/diff_new_pack.uOBDsp/_new  2020-05-03 14:30:19.676640226 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-B-COW
-Version:        0.003
+Version:        0.004
 Release:        0
 %define cpan_name B-COW
 Summary:        B::COW additional B helpers to check COW status

++++++ B-COW-0.003.tar.gz -> B-COW-0.004.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/B-COW-0.003/COW.xs new/B-COW-0.004/COW.xs
--- old/B-COW-0.003/COW.xs      2020-04-20 17:59:35.000000000 +0200
+++ new/B-COW-0.004/COW.xs      2020-04-23 22:41:23.000000000 +0200
@@ -21,6 +21,9 @@
 #   define B_CAN_COW 0
 #endif
 
+/* CowREFCNT is incorrect on Perl < 5.32 */
+#define myCowREFCNT(sv)   ((SvLEN(sv)>0) ? CowREFCNT(sv) : 0)
+
 MODULE = B__COW       PACKAGE = B::COW
 
 SV*
@@ -60,7 +63,7 @@
 #if !B_CAN_COW
     XSRETURN_UNDEF;
 #else
-    if ( SvIsCOW(sv) ) XSRETURN_IV( CowREFCNT(sv) );
+    if ( SvIsCOW(sv) ) XSRETURN_IV( myCowREFCNT(sv) );
 #endif
     XSRETURN_UNDEF;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/B-COW-0.003/Changes new/B-COW-0.004/Changes
--- old/B-COW-0.003/Changes     2020-04-20 17:59:35.000000000 +0200
+++ new/B-COW-0.004/Changes     2020-04-23 22:41:23.000000000 +0200
@@ -1,5 +1,9 @@
 Revision history for B-COW
 
+0.004     2020-04-23 14:41:21-06:00 America/Denver
+
+fix CowREFCNT issues on big endian
+
 0.003     2020-04-20 09:59:34-06:00 America/Denver
 
 support for Perl compiled without COW
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/B-COW-0.003/META.json new/B-COW-0.004/META.json
--- old/B-COW-0.003/META.json   2020-04-20 17:59:35.000000000 +0200
+++ new/B-COW-0.004/META.json   2020-04-23 22:41:23.000000000 +0200
@@ -52,7 +52,7 @@
    "provides" : {
       "B::COW" : {
          "file" : "lib/B/COW.pm",
-         "version" : "0.003"
+         "version" : "0.004"
       }
    },
    "release_status" : "stable",
@@ -66,7 +66,7 @@
          "web" : "https://github.com/atoomic/B-COW.git";
       }
    },
-   "version" : "0.003",
+   "version" : "0.004",
    "x_Dist_Zilla" : {
       "perl" : {
          "version" : "5.030001"
@@ -293,7 +293,7 @@
                   "remotes_must_exist" : 1
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.24.1 (Apple Git-126)",
+                  "git_version" : "2.24.2 (Apple Git-127)",
                   "repo_root" : "."
                }
             },
@@ -342,7 +342,7 @@
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.24.1 (Apple Git-126)",
+                  "git_version" : "2.24.2 (Apple Git-127)",
                   "repo_root" : "."
                }
             },
@@ -370,7 +370,7 @@
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.24.1 (Apple Git-126)",
+                  "git_version" : "2.24.2 (Apple Git-127)",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
@@ -387,12 +387,12 @@
                   "branch" : null,
                   "changelog" : "Changes",
                   "signed" : 0,
-                  "tag" : "v0.003",
+                  "tag" : "v0.004",
                   "tag_format" : "v%V",
                   "tag_message" : "v%V"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.24.1 (Apple Git-126)",
+                  "git_version" : "2.24.2 (Apple Git-127)",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
@@ -413,7 +413,7 @@
                   "remotes_must_exist" : 1
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.24.1 (Apple Git-126)",
+                  "git_version" : "2.24.2 (Apple Git-127)",
                   "repo_root" : "."
                }
             },
@@ -457,7 +457,7 @@
                   "version_regexp" : "(?^:^v(.+)$)"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.24.1 (Apple Git-126)",
+                  "git_version" : "2.24.2 (Apple Git-127)",
                   "repo_root" : "."
                }
             },
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/B-COW-0.003/META.yml new/B-COW-0.004/META.yml
--- old/B-COW-0.003/META.yml    2020-04-20 17:59:35.000000000 +0200
+++ new/B-COW-0.004/META.yml    2020-04-23 22:41:23.000000000 +0200
@@ -19,13 +19,13 @@
 provides:
   B::COW:
     file: lib/B/COW.pm
-    version: '0.003'
+    version: '0.004'
 requires:
   perl: '5.008'
 resources:
   bugtracker: https://github.com/atoomic/B-COW/issues
   repository: https://github.com/atoomic/B-COW.git
-version: '0.003'
+version: '0.004'
 x_Dist_Zilla:
   perl:
     version: '5.030001'
@@ -201,7 +201,7 @@
             - 'gh HEAD:refs/heads/released'
           remotes_must_exist: 1
         Dist::Zilla::Role::Git::Repo:
-          git_version: '2.24.1 (Apple Git-126)'
+          git_version: '2.24.2 (Apple Git-127)'
           repo_root: .
       name: Git::Push
       version: '2.046'
@@ -237,7 +237,7 @@
           allow_dirty_match: []
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: '2.24.1 (Apple Git-126)'
+          git_version: '2.24.2 (Apple Git-127)'
           repo_root: .
       name: '@Git/Check'
       version: '2.046'
@@ -258,7 +258,7 @@
           allow_dirty_match: []
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: '2.24.1 (Apple Git-126)'
+          git_version: '2.24.2 (Apple Git-127)'
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
@@ -271,11 +271,11 @@
           branch: ~
           changelog: Changes
           signed: 0
-          tag: v0.003
+          tag: v0.004
           tag_format: v%V
           tag_message: v%V
         Dist::Zilla::Role::Git::Repo:
-          git_version: '2.24.1 (Apple Git-126)'
+          git_version: '2.24.2 (Apple Git-127)'
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
@@ -290,7 +290,7 @@
             - 'gh HEAD:refs/heads/released'
           remotes_must_exist: 1
         Dist::Zilla::Role::Git::Repo:
-          git_version: '2.24.1 (Apple Git-126)'
+          git_version: '2.24.2 (Apple Git-127)'
           repo_root: .
       name: '@Git/Push'
       version: '2.046'
@@ -323,7 +323,7 @@
           version_by_branch: 0
           version_regexp: (?^:^v(.+)$)
         Dist::Zilla::Role::Git::Repo:
-          git_version: '2.24.1 (Apple Git-126)'
+          git_version: '2.24.2 (Apple Git-127)'
           repo_root: .
       name: Git::NextVersion
       version: '2.046'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/B-COW-0.003/Makefile.PL new/B-COW-0.004/Makefile.PL
--- old/B-COW-0.003/Makefile.PL 2020-04-20 17:59:35.000000000 +0200
+++ new/B-COW-0.004/Makefile.PL 2020-04-23 22:41:23.000000000 +0200
@@ -23,7 +23,7 @@
     "File::Spec" => 0,
     "Test::More" => 0
   },
-  "VERSION" => "0.003",
+  "VERSION" => "0.004",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/B-COW-0.003/README new/B-COW-0.004/README
--- old/B-COW-0.003/README      2020-04-20 17:59:35.000000000 +0200
+++ new/B-COW-0.004/README      2020-04-23 22:41:23.000000000 +0200
@@ -1,5 +1,5 @@
 This archive contains the distribution B-COW,
-version 0.003:
+version 0.004:
 
   B::COW additional B helpers to check COW status
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/B-COW-0.003/lib/B/COW.pm new/B-COW-0.004/lib/B/COW.pm
--- old/B-COW-0.003/lib/B/COW.pm        2020-04-20 17:59:35.000000000 +0200
+++ new/B-COW-0.004/lib/B/COW.pm        2020-04-23 22:41:23.000000000 +0200
@@ -7,7 +7,7 @@
 
 use base 'Exporter';
 
-our $VERSION = '0.003'; # VERSION: generated by DZP::OurPkgVersion
+our $VERSION = '0.004'; # VERSION: generated by DZP::OurPkgVersion
 
 use XSLoader;
 
@@ -38,7 +38,7 @@
 
 =head1 VERSION
 
-version 0.003
+version 0.004
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/B-COW-0.003/t/01-basic.t new/B-COW-0.004/t/01-basic.t
--- old/B-COW-0.003/t/01-basic.t        2020-04-20 17:59:35.000000000 +0200
+++ new/B-COW-0.004/t/01-basic.t        2020-04-23 22:41:23.000000000 +0200
@@ -52,11 +52,10 @@
     }
 
     {
-        my %h = ( 'a'..'d' );
-        foreach my $k ( sort keys %h ) {
-            ok is_cow( $k ), "key $k is cowed";
-            is cowrefcnt( $k ), 0, "hash key $k cowrefcnt is 0" or Dump($k);
-        }
+        my %h = ( 'my_hash_key' => 'value' );
+        my @keys = keys %h;
+        ok is_cow( $keys[0] ), "hash key is cowed";
+        is cowrefcnt( $keys[0] ), 0, "hash key cowrefcnt is 0" or die 
Dump($keys[0]);
     }
 
 } else {


Reply via email to