From 62a75198d55f4185eaf5b8742a4e5a30dfdebefd Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Mon, 22 Jul 2019 14:54:55 +0100 Subject: [PATCH] Update to 0.42 - New upstream release 0.42 - Make handling of mg_ptr safer - Change license wording on some test files to make the entire dist released under the same terms as Perl itself (GH#20) --- .gitignore | 1 + perl-Clone.spec | 26 ++++++++++++++------------ sources | 2 +- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index d05b57c..63f4fa5 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /Clone-0.40-clean.tar.gz /Clone-0.41.tar.gz /Clone-0.41-clean.tar.gz +/Clone-0.42.tar.gz diff --git a/perl-Clone.spec b/perl-Clone.spec index a573463..c7939fb 100644 --- a/perl-Clone.spec +++ b/perl-Clone.spec @@ -1,14 +1,10 @@ Name: perl-Clone -Version: 0.41 -Release: 3%{?dist} +Version: 0.42 +Release: 1%{?dist} Summary: Recursively copy perl data types License: GPL+ or Artistic URL: https://metacpan.org/release/Clone -# remove non-free test files -# rm -f t/dclone.t t/tied.pl t/dump.pl -# sed -i -E -e '/^t\/(dclone\.t|tied\.pl|dump\.pl)/d' MANIFEST -#Source0: https://cpan.metacpan.org/authors/id/G/GA/GARU/Clone-%%{version}.tar.gz -Source0: Clone-%{version}-clean.tar.gz +Source0: https://cpan.metacpan.org/modules/by-module/Clone/Clone-%{version}.tar.gz # Build BuildRequires: coreutils BuildRequires: findutils @@ -29,17 +25,20 @@ BuildRequires: perl(Test::More) BuildRequires: perl(utf8) BuildRequires: perl(warnings) # Optional tests: +BuildRequires: perl(B) BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Devel::Peek) BuildRequires: perl(Hash::Util::FieldHash) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Storable) BuildRequires: perl(Taint::Runtime) +# Dependencies Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %{?perl_default_filter} %description -This module provides a clone() method which makes recursive +This module provides a clone() method that makes recursive copies of nested hash, array, scalar and reference types, including tied variables and objects. @@ -50,9 +49,6 @@ arrays or hashes, pass them in by reference. %prep %setup -q -n Clone-%{version} -# this test does not run without the non-free files -rm -rf t/04tie.t - %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} @@ -67,12 +63,18 @@ find %{buildroot} -type f -name '*.bs' -empty -delete make test %files -%doc Changes +%doc Changes README.md %{perl_vendorarch}/auto/Clone/ %{perl_vendorarch}/Clone.pm %{_mandir}/man3/Clone.3* %changelog +* Mon Jul 22 2019 Paul Howarth - 0.42-1 +- Update to 0.42 + - Make handling of mg_ptr safer + - Change license wording on some test files to make the entire dist + released under the same terms as Perl itself (GH#20) + * Fri May 31 2019 Jitka Plesnikova - 0.41-3 - Perl 5.30 rebuild diff --git a/sources b/sources index a223cff..5b30f06 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Clone-0.41-clean.tar.gz) = a077353ea9b09ac9d747ee5ac8478688c430a985a51abe89f1fe993dced431fa7b255179b181c4756f10516e4279b40ffdcbace693a3ca6fb6ed27a6af2981e5 +SHA512 (Clone-0.42.tar.gz) = ba9a42b940a1ed4045a11f72e0b3f82f384094c92840326a641a1d54f721fafb650a135604967808da77e539ab75a379fb1f199722b18910377904efec6fca98