public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Object-Remote] epel10: Adapt to changes in Moo-2.003006
@ 2026-08-03 13:33
0 siblings, 0 replies; only message in thread
From: @ 2026-08-03 13:33 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/perl-Object-Remote
Branch : epel10
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
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-03 13:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-03 13:33 [rpms/perl-Object-Remote] epel10: Adapt to changes in Moo-2.003006
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox