Sync from SUSE:SLFO:Main perl-Clone revision e61e41741914d182843ad53bcc6edb78

This commit is contained in:
Adrian Schröter 2024-05-03 17:58:01 +02:00
commit 81d3d308f1
5 changed files with 267 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
Clone-0.46.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

20
cpanspec.yml Normal file
View File

@ -0,0 +1,20 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag

154
perl-Clone.changes Normal file
View File

@ -0,0 +1,154 @@
-------------------------------------------------------------------
Thu Oct 20 03:06:12 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 0.46
see /usr/share/doc/packages/perl-Clone/Changes
0.46 2022-10-18 20:23:00 garu
- fix backwards compatibility with older perls (haarg)
- bump MANIFEST to include extra tests
-------------------------------------------------------------------
Fri Apr 24 03:08:49 UTC 2020 - <timueller+perl@suse.de>
- updated to 0.45
see /usr/share/doc/packages/perl-Clone/Changes
0.45 2020-04-23 14:46:00 atoomic
- bump B::COW requirement to fix big-endian issue
-------------------------------------------------------------------
Tue Apr 21 03:08:45 UTC 2020 - <timueller+perl@suse.de>
- updated to 0.44
see /usr/share/doc/packages/perl-Clone/Changes
-------------------------------------------------------------------
Wed Jul 31 05:03:45 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to 0.43
see /usr/share/doc/packages/perl-Clone/Changes
0.43 2019-07-29 13:47:42 atomic
- fix an issue when cloning a NULL mg_ptr pointer
-------------------------------------------------------------------
Fri Jul 19 05:32:49 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to 0.42
see /usr/share/doc/packages/perl-Clone/Changes
0.42 2019-07-19 23:06:04 garu
- make handling of mg_ptr safer (ATOOMIC, Harald Jörg)
- change license wording on some test files to
make the entire dist released under the same
terms as Perl itself (fixes GH#20) (GARU)
-------------------------------------------------------------------
Thu Nov 8 06:07:26 UTC 2018 - Stephan Kulow <coolo@suse.com>
- updated to 0.41
see /usr/share/doc/packages/perl-Clone/Changes
0.41 2018-10-25 10:20:03 garu
- Check the CowREFCNT of a COWed PV (ATOOMIC)
this should fix some issues people have been
having with 0.40 on DBD drives and DBIx::Class
- Make buildtools files not executable (Mohammad S Anwar)
0.40 2018-10-23 20:001:49 garu
- reuse COWed PV when cloning (fixes RT97535) (ATOOMIC)
- extra protection against potential infinite loop (ATOOMIC)
- improved tests
-------------------------------------------------------------------
Sat Apr 8 05:16:16 UTC 2017 - coolo@suse.com
- updated to 0.39
see /usr/share/doc/packages/perl-Clone/Changes
0.39 2017-04-07 13:06:00 garu
- use explicit '.' in tests since it may not be in @INC
anymore in newer perls (fixes RT120648) (PLICEASE, SIMCOP)
-------------------------------------------------------------------
Thu Apr 16 17:27:41 UTC 2015 - coolo@suse.com
- updated to 0.38
see /usr/share/doc/packages/perl-Clone/Changes
0.38 2015-01-18 19:27:41 garu
- typo fixes and improvements to the README (zmughal)
- travis/coveralls integration (zmughal)
0.37 2014-05-15 16:45:33 garu
- removed Carp dependency (GARU)
- silenced some clang warnings (JACQUESG)
- added a README (GARU)
-------------------------------------------------------------------
Mon Dec 9 11:17:50 UTC 2013 - coolo@suse.com
- updated to 0.36
- fixed compilation issue on AIX and C89 (GAAS)
-------------------------------------------------------------------
Fri Oct 4 09:11:38 UTC 2013 - coolo@suse.com
- updated to 0.35
- SV's can be NULL (shit happens) (fixes RT86217) (Tux)
- making tests compatible with older versions of Test::More (GARU)
-------------------------------------------------------------------
Mon Jun 3 15:40:26 UTC 2013 - coolo@suse.com
- updated to 0.34
- Stop skipping SvROK handling for all magical scalars. This fixes
RT issues 67105, 79730 and 80201 (FLORA).
- making the Changes file compliant to the CPAN::Changes spec (GARU).
- Fixing tests when Scalar::Util::weaken is not available. As a
result, tests should now pass even in odd OpenBSD versions (GARU).
- removed dubious documentation on the optional parameter until
it is 'fixed'. Right now it just increases the refcount when it's 0,
and clones otherwise (which isn't exactly what it says). This
fixes RT issue 57773 (GARU).
- updated remark on Storable's dclone() to address RT issue 50174 (GARU)
- updated Makefile.PL to include test dependencies (GARU)
-------------------------------------------------------------------
Fri Nov 18 11:10:34 UTC 2011 - coolo@suse.com
- use original .tar.gz
-------------------------------------------------------------------
Wed Dec 1 13:31:03 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Fri Nov 26 16:44:33 UTC 2010 - chris@computersalat.de
- recreated by cpanspec 1.78
- bzipped Source
-------------------------------------------------------------------
Tue Oct 19 08:38:24 UTC 2010 - coolo@novell.com
- add perl as explicit buildrequire
-------------------------------------------------------------------
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de
- enable parallel build
-------------------------------------------------------------------
Sat Oct 17 18:26:41 CEST 2009 - rschweikert@novell.com
- upgrade to version 0.31
o a lot of changes, please see Changes file
-------------------------------------------------------------------
Wed Mar 26 13:50:55 CET 2008 - anicka@suse.cz
- package created (version 0.18)

67
perl-Clone.spec Normal file
View File

@ -0,0 +1,67 @@
#
# spec file for package perl-Clone
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Clone
Name: perl-Clone
Version: 0.46
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Recursively copy Perl datatypes
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/G/GA/GARU/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(B::COW) >= 0.004
BuildRequires: perl(Test::More) >= 0.88
%{perl_requires}
%description
This module provides a 'clone()' method which makes recursive copies of
nested hash, array, scalar and reference types, including tied variables
and objects.
'clone()' takes a scalar argument and duplicates it. To duplicate lists,
arrays or hashes, pass them in by reference, e.g.
my $copy = clone (\@array);
# or
my %copy = %{ clone (\%hash) };
%prep
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README.md
%changelog