rpms/perl-Clone/devel perl-Clone.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Tom Callaway (spot) fedora-extras-commits at redhat.com
Fri Jan 6 16:25:53 UTC 2006


Author: spot

Update of /cvs/extras/rpms/perl-Clone/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14400/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Clone.spec 
Log Message:
auto-import perl-Clone-0.18-2 on branch devel from perl-Clone-0.18-2.src.rpm


--- NEW FILE perl-Clone.spec ---
Name:           perl-Clone
Version:        0.18
Release:        2%{?dist}
Summary:        Recursively copy perl datatypes
Group:          Development/Libraries
License:        GPL or Artistic
URL:            http://search.cpan.org/dist/Clone
Source0:        http://search.cpan.org/CPAN/authors/id/R/RD/RDF/Clone-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	perl(ExtUtils::ParseXS)
Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%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}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes
%{perl_vendorarch}/auto/Clone/
%{perl_vendorarch}/Clone.pm
%{_mandir}/man3/*.3*


%changelog
* Fri Jan  6 2006 Tom "spot" Callaway <tcallawa at redhat.com> 0.18-2
- don't pass optflags twice
- remove .bs files

* Thu Jan  5 2006 Tom "spot" Callaway <tcallawa at redhat.com> 0.18-1
- Initial package for Fedora Extras


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Clone/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	6 Jan 2006 16:25:25 -0000	1.1
+++ .cvsignore	6 Jan 2006 16:25:53 -0000	1.2
@@ -0,0 +1 @@
+Clone-0.18.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Clone/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	6 Jan 2006 16:25:25 -0000	1.1
+++ sources	6 Jan 2006 16:25:53 -0000	1.2
@@ -0,0 +1 @@
+7e37be978c939054100f40d64a2850db  Clone-0.18.tar.gz




More information about the fedora-extras-commits mailing list