commit 32ed1c998efc47ac76eeb28cd27b71d0d1cee8237b632892a6e4bbaf129c210e Author: Dirk Stoecker Date: Thu Aug 29 07:04:22 2024 +0000 - updated to 0.470.0 (0.47) see /usr/share/doc/packages/perl-Clone/Changes 0.47 2024-08-17 12:30:00 atoomic - Stop using quote as package separator OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Clone?expand=0&rev=43 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Clone-0.46.tar.gz b/Clone-0.46.tar.gz new file mode 100644 index 0000000..030e1ef --- /dev/null +++ b/Clone-0.46.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aadeed5e4c8bd6bbdf68c0dd0066cb513e16ab9e5b4382dc4a0aafd55890697b +size 138722 diff --git a/Clone-0.47.tar.gz b/Clone-0.47.tar.gz new file mode 100644 index 0000000..4ecb4a0 --- /dev/null +++ b/Clone-0.47.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c2c0cb9a483efbf970cb1a75b2ca75b0e18cb84bcb5c09624f86e26b09c211d +size 139080 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b320f5 --- /dev/null +++ b/cpanspec.yml @@ -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 diff --git a/perl-Clone.changes b/perl-Clone.changes new file mode 100644 index 0000000..5acd6f7 --- /dev/null +++ b/perl-Clone.changes @@ -0,0 +1,163 @@ +------------------------------------------------------------------- +Sun Aug 18 05:29:53 UTC 2024 - Tina Müller + +- updated to 0.470.0 (0.47) + see /usr/share/doc/packages/perl-Clone/Changes + + 0.47 2024-08-17 12:30:00 atoomic + - Stop using quote as package separator + +------------------------------------------------------------------- +Thu Oct 20 03:06:12 UTC 2022 - Tina Müller + +- 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 - + +- 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 - + +- updated to 0.44 + see /usr/share/doc/packages/perl-Clone/Changes + +------------------------------------------------------------------- +Wed Jul 31 05:03:45 UTC 2019 - Stephan Kulow + +- 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 + +- 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 + +- 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) + diff --git a/perl-Clone.spec b/perl-Clone.spec new file mode 100644 index 0000000..567f2f9 --- /dev/null +++ b/perl-Clone.spec @@ -0,0 +1,72 @@ +# +# spec file for package perl-Clone +# +# Copyright (c) 2024 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.470.0 +Release: 0 +# 0.47 -> normalize -> 0.470.0 +%define cpan_version 0.47 +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/A/AT/ATOOMIC/%{cpan_name}-%{cpan_version}.tar.gz +Source1: cpanspec.yml +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(B::COW) >= 0.004 +BuildRequires: perl(Test::More) >= 0.88 +Provides: perl(Clone) = %{version} +%undefine __perllib_provides +%{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}-%{cpan_version} + +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -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