public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Object-Remote] epel10.2: Adapt to changes in Moo-2.003006
Date: Mon, 03 Aug 2026 13:37:13 GMT	[thread overview]
Message-ID: <178576423373.1.12545589860701919761.rpms-perl-Object-Remote-25c5a7f53e6e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-Object-Remote
Branch : epel10.2
Commit : 25c5a7f53e6e6f1fe161278502eb4a33a5322e2f
Author : Petr Písař <ppisar@redhat.com>
Date   : 2019-11-26T10:59:53+01:00
Stats  : +53/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Object-Remote/c/25c5a7f53e6e6f1fe161278502eb4a33a5322e2f?branch=epel10.2

Log:
Adapt to changes in Moo-2.003006

---
diff --git a/Object-Remote-0.004000-Adapt-to-Moo-2.003006-that-does-not-load-Devel-Globa.patch b/Object-Remote-0.004000-Adapt-to-Moo-2.003006-that-does-not-load-Devel-Globa.patch
new file mode 100644
index 0000000..a3498ff
--- /dev/null
+++ b/Object-Remote-0.004000-Adapt-to-Moo-2.003006-that-does-not-load-Devel-Globa.patch
@@ -0,0 +1,46 @@
+From 2a843fe62d990851cf544214ace1be8e0c51e851 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
+Date: Tue, 26 Nov 2019 10:52:50 +0100
+Subject: [PATCH] Adapt to Moo-2.003006 that does not load
+ Devel::GlobalDestruction
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Moo-2.003006 stopped loading Devel::GlobalDestruction on recent Perls.
+As a result Object-Remote tests failed because:
+
+$ perl -Ilib -e 'require Object::Remote::FatNode'
+Use of uninitialized value $_ in hash element at lib/Object/Remote/FatNode.pm line 127.
+Compilation failed in require at -e line 1.
+
+Object::Remote::FatNode expected that Devel/GlobalDestruction.pm was
+always presented in @INC and created an undefined entry in
+@non_core_non_arch since Moo-2.003006.
+
+This patch fixes it.
+
+CPAN RT#130885
+
+Signed-off-by: Petr Písař <ppisar@redhat.com>
+---
+ lib/Object/Remote/FatNode.pm | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/lib/Object/Remote/FatNode.pm b/lib/Object/Remote/FatNode.pm
+index 8b143b8..d0cf133 100644
+--- a/lib/Object/Remote/FatNode.pm
++++ b/lib/Object/Remote/FatNode.pm
+@@ -63,7 +63,8 @@ foreach(keys(%mods)) {
+   }
+ }
+ 
+-my @non_core_non_arch = ( $file_names{'Devel/GlobalDestruction.pm'} );
++my @non_core_non_arch = exists $file_names{'Devel/GlobalDestruction.pm'} ?
++  ($file_names{'Devel/GlobalDestruction.pm'}) : ();
+ push @non_core_non_arch, grep +(
+   not (
+     #some of the config variables can be empty which will eval as a matching regex
+-- 
+2.21.0
+

diff --git a/perl-Object-Remote.spec b/perl-Object-Remote.spec
index dde0d41..b4f4a7d 100644
--- a/perl-Object-Remote.spec
+++ b/perl-Object-Remote.spec
@@ -1,10 +1,12 @@
 Name:           perl-Object-Remote
 Version:        0.004000
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        Call methods on objects in other processes or on other hosts
 License:        GPL+ or Artistic
 URL:            https://metacpan.org/release/Object-Remote
 Source0:        https://cpan.metacpan.org/authors/id/M/MS/MSTROUT/Object-Remote-%{version}.tar.gz
+# Adapt to changes in Moo-2.003006, CPAN RT#130885
+Patch0:         Object-Remote-0.004000-Adapt-to-Moo-2.003006-that-does-not-load-Devel-Globa.patch
 BuildArch:      noarch
 BuildRequires:  make
 BuildRequires:  perl-interpreter
@@ -88,6 +90,7 @@ are other connection mechanisms available.
 
 %prep
 %setup -q -n Object-Remote-%{version}
+%patch0 -p1
 sed -i -e '1s|#!/usr/bin/env perl|#!perl|' bin/*
 
 %build
@@ -108,6 +111,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue Nov 26 2019 Petr Pisar <ppisar@redhat.com> - 0.004000-11
+- Adapt to changes in Moo-2.003006 (CPAN RT#130885)
+
 * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.004000-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
 

                 reply	other threads:[~2026-08-03 13:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178576423373.1.12545589860701919761.rpms-perl-Object-Remote-25c5a7f53e6e@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox