- Fix spec file as build now uses Makefile.PL.

- remove created perllocal.pod.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Pod-Coverage?expand=0&rev=26
This commit is contained in:
Philipp Thomas 2012-02-15 16:01:48 +00:00 committed by Git OBS Bridge
parent 6868db765a
commit 0f7841f585
2 changed files with 8 additions and 5 deletions

View File

@ -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

View File

@ -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