You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
152 lines
4.8 KiB
152 lines
4.8 KiB
![]()
4 years ago
|
Name: perl-Clone
|
||
|
Version: 0.34
|
||
|
Release: 5%{?dist}
|
||
|
Summary: Recursively copy perl data types
|
||
|
Group: Development/Libraries
|
||
|
License: GPL+ or Artistic
|
||
|
URL: http://search.cpan.org/dist/Clone
|
||
|
Source: http://search.cpan.org/CPAN/authors/id/G/GA/GARU/Clone-%{version}.tar.gz
|
||
|
BuildRequires: perl
|
||
|
BuildRequires: perl(AutoLoader)
|
||
|
BuildRequires: perl(Carp)
|
||
|
BuildRequires: perl(Data::Dumper)
|
||
|
BuildRequires: perl(DynaLoader)
|
||
|
BuildRequires: perl(Exporter)
|
||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||
|
BuildRequires: perl(Scalar::Util)
|
||
|
BuildRequires: perl(strict)
|
||
|
BuildRequires: perl(Taint::Runtime)
|
||
|
BuildRequires: perl(Test::More)
|
||
|
BuildRequires: perl(utf8)
|
||
|
BuildRequires: perl(vars)
|
||
|
BuildRequires: perl(warnings)
|
||
|
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}
|
||
|
|
||
|
%install
|
||
|
make pure_install DESTDIR=%{buildroot}
|
||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||
|
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
||
|
chmod -R u+w %{buildroot}/*
|
||
|
|
||
|
%check
|
||
|
make test
|
||
|
|
||
|
%files
|
||
|
%doc Changes
|
||
|
%{perl_vendorarch}/auto/Clone/
|
||
|
%{perl_vendorarch}/Clone.pm
|
||
|
%{_mandir}/man3/*.3*
|
||
|
|
||
|
%changelog
|
||
|
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.34-5
|
||
|
- Mass rebuild 2014-01-24
|
||
|
|
||
|
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.34-4
|
||
|
- Mass rebuild 2013-12-27
|
||
|
|
||
|
* Mon Jun 24 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.34-3
|
||
|
- Update dependencies
|
||
|
|
||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.34-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||
|
|
||
|
* Thu Jan 03 2013 Petr Šabata <contyk@redhat.com> - 0.34-1
|
||
|
- 0.34 bump for DBI 1.623
|
||
|
- Modernize the spec
|
||
|
- Update filters and Source URL
|
||
|
|
||
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-11
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||
|
|
||
|
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.31-10
|
||
|
- Perl 5.16 rebuild
|
||
|
- Specify all dependencies
|
||
|
|
||
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-9
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||
|
|
||
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.31-8
|
||
|
- Perl mass rebuild
|
||
|
|
||
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-7
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||
|
|
||
|
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.31-6
|
||
|
- 661697 rebuild for fixing problems with vendorach/lib
|
||
|
|
||
|
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.31-5
|
||
|
- Mass rebuild with perl-5.12.0
|
||
|
|
||
|
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.31-4
|
||
|
- rebuild against perl 5.10.1
|
||
|
|
||
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||
|
|
||
|
* Sat May 23 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.31-2
|
||
|
- filter private Perl solibs from provides
|
||
|
- remove some executable bits -- keep rpmlint happy
|
||
|
|
||
|
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.31-1
|
||
|
- update to 0.31
|
||
|
|
||
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.28-5
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||
|
|
||
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.28-4
|
||
|
- Rebuild for perl 5.10 (again)
|
||
|
|
||
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.28-3
|
||
|
- Autorebuild for GCC 4.3
|
||
|
|
||
|
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.28-2
|
||
|
- rebuild for new perl
|
||
|
|
||
|
* Wed Nov 28 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.28-1
|
||
|
- bump to 0.28
|
||
|
|
||
|
* Fri Aug 24 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.27-2
|
||
|
- license fix
|
||
|
|
||
|
* Fri Jul 27 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.27-1
|
||
|
- bump to 0.27
|
||
|
|
||
|
* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.22-1
|
||
|
- bump to 0.22
|
||
|
|
||
|
* Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.20-2
|
||
|
- bump for fc6
|
||
|
|
||
|
* Fri Mar 31 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.20-1
|
||
|
- bump to 0.20
|
||
|
- new BR: perl-Taint-Runtime
|
||
|
|
||
|
* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.18-3
|
||
|
- bump for FC-5
|
||
|
|
||
|
* Fri Jan 6 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.18-2
|
||
|
- don't pass optflags twice
|
||
|
- remove .bs files
|
||
|
|
||
|
* Thu Jan 5 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.18-1
|
||
|
- Initial package for Fedora Extras
|