58e67b
Name:           perl-Clone
58e67b
Version:        0.34
58e67b
Release:        5%{?dist}
58e67b
Summary:        Recursively copy perl data types
58e67b
Group:          Development/Libraries
58e67b
License:        GPL+ or Artistic
58e67b
URL:            http://search.cpan.org/dist/Clone
58e67b
Source:         http://search.cpan.org/CPAN/authors/id/G/GA/GARU/Clone-%{version}.tar.gz
58e67b
BuildRequires:  perl
58e67b
BuildRequires:  perl(AutoLoader)
58e67b
BuildRequires:  perl(Carp)
58e67b
BuildRequires:  perl(Data::Dumper)
58e67b
BuildRequires:  perl(DynaLoader)
58e67b
BuildRequires:  perl(Exporter)
58e67b
BuildRequires:  perl(ExtUtils::MakeMaker)
58e67b
BuildRequires:  perl(Scalar::Util)
58e67b
BuildRequires:  perl(strict)
58e67b
BuildRequires:  perl(Taint::Runtime)
58e67b
BuildRequires:  perl(Test::More)
58e67b
BuildRequires:  perl(utf8)
58e67b
BuildRequires:  perl(vars)
58e67b
BuildRequires:  perl(warnings)
58e67b
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
58e67b
58e67b
%{?perl_default_filter}
58e67b
58e67b
%description
58e67b
This module provides a clone() method which makes recursive
58e67b
copies of nested hash, array, scalar and reference types,
58e67b
including tied variables and objects.
58e67b
58e67b
clone() takes a scalar argument and an optional parameter that
58e67b
can be used to limit the depth of the copy. To duplicate lists,
58e67b
arrays or hashes, pass them in by reference.
58e67b
58e67b
%prep
58e67b
%setup -q -n Clone-%{version}
58e67b
find . -type f -exec chmod -c -x {} ';'
58e67b
58e67b
%build
58e67b
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
58e67b
make %{?_smp_mflags}
58e67b
58e67b
%install
58e67b
make pure_install DESTDIR=%{buildroot}
58e67b
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
58e67b
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
58e67b
chmod -R u+w %{buildroot}/*
58e67b
58e67b
%check
58e67b
make test
58e67b
58e67b
%files
58e67b
%doc Changes
58e67b
%{perl_vendorarch}/auto/Clone/
58e67b
%{perl_vendorarch}/Clone.pm
58e67b
%{_mandir}/man3/*.3*
58e67b
58e67b
%changelog
58e67b
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.34-5
58e67b
- Mass rebuild 2014-01-24
58e67b
58e67b
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.34-4
58e67b
- Mass rebuild 2013-12-27
58e67b
58e67b
* Mon Jun 24 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.34-3
58e67b
- Update dependencies
58e67b
58e67b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-2
58e67b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
58e67b
58e67b
* Thu Jan 03 2013 Petr Šabata <contyk@redhat.com> - 0.34-1
58e67b
- 0.34 bump for DBI 1.623
58e67b
- Modernize the spec
58e67b
- Update filters and Source URL
58e67b
58e67b
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-11
58e67b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
58e67b
58e67b
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.31-10
58e67b
- Perl 5.16 rebuild
58e67b
- Specify all dependencies
58e67b
58e67b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-9
58e67b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
58e67b
58e67b
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.31-8
58e67b
- Perl mass rebuild
58e67b
58e67b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-7
58e67b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
58e67b
58e67b
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.31-6
58e67b
- 661697 rebuild for fixing problems with vendorach/lib
58e67b
58e67b
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.31-5
58e67b
- Mass rebuild with perl-5.12.0
58e67b
58e67b
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.31-4
58e67b
- rebuild against perl 5.10.1
58e67b
58e67b
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-3
58e67b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
58e67b
58e67b
* Sat May 23 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.31-2
58e67b
- filter private Perl solibs from provides
58e67b
- remove some executable bits -- keep rpmlint happy
58e67b
58e67b
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.31-1
58e67b
- update to 0.31
58e67b
58e67b
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-5
58e67b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
58e67b
58e67b
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.28-4
58e67b
- Rebuild for perl 5.10 (again)
58e67b
58e67b
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.28-3
58e67b
- Autorebuild for GCC 4.3
58e67b
58e67b
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.28-2
58e67b
- rebuild for new perl
58e67b
58e67b
* Wed Nov 28 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.28-1
58e67b
- bump to 0.28
58e67b
58e67b
* Fri Aug 24 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.27-2
58e67b
- license fix
58e67b
58e67b
* Fri Jul 27 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.27-1
58e67b
- bump to 0.27
58e67b
58e67b
* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.22-1
58e67b
- bump to 0.22
58e67b
58e67b
* Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.20-2
58e67b
- bump for fc6
58e67b
58e67b
* Fri Mar 31 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.20-1
58e67b
- bump to 0.20
58e67b
- new BR: perl-Taint-Runtime
58e67b
58e67b
* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.18-3
58e67b
- bump for FC-5
58e67b
58e67b
* Fri Jan  6 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.18-2
58e67b
- don't pass optflags twice
58e67b
- remove .bs files
58e67b
58e67b
* Thu Jan  5 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.18-1
58e67b
- Initial package for Fedora Extras