diff --git a/perl-Pod-Coverage.changes b/perl-Pod-Coverage.changes index f35ca69..8e47fc2 100644 --- a/perl-Pod-Coverage.changes +++ b/perl-Pod-Coverage.changes @@ -4,6 +4,8 @@ Wed Feb 15 12:30:23 CET 2012 - pth@suse.de - Update to 0.22: * POD spelling corrections. (rt #22113) * Add "unimport" to the stoplist. (rt #33914) +- Fix spec file as build now uses Makefile.PL. +- remove created perllocal.pod. ------------------------------------------------------------------- Fri Nov 18 11:09:03 UTC 2011 - coolo@suse.com diff --git a/perl-Pod-Coverage.spec b/perl-Pod-Coverage.spec index 3eef8eb..2f48374 100644 --- a/perl-Pod-Coverage.spec +++ b/perl-Pod-Coverage.spec @@ -28,7 +28,7 @@ Release: 0 Url: http://search.cpan.org/dist/Pod-Coverage/ #Source: http://www.cpan.org/modules/by-module/Pod/Pod-Coverage-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.gz -BuildArch: noarch +#BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: perl @@ -64,15 +64,16 @@ Authors: %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Build.PL installdirs=vendor -./Build build flags=%{?_smp_mflags} +%{__perl} Makefile.PL installdirs=vendor +make %{?_smp_mflags} %check -./Build test +make test %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +%makeinstall create_packlist=0 %perl_gen_filelist +find %{buildroot}/usr/lib/perl5 -name perllocal.pod -exec rm -f {} \; %clean %{__rm} -rf $RPM_BUILD_ROOT