[perl-Data-Clone] initial import (rhbz#808884)

Iain Arnell iarnell at fedoraproject.org
Sat Jun 9 15:24:58 UTC 2012


commit 9ea872b4adb3d15c7abb07eb882fee5f5a503a50
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sat Jun 9 09:24:45 2012 -0600

    initial import (rhbz#808884)

 .gitignore           |    1 +
 perl-Data-Clone.spec |   69 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 71 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4a2275a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Data-Clone-0.003.tar.gz
diff --git a/perl-Data-Clone.spec b/perl-Data-Clone.spec
new file mode 100644
index 0000000..700609d
--- /dev/null
+++ b/perl-Data-Clone.spec
@@ -0,0 +1,69 @@
+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 <iarnell at gmail.com> 0.003-2
+- BuildRequire inc::Module::Install, not EU::MM
+- additional BuildRequires for tests
+
+* Sun Apr 01 2012 Iain Arnell <iarnell at gmail.com> 0.003-1
+- Specfile autogenerated by cpanspec 1.79.
diff --git a/sources b/sources
index e69de29..280e318 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+aeef586dd5e1eeafd39992204f37e4cf  Data-Clone-0.003.tar.gz


More information about the scm-commits mailing list