Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-B-Keywords for openSUSE:Factory 
checked in at 2022-03-01 17:03:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-B-Keywords (Old)
 and      /work/SRC/openSUSE:Factory/.perl-B-Keywords.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-B-Keywords"

Tue Mar  1 17:03:58 2022 rev:25 rq:958273 version:1.24

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-B-Keywords/perl-B-Keywords.changes  
2021-11-03 17:27:03.537363247 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-B-Keywords.new.1958/perl-B-Keywords.changes    
    2022-03-01 17:04:48.396353148 +0100
@@ -1,0 +2,11 @@
+Wed Feb 23 03:06:02 UTC 2022 - Tina M??ller <[email protected]>
+
+- updated to 1.24
+   see /usr/share/doc/packages/perl-B-Keywords/Changes
+
+  1.24 2022-02-21 10:47:08 rurban
+    - Fix for broken <archlibexp>/CORE/keywords.h test on system macOS
+      (PR #5, @nega0)
+    - finally added with 5.35.8 (RT #141406)
+
+-------------------------------------------------------------------

Old:
----
  B-Keywords-1.23.tar.gz

New:
----
  B-Keywords-1.24.tar.gz

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

Other differences:
------------------
++++++ perl-B-Keywords.spec ++++++
--- /var/tmp/diff_new_pack.VwLkGZ/_old  2022-03-01 17:04:48.876353276 +0100
+++ /var/tmp/diff_new_pack.VwLkGZ/_new  2022-03-01 17:04:48.880353277 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-B-Keywords
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,11 +18,11 @@
 
 %define cpan_name B-Keywords
 Name:           perl-B-Keywords
-Version:        1.23
+Version:        1.24
 Release:        0
 #Upstream:  2017-2021 Reini Urban, All rights reserved. This program is free 
software; you can redistribute it and/or modify it under the terms of either: 
a) the GNU General Public License as published by the Free Software Foundation; 
version 2, or b) the "Artistic License" which comes with Perl.
+License:        Artistic-1.0 OR GPL-2.0-only
 Summary:        Lists of reserved barewords and symbol names
-License:        GPL-2.0-only OR Artistic-1.0
 URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/R/RU/RURBAN/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml

++++++ B-Keywords-1.23.tar.gz -> B-Keywords-1.24.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/B-Keywords-1.23/Changes new/B-Keywords-1.24/Changes
--- old/B-Keywords-1.23/Changes 2021-10-30 14:33:38.000000000 +0200
+++ new/B-Keywords-1.24/Changes 2022-02-22 17:50:51.000000000 +0100
@@ -101,3 +101,7 @@
   - move some @Barewords not in keywords.h to @BarewordsExtra
   - add %main, %CORE, %CORE::GLOBAL:: to @Hashes
   - fixed versions for EQ, CORE, state, break, given, when, default, UNITCHECK
+1.24 2022-02-21 10:47:08 rurban
+  - Fix for broken <archlibexp>/CORE/keywords.h test on system macOS
+    (PR #5, @nega0)
+  - finally added with 5.35.8 (RT #141406)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/B-Keywords-1.23/META.json 
new/B-Keywords-1.24/META.json
--- old/B-Keywords-1.23/META.json       2021-10-30 14:35:19.000000000 +0200
+++ new/B-Keywords-1.24/META.json       2022-02-22 17:51:49.000000000 +0100
@@ -45,6 +45,6 @@
          "url" : "http://github.com/rurban/b-keywords";
       }
    },
-   "version" : "1.23",
+   "version" : "1.24",
    "x_serialization_backend" : "JSON::PP version 2.97001"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/B-Keywords-1.23/META.yml new/B-Keywords-1.24/META.yml
--- old/B-Keywords-1.23/META.yml        2021-10-30 14:35:19.000000000 +0200
+++ new/B-Keywords-1.24/META.yml        2022-02-22 17:51:48.000000000 +0100
@@ -22,5 +22,5 @@
 resources:
   license: http://dev.perl.org/licenses/
   repository: http://github.com/rurban/b-keywords
-version: '1.23'
+version: '1.24'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/B-Keywords-1.23/SIGNATURE 
new/B-Keywords-1.24/SIGNATURE
--- old/B-Keywords-1.23/SIGNATURE       2021-10-30 14:35:20.000000000 +0200
+++ new/B-Keywords-1.24/SIGNATURE       2022-02-22 17:51:52.000000000 +0100
@@ -14,17 +14,17 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: RIPEMD160
 
-SHA256 a253faf8e8ec9e050c4a8f16653b5cdab747d4232535f606cd4eb07839d0e9e7 Changes
+SHA256 c654ba3b18d3b8a854fddd44b1f3f31d9d23d53cac7e23d9ea56ec7ef9ab1a66 Changes
 SHA256 6724a85e9820d3b08909b518d4d3d3621cf2fb7f2876360e5b2874efbf8c2ee8 LICENSE
 SHA256 7ebf58443f98897bc4d14d25de111e89838c847102bfafd98cad2ab6de7e7177 
MANIFEST
-SHA256 820efc06e9dcec2ec0766c53d2d26fa29f242be5f69ed1ac42ce2805df153e28 
META.json
-SHA256 0ec6fd5b47c65edc649c56739f250cbf14c56cd7e203ce48e99ecc7bfc40f02a 
META.yml
+SHA256 26714e60cab353deff85402408b41b8a9093e7866c04f6efebce1d551075df4b 
META.json
+SHA256 b4e2340c5b410608a91bee69b7d11fdef2d037863512842b0f454dd6a0695990 
META.yml
 SHA256 86f4e45ac726b4ecf0a1cec637e3aed4a9a8b6dd278139cadcedd84b1ae96bf5 
Makefile.PL
 SHA256 0a73e39f5d75bdaa6b6e113318168e2e880b6a69405063df631a0aa2b0f19fcd README
-SHA256 ed85babe8e818120d5d227f38df66eb6e3b82b26408dd0a97d413076783823da 
lib/B/Keywords.pm
+SHA256 7fd12260ffb8fd02f439912c3dfe71c1b04f6969aeb029d5958f986553e5d538 
lib/B/Keywords.pm
 SHA256 e03c8fcbca5ea500346882132d9a4ae57fc8fca37bdf2a8e0576f25408760885 
t/10basic.t
-SHA256 debe88a5b47ddc0bc96356d8b0058c1c65ecd4bef1ce613839f7b1781df53d4e 
t/11keywords.t
-SHA256 eccb70c617b51d41f8fe54bf1c52e6767f849833cf3c244fb432b3ebfdc2d4bf 
t/export.t
+SHA256 286d511b3ed591a65cf64ce4bd58aae9f3d91888bb094c7e8e87a2c7cedc7c80 
t/11keywords.t
+SHA256 8ad1a0eed9a7f8b064d08d704334bd64d9759ac3d470c32380bd8f229ed47584 
t/export.t
 SHA256 6aa4dd8133ae0d11b0220796801c955746a7d891aed8bfc7056b7e0e7433929d 
t/z_kwalitee.t
 SHA256 fb00e0e0d57de606699706d2a2e486df05d840793d3bcf6e4bb13f1604f19487 
t/z_meta.t
 SHA256 956f858cc6c609d57ad5f92b6432a40c9c3d90576c397f90afa4489d12030850 
t/z_perl_minimum_version.t
@@ -32,12 +32,12 @@
 SHA256 29178b45bc6c8cfe6d031f2c054ff9af721c2fc915ff82f5362ac66cdac26718 
t/z_pod.t
 -----BEGIN PGP SIGNATURE-----
 
-iQEzBAEBAwAdFiEEKJWogdNCcPq/6PdHtPYzOeZdZBQFAmF9PAcACgkQtPYzOeZd
-ZBT74gf/YyR5lC/0KRT9n9iPlDokLcn3OKHnc03PfmtGNr47kyAyn3z9Bk+pbiLD
-FNcKBKprUX57DSUOsQOzp4YNWSoZHP03vg7kxW5f4l35o8QYrBP19LKXfpAYrW8s
-hLO1KzQeji4ZXl2LbqK3Ev08ZJ3wdhjX5hf/FFro3seoJBibbbJvzeo43YRVRxDN
-ulFO5BVHuSzGHVWpERmzffz69k4IM9q1OP+0qgjjukqa6UY1etxRsEGXK3qSNgM9
-MUcEXlAlC4OrVsORavDu3xhYWXjceyDitKapZCZgRcKVkCzKwNg1/mfE37TTfh31
-O+opDI+XZlyzT14wZ+sbb/NJebVjgA==
-=9nlv
+iQEzBAEBAwAdFiEEKJWogdNCcPq/6PdHtPYzOeZdZBQFAmIVFKcACgkQtPYzOeZd
+ZBS9awgAwWf0sDx5rIn3z50DHZHUJB3bofC+JE0rSiVZ/NcE7ZJNcCs8kbYDlcMr
+EalBSkWaAiypgTtmKpgKSdypCbFu8AzYx7UdQL8yaOqUf/o1Syj7GZpQZ2t+nTln
+hCjBos83TUCBDVGhU+3bdeYzBZ4ZQg0hpBD3Bw+rBp69DDTUy/Cocv2DtwKN8nKW
+hFsRCrewsnbYFS8U7nUs579mfWIQQXhiICxktTLXI1YwXQuz9S6ZRH1CLq+WvtP2
+n/Scp2F8+uT2bjr6N/kvPxzkJyTnVYo9PnO3FLU58XOj81kz6pKOKk8+/XXM1uTW
+zsXUeAqjWwkICd3GgYQC4HzD3yoHQQ==
+=P8io
 -----END PGP SIGNATURE-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/B-Keywords-1.23/lib/B/Keywords.pm 
new/B-Keywords-1.24/lib/B/Keywords.pm
--- old/B-Keywords-1.23/lib/B/Keywords.pm       2021-10-30 14:33:38.000000000 
+0200
+++ new/B-Keywords-1.24/lib/B/Keywords.pm       2022-02-22 17:50:51.000000000 
+0100
@@ -14,7 +14,7 @@
 %EXPORT_TAGS = ( 'all' => \@EXPORT_OK );
 
 use vars '$VERSION';
-$VERSION = '1.23';
+$VERSION = '1.24';
 my $CPERL = $^V =~ /c$/ ? 1 : 0;
 
 use vars '@Scalars';
@@ -477,6 +477,10 @@
       defer
     ) : ()
   ),
+  ($] >= 5.035008 ? qw(
+      finally
+    ) : ()
+  ),
 );
 
 # Extra barewords not in keywords.h (import was never in keywords)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/B-Keywords-1.23/t/11keywords.t 
new/B-Keywords-1.24/t/11keywords.t
--- old/B-Keywords-1.23/t/11keywords.t  2021-10-30 14:33:38.000000000 +0200
+++ new/B-Keywords-1.24/t/11keywords.t  2022-02-22 17:50:11.000000000 +0100
@@ -1,5 +1,6 @@
-#!/usr/bin/perl -w
+# -*- perl -*-
 
+use warnings;
 use strict;
 use Test::More 'no_plan';
 
@@ -25,13 +26,41 @@
     return $char;
 }
 
+sub kopen {
+    my @files = ();
+
+    # this is the default location for 'kewords.h', unless we're on macOS
+    push @files, File::Spec->catfile( $Config{archlibexp}, 'CORE', 
'keywords.h' );
+
+    # Apple has restructured it's file system, if we're on macOS and the above
+    # doesn't exist, we're probably using system perl. try an alternate 
location
+    # via Apple's tools
+    if ($^O eq "darwin" && $Config{archlibexp} =~ m!^/System/Library/Perl!) {
+       my $p = '';
+       $p = qx/xcrun --show-sdk-path/;
+       chomp $p;
+       push @files, File::Spec->catdir($p, $files[0]);
+    }
+
+    # return the first FH we can open from the list above. 99.44% of
+    # the time it's going to be the first (and correct) one
+    for my $file (@files) {
+       if (open my $fh, "<", $file) {
+           return $fh;
+       }
+    }
+
+    # if we're here something else happend or apple is up to new tricks
+    die "Can't open any of @files";
+}
+
 # Test everything in keywords.h is covered.
 {
-    my $keywords = File::Spec->catfile( $Config{archlibexp}, 'CORE', 
'keywords.h' );
-    open FH, "< $keywords\0" or die "Can't open $keywords: $!";
+    # get a filehandle to 'keywords.h'
+    my $fh = kopen();
     local $/;
-    chomp( my @keywords = <FH> =~ /^\#define \s+ KEY_(\S+) /xmsg );
-    close FH;
+    chomp( my @keywords = <$fh> =~ /^\#define \s+ KEY_(\S+) /xmsg );
+    close $fh;
     my $usedevel = $Config{usedevel};
 
     my %covered = map { $_ => 1 } @Symbols, @Barewords;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/B-Keywords-1.23/t/export.t 
new/B-Keywords-1.24/t/export.t
--- old/B-Keywords-1.23/t/export.t      2013-04-05 19:58:43.000000000 +0200
+++ new/B-Keywords-1.24/t/export.t      2022-02-22 17:50:11.000000000 +0100
@@ -1,5 +1,6 @@
-#!/usr/bin/perl -w
+# -*- perl -*-
 
+use warnings;
 use strict;
 use Test::More tests => 7;
 

Reply via email to