From 83400709284bccb12c40c590c895050bd2e5d7be73c15db801c60178e67eaf9f Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Wed, 24 Nov 2010 21:48:34 +0000 Subject: [PATCH] cpanspec OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-PadWalker?expand=0&rev=5 --- perl-PadWalker.changes | 2 +- perl-PadWalker.spec | 17 +++++++++++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/perl-PadWalker.changes b/perl-PadWalker.changes index a082dd0..26cfec6 100644 --- a/perl-PadWalker.changes +++ b/perl-PadWalker.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Fri Nov 19 14:58:51 UTC 2010 - chris@computersalat.de +Wed Nov 24 21:47:57 UTC 2010 - chris@computersalat.de - recreated by cpanspec 1.78 - cleanup changelog diff --git a/perl-PadWalker.spec b/perl-PadWalker.spec index 85391d7..babfb03 100644 --- a/perl-PadWalker.spec +++ b/perl-PadWalker.spec @@ -25,7 +25,7 @@ Release: 2 License: GPL+ or Artistic Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/PadWalker/ -Source: http://search.cpan.org/CPAN/authors/id/R/RO/ROBIN/PadWalker-1.92.tar.gz +Source: http://www.cpan.org/authors/id/R/RO/ROBIN/PadWalker-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl %if 0%{?suse_version} < 1120 @@ -47,7 +47,10 @@ safe for and useful in production. Authors: -------- - Robin Houston + Robin Houston + With contributions from Richard Soberberg, Jesse Luehrs and Yuval Kogman, + bug-spotting from Peter Scott, Dave Mitchell and Goro Fuji, and suggestions + from demerphq. %prep %setup -q -n %{cpan_name}-%{version} @@ -61,11 +64,17 @@ Authors: %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} -rf $RPM_BUILD_ROOT%{perl_vendorarch}/auto/PadWalker/.packlist +%{__rm} -f $RPM_BUILD_ROOT%perl_vendorarch/auto/PadWalker/.packlist # remove perllocal.pod file -%{__rm} -rf $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod +%{__rm} -f $RPM_BUILD_ROOT%perl_archlib/perllocal.pod +%endif %perl_gen_filelist %clean