Name: perl-Data-Clone Version: 0.003 Release: 2%{?dist} Summary: Polymorphic data cloning License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Data-Clone/ Source0: http://www.cpan.org/authors/id/G/GF/GFUJI/Data-Clone-%{version}.tar.gz BuildRequires: perl(constant) BuildRequires: perl(Data::Dumper) BuildRequires: perl(Devel::PPPort) >= 3.19 BuildRequires: perl(ExtUtils::ParseXS) >= 2.21 BuildRequires: perl(inc::Module::Install) BuildRequires: perl(Module::Install::AuthorTests) BuildRequires: perl(parent) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::LeakTrace) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Requires) BuildRequires: perl(threads) BuildRequires: perl(Tie::Array) BuildRequires: perl(Tie::Hash) BuildRequires: perl(Time::HiRes) BuildRequires: perl(XSLoader) >= 0.1 Requires: perl(Exporter) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description Data::Clone does data cloning, i.e. copies things recursively. This is smart so that it works with not only non-blessed references, but also with blessed references (i.e. objects). When clone() finds an object, it calls a clone method of the object if the object has a clone, otherwise it makes a surface copy of the object. That is, this module does polymorphic data cloning. %prep %setup -q -n Data-Clone-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check make test %files %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Data* %{_mandir}/man3/* %changelog * Fri Jun 01 2012 Iain Arnell 0.003-2 - BuildRequire inc::Module::Install, not EU::MM - additional BuildRequires for tests * Sun Apr 01 2012 Iain Arnell 0.003-1 - Specfile autogenerated by cpanspec 1.79.