Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Moo for openSUSE:Factory 
checked in at 2021-04-12 12:36:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Moo (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Moo.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Moo"

Mon Apr 12 12:36:43 2021 rev:27 rq:884101 version:2.005004

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Moo/perl-Moo.changes        2021-03-24 
16:12:55.991937808 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Moo.new.2401/perl-Moo.changes      
2021-04-12 12:39:37.105526480 +0200
@@ -1,0 +2,9 @@
+Tue Mar 30 03:07:17 UTC 2021 - Tina M??ller <[email protected]>
+
+- updated to 2.005004
+   see /usr/share/doc/packages/perl-Moo/Changes
+
+  2.005004 - 2021-03-29
+    - fix file set in %INC in create_class_with_roles (RT#134845)
+
+-------------------------------------------------------------------

Old:
----
  Moo-2.005003.tar.gz

New:
----
  Moo-2.005004.tar.gz

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

Other differences:
------------------
++++++ perl-Moo.spec ++++++
--- /var/tmp/diff_new_pack.5u6kp9/_old  2021-04-12 12:39:37.661527126 +0200
+++ /var/tmp/diff_new_pack.5u6kp9/_new  2021-04-12 12:39:37.665527131 +0200
@@ -18,7 +18,7 @@
 
 %define cpan_name Moo
 Name:           perl-Moo
-Version:        2.005003
+Version:        2.005004
 Release:        0
 Summary:        Minimalist Object Orientation (with Moose compatibility)
 License:        Artistic-1.0 OR GPL-1.0-or-later

++++++ Moo-2.005003.tar.gz -> Moo-2.005004.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Moo-2.005003/Changes new/Moo-2.005004/Changes
--- old/Moo-2.005003/Changes    2021-03-21 20:10:11.000000000 +0100
+++ new/Moo-2.005004/Changes    2021-03-29 08:40:30.000000000 +0200
@@ -1,5 +1,8 @@
 Revision history for Moo
 
+2.005004 - 2021-03-29
+  - fix file set in %INC in create_class_with_roles (RT#134845)
+
 2.005003 - 2021-03-21
   - silence 'once' warnings from Moo::_Utils
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Moo-2.005003/META.json new/Moo-2.005004/META.json
--- old/Moo-2.005003/META.json  2021-03-21 20:11:13.000000000 +0100
+++ new/Moo-2.005004/META.json  2021-03-29 08:41:55.000000000 +0200
@@ -81,7 +81,7 @@
       },
       "x_IRC" : "irc://irc.perl.org/#moose"
    },
-   "version" : "2.005003",
+   "version" : "2.005004",
    "x_authority" : "cpan:MSTROUT",
    "x_breaks" : {
       "App::Commando" : "<= 0.012",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Moo-2.005003/META.yml new/Moo-2.005004/META.yml
--- old/Moo-2.005003/META.yml   2021-03-21 20:11:12.000000000 +0100
+++ new/Moo-2.005004/META.yml   2021-03-29 08:41:53.000000000 +0200
@@ -35,7 +35,7 @@
   bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Moo
   license: https://dev.perl.org/licenses/
   repository: https://github.com/moose/Moo.git
-version: '2.005003'
+version: '2.005004'
 x_authority: cpan:MSTROUT
 x_breaks:
   App::Commando: '<= 0.012'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Moo-2.005003/lib/Moo/Role.pm 
new/Moo-2.005004/lib/Moo/Role.pm
--- old/Moo-2.005003/lib/Moo/Role.pm    2021-03-21 20:03:56.000000000 +0100
+++ new/Moo-2.005004/lib/Moo/Role.pm    2021-03-29 08:40:25.000000000 +0200
@@ -27,7 +27,7 @@
   );
 }
 
-our $VERSION = '2.005003';
+our $VERSION = '2.005004';
 $VERSION =~ tr/_//d;
 
 require Moo::sification;
@@ -303,7 +303,16 @@
   if ($INC{'Moo/HandleMoose.pm'} && !$Moo::sification::disabled) {
     Moo::HandleMoose::inject_fake_metaclass_for($new_name);
   }
-  _set_loaded($new_name, (caller)[1]);
+
+  my $lvl = 0;
+  my $file;
+  while ((my $pack, $file) = caller($lvl++)) {
+    if ($pack ne __PACKAGE__ && $pack ne 'Role::Tiny' && !$pack->isa($me)) {
+      last;
+    }
+  }
+  _set_loaded($new_name, $file || (caller)[1]);
+
   return $new_name;
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Moo-2.005003/lib/Moo.pm new/Moo-2.005004/lib/Moo.pm
--- old/Moo-2.005003/lib/Moo.pm 2021-03-21 20:03:56.000000000 +0100
+++ new/Moo-2.005004/lib/Moo.pm 2021-03-29 08:40:25.000000000 +0200
@@ -26,7 +26,7 @@
   );
 }
 
-our $VERSION = '2.005003';
+our $VERSION = '2.005004';
 $VERSION =~ tr/_//d;
 
 require Moo::sification;

Reply via email to