diff --git a/Clone-0.45.tar.gz b/Clone-0.45.tar.gz deleted file mode 100644 index ececef1..0000000 --- a/Clone-0.45.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cbb6ee348afa95432e4878893b46752549e70dc68fe6d9e430d1d2e99079a9e6 -size 16130 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/perl-Clone.changes b/perl-Clone.changes index b9b0901..ef84b8c 100644 --- a/perl-Clone.changes +++ b/perl-Clone.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +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 - diff --git a/perl-Clone.spec b/perl-Clone.spec index 99b7afb..4d99d67 100644 --- a/perl-Clone.spec +++ b/perl-Clone.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Clone # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -16,20 +16,19 @@ # -Name: perl-Clone -Version: 0.45 -Release: 0 %define cpan_name Clone -Summary: Recursively copy Perl datatypes +Name: perl-Clone +Version: 0.46 +Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl -Url: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/%{cpan_name}-%{version}.tar.gz +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 -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(B::COW) >= 0.004 +BuildRequires: perl(Test::More) >= 0.88 %{perl_requires} %description @@ -47,12 +46,12 @@ arrays or hashes, pass them in by reference, e.g. my %copy = %{ clone (\%hash) }; %prep -%setup -q -n %{cpan_name}-%{version} +%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 %{?_smp_mflags} +%make_build %check make test @@ -63,7 +62,6 @@ make test %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes README.md %changelog