Name: perl-Clone-PP
Version: 1.06
Release: 1%{?dist}
Summary: Recursively copy Perl data-types
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Clone-PP/
Source0: http://www.cpan.org/modules/by-module/Clone/Clone-PP-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(Benchmark)
BuildRequires: perl(Carp)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module provides a general-purpose clone function to make deep copies
of Perl data structures. It calls itself recursively to copy nested hash,
array, scalar and reference types, including tied variables and objects.
%prep
%setup -q -n Clone-PP-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Mon Jul 21 2014 David Dick <ddick@cpan.org> - 1.06-1
- Initial release