Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Data-Clone for openSUSE:Factory
checked in at 2023-08-08 17:26:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Data-Clone (Old)
and /work/SRC/openSUSE:Factory/.perl-Data-Clone.new.22712 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Data-Clone"
Tue Aug 8 17:26:54 2023 rev:6 rq:1102960 version:0.004
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Data-Clone/perl-Data-Clone.changes
2017-10-03 23:20:07.286467913 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Data-Clone.new.22712/perl-Data-Clone.changes
2023-08-08 17:26:58.139559876 +0200
@@ -1,0 +2,5 @@
+Tue Aug 8 15:05:25 UTC 2023 - Dominique Leuenberger <[email protected]>
+
+- Add perl-Data-Clone-perl-5.38.patch: Fix build using Perl 5.38.
+
+-------------------------------------------------------------------
New:
----
perl-Data-Clone-perl-5.38.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Data-Clone.spec ++++++
--- /var/tmp/diff_new_pack.KYNLTc/_old 2023-08-08 17:26:58.855564324 +0200
+++ /var/tmp/diff_new_pack.KYNLTc/_new 2023-08-08 17:26:58.863564374 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Data-Clone
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -21,12 +21,13 @@
Release: 0
%define cpan_name Data-Clone
Summary: Polymorphic data cloning
-License: Artistic-1.0 or GPL-1.0+
+License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Data-Clone/
+URL: http://search.cpan.org/dist/Data-Clone/
Source0:
https://cpan.metacpan.org/authors/id/G/GF/GFUJI/%{cpan_name}-%{version}.tar.gz
Source1: perl-Data-Clone-rpmlintrc
Source2: cpanspec.yml
+Patch0: perl-Data-Clone-perl-5.38.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
@@ -52,6 +53,7 @@
%prep
%setup -q -n %{cpan_name}-%{version}
+%patch -p1
# MANUAL BEGIN
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse
inc::Module::Install/' Makefile.PL
# MANUAL END
++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.KYNLTc/_old 2023-08-08 17:26:58.895564573 +0200
+++ /var/tmp/diff_new_pack.KYNLTc/_new 2023-08-08 17:26:58.899564598 +0200
@@ -3,4 +3,6 @@
sed -i -e 's/use inc::Module::Install/use lib q[.];\nuse
inc::Module::Install/' Makefile.PL
sources:
- perl-Data-Clone-rpmlintrc
+Patches:
+ perl-Data-Clone-perl-5.38.patch: -p1
++++++ perl-Data-Clone-perl-5.38.patch ++++++
https://rt.cpan.org/Public/Bug/Display.html?id=148415
Use of apostrophe as package separator was deprecated in Perl 5.37.9,
and will be removed in Perl 5.42.0. You should change code that uses
Test::More::isn't() to use Test::More::isnt() as a replacement at t/07_stack.t
line 20
Subject: Data-Clone-0.004-Fix-for-perl-5.38.patch
Data-Clone-0.004-Fix-for-perl-5.38.patch
diff -up Data-Clone-0.004/t/07_stack.t.orig Data-Clone-0.004/t/07_stack.t
--- Data-Clone-0.004/t/07_stack.t.orig 2023-05-23 15:51:30.526714411 +0200
+++ Data-Clone-0.004/t/07_stack.t 2023-05-23 15:51:43.223831287 +0200
@@ -17,6 +17,6 @@ use Data::Clone;
my $before = bless [], Bar::;
my $after = clone($before);
-isn't $after, $before, 'stack reallocation during callback';
+isnt $after, $before, 'stack reallocation during callback';
done_testing;