Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-DateTime-Calendar-Julian for 
openSUSE:Factory checked in at 2021-09-13 16:24:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DateTime-Calendar-Julian (Old)
 and      /work/SRC/openSUSE:Factory/.perl-DateTime-Calendar-Julian.new.1899 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-DateTime-Calendar-Julian"

Mon Sep 13 16:24:10 2021 rev:7 rq:917333 version:0.105

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-DateTime-Calendar-Julian/perl-DateTime-Calendar-Julian.changes
      2021-03-19 16:39:38.285829131 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-DateTime-Calendar-Julian.new.1899/perl-DateTime-Calendar-Julian.changes
    2021-09-13 16:24:14.454724580 +0200
@@ -1,0 +2,13 @@
+Mon Sep  6 03:06:05 UTC 2021 - Tina M??ller <timueller+p...@suse.de>
+
+- updated to 0.105
+   see /usr/share/doc/packages/perl-DateTime-Calendar-Julian/Changes
+
+  0.105                2021-09-05      T. R. Wyant
+      Correct generation of 'provides' metadata.  Thanks to Favio Poletti
+      for blogging
+      
https://github.polettix.it/ETOOBUSY/2021/06/15/the-real-pause-workaround/,
+      and ultimately to Joel Berger for the pointer to
+      https://metacpan.org/pod/CPAN::Meta::Spec#no_index
+
+-------------------------------------------------------------------

Old:
----
  DateTime-Calendar-Julian-0.104.tar.gz

New:
----
  DateTime-Calendar-Julian-0.105.tar.gz

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

Other differences:
------------------
++++++ perl-DateTime-Calendar-Julian.spec ++++++
--- /var/tmp/diff_new_pack.naUYed/_old  2021-09-13 16:24:15.162725398 +0200
+++ /var/tmp/diff_new_pack.naUYed/_new  2021-09-13 16:24:15.166725403 +0200
@@ -18,7 +18,7 @@
 
 %define cpan_name DateTime-Calendar-Julian
 Name:           perl-DateTime-Calendar-Julian
-Version:        0.104
+Version:        0.105
 Release:        0
 Summary:        Dates in the Julian calendar
 License:        Artistic-1.0 OR GPL-1.0-or-later

++++++ DateTime-Calendar-Julian-0.104.tar.gz -> 
DateTime-Calendar-Julian-0.105.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-Calendar-Julian-0.104/Changes 
new/DateTime-Calendar-Julian-0.105/Changes
--- old/DateTime-Calendar-Julian-0.104/Changes  2021-03-15 13:53:02.000000000 
+0100
+++ new/DateTime-Calendar-Julian-0.105/Changes  2021-09-05 16:48:02.000000000 
+0200
@@ -1,3 +1,10 @@
+0.105          2021-09-05      T. R. Wyant
+    Correct generation of 'provides' metadata.  Thanks to Favio Poletti
+    for blogging
+    https://github.polettix.it/ETOOBUSY/2021/06/15/the-real-pause-workaround/,
+    and ultimately to Joel Berger for the pointer to
+    https://metacpan.org/pod/CPAN::Meta::Spec#no_index
+
 0.104          2021-03-15      T. R. Wyant
     Add rt.cpan.org back to bug reporting methods. Long live RT!
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-Calendar-Julian-0.104/META.json 
new/DateTime-Calendar-Julian-0.105/META.json
--- old/DateTime-Calendar-Julian-0.104/META.json        2021-03-15 
13:53:23.000000000 +0100
+++ new/DateTime-Calendar-Julian-0.105/META.json        2021-09-05 
16:48:17.000000000 +0200
@@ -5,7 +5,7 @@
       "Thomas R. Wyant, III <wyant at cpan dot org>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.60, CPAN::Meta::Converter 
version 2.150010",
+   "generated_by" : "ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "perl_5"
    ],
@@ -45,7 +45,7 @@
    "provides" : {
       "DateTime::Calendar::Julian" : {
          "file" : "lib/DateTime/Calendar/Julian.pm",
-         "version" : "0.104"
+         "version" : "0.105"
       }
    },
    "release_status" : "stable",
@@ -63,6 +63,6 @@
          "web" : "https://github.com/trwyant/perl-Date-Tolkien-Shire";
       }
    },
-   "version" : "0.104",
+   "version" : "0.105",
    "x_serialization_backend" : "JSON::PP version 4.06"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-Calendar-Julian-0.104/META.yml 
new/DateTime-Calendar-Julian-0.105/META.yml
--- old/DateTime-Calendar-Julian-0.104/META.yml 2021-03-15 13:53:23.000000000 
+0100
+++ new/DateTime-Calendar-Julian-0.105/META.yml 2021-09-05 16:48:17.000000000 
+0200
@@ -8,7 +8,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.60, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 
2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -22,7 +22,7 @@
 provides:
   DateTime::Calendar::Julian:
     file: lib/DateTime/Calendar/Julian.pm
-    version: '0.104'
+    version: '0.105'
 requires:
   DateTime: '0.08'
   perl: '5.006002'
@@ -33,5 +33,5 @@
   bugtracker: 
https://rt.cpan.org/Public/Dist/Display.html?Name=DateTime-Calendar-Julian
   license: http://dev.perl.org/licenses/
   repository: git://github.com/trwyant/perl-Date-Tolkien-Shire.git
-version: '0.104'
+version: '0.105'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-Calendar-Julian-0.104/Makefile.PL 
new/DateTime-Calendar-Julian-0.105/Makefile.PL
--- old/DateTime-Calendar-Julian-0.104/Makefile.PL      2021-03-08 
22:20:18.000000000 +0100
+++ new/DateTime-Calendar-Julian-0.105/Makefile.PL      2021-07-10 
16:35:52.000000000 +0200
@@ -33,9 +33,8 @@
 
 if ( $mmv >= 6.4501 ) {
     $args{META_ADD} = {
-       no_index => {
-           directory => [ qw{ inc t xt } ],
-       },
+       no_index        => no_index(),
+       provides(),
     };
     $args{META_MERGE} = {
        'meta-spec'     => {
@@ -113,14 +112,58 @@
 EOD
 }
 
+sub no_index {
+    return +{
+       directory       => [ qw{ inc t xt } ],
+    };
+}
+
 sub provides {
-    -d 'lib'
-       or return;
+    my $provides;
     local $@ = undef;
-    my $provides = eval {
+
+    eval {
+       require CPAN::Meta;
+       require ExtUtils::Manifest;
        require Module::Metadata;
-       Module::Metadata->provides( version => 2, dir => 'lib' );
+
+       my $manifest;
+       {
+           local $SIG{__WARN__} = sub {};
+           $manifest = ExtUtils::Manifest::maniread();
+       }
+       keys %{ $manifest || {} }
+           or return;
+
+       # Skeleton so we can use should_index_file() and
+       # should_index_package().
+       my $meta = CPAN::Meta->new( {
+               name    => 'Euler',
+               version => 2.71828,
+               no_index        => no_index(),
+           },
+       );
+
+       # The Module::Metadata docs say not to use
+       # package_versions_from_directory() directly, but the 'files =>'
+       # version of provides() is broken, and has been known to be so
+       # since 2014, so it's not getting fixed any time soon. So:
+
+       foreach my $fn ( sort keys %{ $manifest } ) {
+           $fn =~ m/ [.] pm \z /smx
+               or next;
+           my $pvd = Module::Metadata->package_versions_from_directory(
+               undef, [ $fn ] );
+           foreach my $pkg ( keys %{ $pvd } ) {
+               $meta->should_index_package( $pkg )
+                   and $meta->should_index_file( $pvd->{$pkg}{file} )
+                   and $provides->{$pkg} = $pvd->{$pkg};
+           }
+       }
+
+       1;
     } or return;
+
     return ( provides => $provides );
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/DateTime-Calendar-Julian-0.104/lib/DateTime/Calendar/Julian.pm 
new/DateTime-Calendar-Julian-0.105/lib/DateTime/Calendar/Julian.pm
--- old/DateTime-Calendar-Julian-0.104/lib/DateTime/Calendar/Julian.pm  
2021-03-15 13:53:02.000000000 +0100
+++ new/DateTime-Calendar-Julian-0.105/lib/DateTime/Calendar/Julian.pm  
2021-09-05 16:48:02.000000000 +0200
@@ -5,7 +5,7 @@
 
 use vars qw($VERSION @ISA);
 
-$VERSION = '0.104';
+$VERSION = '0.105';
 
 use DateTime 0.08;
 @ISA = 'DateTime';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-Calendar-Julian-0.104/xt/author/prereq.t 
new/DateTime-Calendar-Julian-0.105/xt/author/prereq.t
--- old/DateTime-Calendar-Julian-0.104/xt/author/prereq.t       2021-02-25 
23:35:49.000000000 +0100
+++ new/DateTime-Calendar-Julian-0.105/xt/author/prereq.t       2021-07-09 
16:59:05.000000000 +0200
@@ -11,7 +11,7 @@
 } or plan skip_all => 'Test::Prereq::Meta not available';
 
 my $tpm = Test::Prereq::Meta->new(
-    accept     => [ qw{ Module::Metadata } ],
+    accept     => [ qw{ CPAN::Meta ExtUtils::Manifest Module::Metadata } ],
 );
 
 $tpm->all_prereq_ok();

Reply via email to