From 807218bc815f160e5fb113b1692239cae8e095a8f79d8219592aa5e999801393 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Thu, 22 Apr 2010 23:26:53 +0000 Subject: [PATCH] Accepting request 38547 from devel:languages:perl Copy from devel:languages:perl/perl-Pod-Coverage based on submit request 38547 from user computersalat OBS-URL: https://build.opensuse.org/request/show/38547 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Pod-Coverage?expand=0&rev=8 --- Pod-Coverage-0.20.tar.bz2 | 3 +++ Pod-Coverage-0.20.tar.gz | 3 --- perl-Pod-Coverage.changes | 11 ++++++++++ perl-Pod-Coverage.spec | 46 ++++++++++++++++++++++++--------------- 4 files changed, 43 insertions(+), 20 deletions(-) create mode 100644 Pod-Coverage-0.20.tar.bz2 delete mode 100644 Pod-Coverage-0.20.tar.gz diff --git a/Pod-Coverage-0.20.tar.bz2 b/Pod-Coverage-0.20.tar.bz2 new file mode 100644 index 0000000..7ec6336 --- /dev/null +++ b/Pod-Coverage-0.20.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a214b4a39a0167aece4d7a6634b89b0b17b3e337eb0cfaeb82f16dbc88f8b69 +size 11812 diff --git a/Pod-Coverage-0.20.tar.gz b/Pod-Coverage-0.20.tar.gz deleted file mode 100644 index cffe574..0000000 --- a/Pod-Coverage-0.20.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d7e184b32c9dfc1b3c73b37eb7c4e4632773bae29a1ccf66316989190d5d0892 -size 13224 diff --git a/perl-Pod-Coverage.changes b/perl-Pod-Coverage.changes index 2e4b092..2a6e431 100644 --- a/perl-Pod-Coverage.changes +++ b/perl-Pod-Coverage.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Apr 22 20:44:14 UTC 2010 - chris@computersalat.de + +- cleanup spec + o bzipped Source + o fix perl-macros deps + o updated description + o Makefile.PL > Build.PL + o removed .packlist, perllocal.pod file > noarch pkg + o examples to doc + ------------------------------------------------------------------- Sat Jul 25 19:41:27 CEST 2009 - chris@computersalat.de diff --git a/perl-Pod-Coverage.spec b/perl-Pod-Coverage.spec index 926c5fc..05c9ddc 100644 --- a/perl-Pod-Coverage.spec +++ b/perl-Pod-Coverage.spec @@ -22,54 +22,66 @@ 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: 1 +Release: 2 License: Artistic ; GPLv2+ Group: Development/Libraries/Perl Url: http://search.cpan.org/~rclamp/Pod-Coverage -Source: %{cpan_name}-%{version}.tar.gz +Source: %{cpan_name}-%{version}.tar.bz2 +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl +%if 0%{?suse_version} < 1120 BuildRequires: perl-macros -#BuildRequires: perl(Module::Build) +%endif +BuildRequires: perl(Module::Build) +BuildRequires: perl(Pod::Find) >= 0.21 BuildRequires: perl(Test::More) >= 0 BuildRequires: perl(Test::Pod) >= 1.0 # other not perl || perl-base BuildRequires: perl(Devel::Symdump) >= 2.01 -BuildRequires: perl(Pod::Find) >= 0.21 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 - - %{cpan_name} module for perl 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. -_head(n>1) or an _ -subroutine. - Authors: Richard Clamp - Michael Stevens + +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 Makefile.PL -%{__make} +CFLAGS="$RPM_OPT_FLAGS" %{__perl} Build.PL --prefix $RPM_BUILD_ROOT/usr --installdirs vendor +./Build %check -%{__make} test +./Build test %install -%perl_make_install -%perl_process_packlist +./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 %perl_gen_filelist %clean @@ -78,6 +90,6 @@ CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL %files -f %{name}.files # normally you only need to check for doc files %defattr(-,root,root) -%doc Changes +%doc Changes examples %changelog