From 84d7892d22629f54444251dc2e4177aff3b2ccd7c483a18b3a5abf8cd0478320 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Tue, 19 Oct 2010 10:50:21 +0000 Subject: [PATCH 1/3] Updating link to change in openSUSE:Factory/perl-Clone revision 10.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Clone?expand=0&rev=f2063253c6da81efadc79f721ede9347 --- perl-Clone.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-Clone.spec b/perl-Clone.spec index b12abca..a5e9dcd 100644 --- a/perl-Clone.spec +++ b/perl-Clone.spec @@ -26,7 +26,7 @@ Requires: perl = %{perl_version} AutoReqProv: on Summary: Recursively copy Perl datatypes Version: 0.31 -Release: 1 +Release: 6 Source: http://cpan.org/modules/by-module/Clone/Clone-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl From bbe60ba3e3cb59ae0dd906e78cc1502632180f33c9e877d9358b2f70f4b122a2 Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Wed, 24 Nov 2010 15:41:43 +0000 Subject: [PATCH 2/3] cpanspec OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Clone?expand=0&rev=11 --- Clone-0.31.tar.bz2 | 3 +++ Clone-0.31.tar.gz | 3 --- perl-Clone.changes | 6 +++++ perl-Clone.spec | 64 ++++++++++++++++++++++++++++------------------ 4 files changed, 48 insertions(+), 28 deletions(-) create mode 100644 Clone-0.31.tar.bz2 delete mode 100644 Clone-0.31.tar.gz diff --git a/Clone-0.31.tar.bz2 b/Clone-0.31.tar.bz2 new file mode 100644 index 0000000..8ab7a89 --- /dev/null +++ b/Clone-0.31.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:22661ba219f7580747b41241d2570da5cd677119551a72120627106cbd1e1ca1 +size 11482 diff --git a/Clone-0.31.tar.gz b/Clone-0.31.tar.gz deleted file mode 100644 index 1b9cd65..0000000 --- a/Clone-0.31.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:94432ba5cadbf9f78fb29a23f68481e70e24d2e77f1f669f2919b00cc3a15f39 -size 11753 diff --git a/perl-Clone.changes b/perl-Clone.changes index a8d6c3b..183e4e1 100644 --- a/perl-Clone.changes +++ b/perl-Clone.changes @@ -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 diff --git a/perl-Clone.spec b/perl-Clone.spec index a5e9dcd..365628e 100644 --- a/perl-Clone.spec +++ b/perl-Clone.spec @@ -17,57 +17,71 @@ # norootforbuild - Name: perl-Clone -License: Artistic -Group: Development/Libraries/Perl -Url: http://cpan.org/ -Requires: perl = %{perl_version} -AutoReqProv: on +%define cpan_name Clone Summary: Recursively copy Perl datatypes Version: 0.31 -Release: 6 -Source: http://cpan.org/modules/by-module/Clone/Clone-%{version}.tar.gz +Release: 1 +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 BuildRequires: perl +%if 0%{?suse_version} < 1120 +BuildRequires: perl-macros +%endif +Requires: perl = %{perl_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. - +nested hash, array, scalar and reference types, including tied variables +and objects. +For a slower, but more flexible solution see Storable's dclone(). Authors: -------- - Ray Finch + 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 -%setup -q -n Clone-%{version} +%setup -q -n %{cpan_name}-%{version} +### rpmlint: +# spurious-executable-perm +# script-without-shebang +%{__chmod} 0644 Changes *.{xs,pm} %build -chmod 644 Changes -perl Makefile.PL +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" %{__make} %{?_smp_mflags} %check -make test +%{__make} test %install %perl_make_install +### since 11.4 perl_process_packlist +### removes .packlist, perllocal.pod files +%if 0%{?suse_version} > 1130 %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 -rm -rf ${RPM_BUILD_ROOT} +%{__rm} -rf $RPM_BUILD_ROOT -%files -%defattr(-, root, root) +%files -f %{name}.files +%defattr(-,root,root,-) %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 From beea321bfc91de835d3304ea0ab2eea351a720893d5ea5394420afeae3de53e6 Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Fri, 26 Nov 2010 16:45:29 +0000 Subject: [PATCH 3/3] cleanup spec OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Clone?expand=0&rev=12 --- perl-Clone.changes | 2 +- perl-Clone.spec | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/perl-Clone.changes b/perl-Clone.changes index 183e4e1..44f901e 100644 --- a/perl-Clone.changes +++ b/perl-Clone.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Wed Nov 24 15:41:18 UTC 2010 - chris@computersalat.de +Fri Nov 26 16:44:33 UTC 2010 - chris@computersalat.de - recreated by cpanspec 1.78 - bzipped Source diff --git a/perl-Clone.spec b/perl-Clone.spec index 365628e..140e657 100644 --- a/perl-Clone.spec +++ b/perl-Clone.spec @@ -41,13 +41,6 @@ and objects. For a slower, but more flexible solution see Storable's dclone(). -Authors: --------- - 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 %setup -q -n %{cpan_name}-%{version} ### rpmlint: