From 13935883ff8d1e6e5db1d25e1b5358fc708cff7e892ff43a805391d79ef1f49a Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 2 Dec 2011 07:04:48 +0000 Subject: [PATCH] - regenerate with cpanspec (to fix license) OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Copy-Recursive?expand=0&rev=3 --- perl-File-Copy-Recursive.changes | 5 ++++ perl-File-Copy-Recursive.spec | 48 +++++++++++++------------------- 2 files changed, 24 insertions(+), 29 deletions(-) diff --git a/perl-File-Copy-Recursive.changes b/perl-File-Copy-Recursive.changes index e73b677..be710bf 100644 --- a/perl-File-Copy-Recursive.changes +++ b/perl-File-Copy-Recursive.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 2 06:48:54 UTC 2011 - coolo@suse.com + +- regenerate with cpanspec (to fix license) + ------------------------------------------------------------------- Thu Dec 1 08:44:55 UTC 2011 - idoenmez@suse.de diff --git a/perl-File-Copy-Recursive.spec b/perl-File-Copy-Recursive.spec index 33fddf5..6ad7bd4 100644 --- a/perl-File-Copy-Recursive.spec +++ b/perl-File-Copy-Recursive.spec @@ -15,54 +15,44 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: perl-File-Copy-Recursive Version: 0.38 Release: 0 -License: GPL-2.0+ or Artistic-1.0 -Summary: Recursively copy files -Url: http://search.cpan.org/dist/File-Copy-Recursive +License: Artistic-1.0 or GPL-1.0+ +%define cpan_name File-Copy-Recursive +Summary: Perl extension for recursively copying files and directories +Url: http://search.cpan.org/dist/File-Copy-Recursive/ Group: Development/Libraries/Perl -Source: http://search.cpan.org/CPAN/authors/id/D/DM/DMUEY/File-Copy-Recursive-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/D/DM/DMUEY/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: make BuildRequires: perl -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(File::Copy) -BuildRequires: perl(File::Spec) BuildRequires: perl-macros -Requires: perl(File::Copy) -Requires: perl(File::Spec) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} %description -Perl extension for recursively copying files and directories. +This module copies and moves directories recursively (or single files, +well... singley) to an optional depth and attempts to preserve each file or +directory's mode. %prep -%setup -q -n "File-Copy-Recursive-%{version}" -sed -i '/^auto_install/d' Makefile.PL +%setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL PREFIX="%{_prefix}" -make %{?_smp_mflags} +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} + +%check +%{__make} test %install %perl_make_install %perl_process_packlist +%perl_gen_filelist -%check -make test - -%files -%defattr(-,root,root) +%files -f %{name}.files +%defattr(-,root,root,755) %doc Changes README -%dir %{perl_vendorlib}/File -%dir %{perl_vendorlib}/File/Copy -%{perl_vendorlib}/File/Copy/Recursive.pm -%dir %{perl_vendorarch}/auto/File -%dir %{perl_vendorarch}/auto/File/Copy -%{perl_vendorarch}/auto/File/Copy/Recursive -%doc %{perl_man3dir}/File::Copy::Recursive.%{perl_man3ext}%{ext_man} %changelog