cpanspec
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Clone?expand=0&rev=11
This commit is contained in:
parent
84d7892d22
commit
bbe60ba3e3
3
Clone-0.31.tar.bz2
Normal file
3
Clone-0.31.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:22661ba219f7580747b41241d2570da5cd677119551a72120627106cbd1e1ca1
|
||||||
|
size 11482
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:94432ba5cadbf9f78fb29a23f68481e70e24d2e77f1f669f2919b00cc3a15f39
|
|
||||||
size 11753
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 24 15:41:18 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- recreated by cpanspec 1.78
|
||||||
|
- bzipped Source
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 19 08:38:24 UTC 2010 - coolo@novell.com
|
Tue Oct 19 08:38:24 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -17,57 +17,71 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Clone
|
Name: perl-Clone
|
||||||
License: Artistic
|
%define cpan_name Clone
|
||||||
Group: Development/Libraries/Perl
|
|
||||||
Url: http://cpan.org/
|
|
||||||
Requires: perl = %{perl_version}
|
|
||||||
AutoReqProv: on
|
|
||||||
Summary: Recursively copy Perl datatypes
|
Summary: Recursively copy Perl datatypes
|
||||||
Version: 0.31
|
Version: 0.31
|
||||||
Release: 6
|
Release: 1
|
||||||
Source: http://cpan.org/modules/by-module/Clone/Clone-%{version}.tar.gz
|
License: GPL+ or Artistic
|
||||||
|
Group: Development/Libraries/Perl
|
||||||
|
Url: http://search.cpan.org/dist/Clone/
|
||||||
|
#Source: http://www.cpan.org/authors/id/R/RD/RDF/Clone-0.31.tar.gz
|
||||||
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
|
%if 0%{?suse_version} < 1120
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
%endif
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module provides a clone() method which makes recursive copies of
|
This module provides a clone() method which makes recursive copies of
|
||||||
nested hash, array, scalar and reference types, including tied
|
nested hash, array, scalar and reference types, including tied variables
|
||||||
variables and objects.
|
and objects.
|
||||||
|
|
||||||
|
|
||||||
|
For a slower, but more flexible solution see Storable's dclone().
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Ray Finch <rdf at cpan dot org>
|
Ray Finch, rdf@cpan.org
|
||||||
|
Copyright 2001 Ray Finch.
|
||||||
|
This module is free software; you can redistribute it and/or modify it
|
||||||
|
under the same terms as Perl itself.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Clone-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
### rpmlint:
|
||||||
|
# spurious-executable-perm
|
||||||
|
# script-without-shebang
|
||||||
|
%{__chmod} 0644 Changes *.{xs,pm}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
chmod 644 Changes
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||||
perl Makefile.PL
|
|
||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
|
### since 11.4 perl_process_packlist
|
||||||
|
### removes .packlist, perllocal.pod files
|
||||||
|
%if 0%{?suse_version} > 1130
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%else
|
||||||
|
# do not perl_process_packlist
|
||||||
|
# remove .packlist file
|
||||||
|
%{__rm} -f $RPM_BUILD_ROOT%perl_vendorarch/auto/Clone/.packlist
|
||||||
|
# remove perllocal.pod file
|
||||||
|
%{__rm} -f $RPM_BUILD_ROOT%perl_archlib/perllocal.pod
|
||||||
|
%endif
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-, root, root)
|
%defattr(-,root,root,-)
|
||||||
%doc Changes
|
%doc Changes
|
||||||
%{perl_vendorarch}/Clone.pm
|
|
||||||
%dir %{perl_vendorarch}/auto/Clone
|
|
||||||
%{perl_vendorarch}/auto/Clone/.packlist
|
|
||||||
%{perl_vendorarch}/auto/Clone/*
|
|
||||||
%{_mandir}/man3/Clone.3pm.gz
|
|
||||||
/var/adm/perl-modules/%{name}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user