Name: perl-Clone Version: 0.39 Release: 1%{?dist} Summary: Recursively copy perl data types Group: Development/Libraries License: GPL+ or Artistic Vendor: bww bitwise works GmbH URL: http://search.cpan.org/dist/Clone Source: http://search.cpan.org/CPAN/authors/id/G/GA/GARU/Clone-%{version}.tar.gz BuildRequires: coreutils BuildRequires: findutils BuildRequires: make #BuildRequires: perl-interpreter BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) # Run-time: BuildRequires: perl(AutoLoader) BuildRequires: perl(DynaLoader) BuildRequires: perl(Exporter) BuildRequires: perl(strict) BuildRequires: perl(vars) # Tests: BuildRequires: perl(Test::More) BuildRequires: perl(utf8) BuildRequires: perl(warnings) # Optional tests: BuildRequires: perl(Data::Dumper) BuildRequires: perl(Hash::Util::FieldHash) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Taint::Runtime) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %{?perl_default_filter} %description This module provides a clone() method which makes recursive copies of nested hash, array, scalar and reference types, including tied variables and objects. clone() takes a scalar argument and an optional parameter that can be used to limit the depth of the copy. To duplicate lists, arrays or hashes, pass them in by reference. %prep %setup -q -n Clone-%{version} find . -type f -exec chmod -c -x {} + %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} make manifypods %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete find %{buildroot} -type f -name '*.bs' -a -size 0 -delete %{_fixperms} %{buildroot}/* %check #make test %files %doc Changes %{perl_vendorarch}/auto/Clone/ %{perl_vendorarch}/Clone.pm %{_mandir}/man3/*.3* %changelog * Thu Mar 06 2018 Elbert Pol - 0.39-1 - initial rpm for OS2