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)
This commit is contained in:
parent
86480b8510
commit
62a75198d5
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
||||
@ -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 <paul@city-fan.org> - 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 <jplesnik@redhat.com> - 0.41-3
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (Clone-0.41-clean.tar.gz) = a077353ea9b09ac9d747ee5ac8478688c430a985a51abe89f1fe993dced431fa7b255179b181c4756f10516e4279b40ffdcbace693a3ca6fb6ed27a6af2981e5
|
||||
SHA512 (Clone-0.42.tar.gz) = ba9a42b940a1ed4045a11f72e0b3f82f384094c92840326a641a1d54f721fafb650a135604967808da77e539ab75a379fb1f199722b18910377904efec6fca98
|
||||
|
||||
Loading…
Reference in New Issue
Block a user