SHA256
8
0
forked from pool/perl-Clone

WIP: Automatic update to Clone-0.48.tar.gz #1

Draft
cpanmirror wants to merge 1 commits from cpanmirror/perl-Clone:autoupdate into main
4 changed files with 41 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c2c0cb9a483efbf970cb1a75b2ca75b0e18cb84bcb5c09624f86e26b09c211d
size 139080

BIN
Clone-0.48.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,35 @@
-------------------------------------------------------------------
Tue Mar 3 06:05:41 UTC 2026 - Tina Müller <timueller+perl@suse.de>
- updated to 0.480.0 (0.48)
see /usr/share/doc/packages/perl-Clone/Changes
0.48 2026-03-02 16:02:00 atoomic
- perf: optimize hot paths in Clone.xs
- fix: replace subtest with SKIP/bare blocks to avoid Test2 warnings
- fix: don't require MGf_DUP flag for ext magic duplication
- fix: lower MAX_DEPTH to 4000 to prevent SEGV on CPAN smokers
- fix: use platform-adaptive depth in t/10-deep_recursion.t for Windows
- Fix t/10-deep_recursion.t for Windows
- Fix C89 declaration-after-statement violations in Clone.xs
- Fix deep recursion stack overflow on Windows
- Fix cloning of Math::BigInt::GMP objects (fixes #16)
- Fix cloning of threads::shared data structures (fixes #18)
- Add thread safety test for Class::DBI-like patterns (fixes #14)
- Add comprehensive documentation with examples and limitations
- Improve README.md structure and installation instructions
- Add DBI + DBD::SQLite as recommended test dependencies
- Fix weakened reference cloning via deferred weakening (fixes #15)
- Fix memory leak when cloning non-existent hash values (fixes #42)
- Fix segfault when cloning DBI database handles (fixes #27)
- Rewrite t/09-circular.t to fix SEGV on CPAN Testers (fixes #54)
- Replace static recursion_depth with stack parameter
- Fix C++ style comments in Clone.xs for C89 portability
- Fix memory leak in Clone.xs (fixes #42)
- Allow a MAX_DEPTH recursion of 32000 calls (fixes #19 aka RT97525)
- Rename tests with more readable names
- Remove TODO from cow test
-------------------------------------------------------------------
Sun Aug 18 05:29:53 UTC 2024 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Clone
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,10 +18,10 @@
%define cpan_name Clone
Name: perl-Clone
Version: 0.470.0
Version: 0.480.0
Release: 0
# 0.47 -> normalize -> 0.470.0
%define cpan_version 0.47
# 0.48 -> normalize -> 0.480.0
%define cpan_version 0.48
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Recursively copy Perl datatypes
URL: https://metacpan.org/release/%{cpan_name}
@@ -30,7 +30,7 @@ Source1: cpanspec.yml
Source100: README.md
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(B::COW) >= 0.004
BuildRequires: perl(B::COW) >= 0.4
BuildRequires: perl(Test::More) >= 0.88
Provides: perl(Clone) = %{version}
%undefine __perllib_provides
@@ -51,7 +51,7 @@ arrays or hashes, pass them in by reference, e.g.
my %copy = %{ clone (\%hash) };
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644