diff --git a/Pod-Coverage-0.20.tar.bz2 b/Pod-Coverage-0.20.tar.bz2 deleted file mode 100644 index 7ec6336..0000000 --- a/Pod-Coverage-0.20.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9a214b4a39a0167aece4d7a6634b89b0b17b3e337eb0cfaeb82f16dbc88f8b69 -size 11812 diff --git a/Pod-Coverage-0.21.tar.bz2 b/Pod-Coverage-0.21.tar.bz2 new file mode 100644 index 0000000..2184f8c --- /dev/null +++ b/Pod-Coverage-0.21.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f5655f123890b28d1432df832fc50629b0d976cef33910c66b4e7975d5060db +size 12009 diff --git a/perl-Pod-Coverage.changes b/perl-Pod-Coverage.changes index 2a6e431..8e586ed 100644 --- a/perl-Pod-Coverage.changes +++ b/perl-Pod-Coverage.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Aug 9 12:39:26 UTC 2010 - chris@computersalat.de + +- update to 0.21 + * Add SCALAR to the stoplist (implementaion method for tied + hashes). Report by David Cantrell. +- recreated by cpanspec 1.78 + ------------------------------------------------------------------- Thu Apr 22 20:44:14 UTC 2010 - chris@computersalat.de diff --git a/perl-Pod-Coverage.spec b/perl-Pod-Coverage.spec index 05c9ddc..f26e0b0 100644 --- a/perl-Pod-Coverage.spec +++ b/perl-Pod-Coverage.spec @@ -1,5 +1,5 @@ # -# spec file for package perl-Pod-Coverage (Version 0.20) +# spec file for package perl-Pod-Coverage (Version 0.21) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,79 +17,71 @@ # norootforbuild +%bcond_with pod Name: perl-Pod-Coverage -%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) -Summary: Check if the documentation of a module is comprehensive -Version: 0.20 -Release: 2 -License: Artistic ; GPLv2+ +%define cpan_name Pod-Coverage +Summary: Checks if the documentation of a module is comprehensive +Version: 0.21 +Release: 1 +License: GPL+ or Artistic Group: Development/Libraries/Perl -Url: http://search.cpan.org/~rclamp/Pod-Coverage +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.bz2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl +BuildRequires: perl(Module::Build) %if 0%{?suse_version} < 1120 BuildRequires: perl-macros %endif -BuildRequires: perl(Module::Build) -BuildRequires: perl(Pod::Find) >= 0.21 -BuildRequires: perl(Test::More) >= 0 +%if %{with pod} BuildRequires: perl(Test::Pod) >= 1.0 -# other not perl || perl-base +%endif +BuildRequires: perl(Test::More) BuildRequires: perl(Devel::Symdump) >= 2.01 -BuildRequires: perl(Pod::Parser) >= 1.13 # Requires: perl = %{perl_version} -Requires: perl(Pod::Find) >= 0.21 -# other not perl || perl-base Requires: perl(Devel::Symdump) >= 2.01 +Requires: perl(Pod::Find) >= 0.21 Requires: perl(Pod::Parser) >= 1.13 %description -Developers hate writing documentation. They'd hate it even more if -their computer tattled on them, but maybe they'll be even more thankful -in the long run. Even if not, perlmodstyle tells you to, so you must -obey. +Developers hate writing documentation. They'd hate it even more if their +computer tattled on them, but maybe they'll be even more thankful in the +long run. Even if not, perlmodstyle tells you to, so you must obey. This module provides a mechanism for determining if the pod for a given module is comprehensive. -It expects to find either a =head(n>1) or an =item block documenting -a subroutine. +It expects to find either a =head(n>1) or an =item block documenting a +subroutine. Authors: -------- Richard Clamp Michael Stevens - %prep %setup -q -n %{cpan_name}-%{version} %build -CFLAGS="$RPM_OPT_FLAGS" %{__perl} Build.PL --prefix $RPM_BUILD_ROOT/usr --installdirs vendor -./Build +%{__perl} Build.PL installdirs=vendor +./Build build flags=%{?_smp_mflags} %check ./Build test %install -./Build install -# do not perl_process_packlist (noarch) -# remove .packlist file -%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch -# remove perllocal.pod file -%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 %perl_gen_filelist -%clean +%clean %{__rm} -rf $RPM_BUILD_ROOT %files -f %{name}.files -# normally you only need to check for doc files -%defattr(-,root,root) +%defattr(-,root,root,-) %doc Changes examples %changelog