8
0

Accepting request 45169 from devel:languages:perl

Copy from devel:languages:perl/perl-Pod-Coverage based on submit request 45169 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/45169
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Pod-Coverage?expand=0&rev=11
This commit is contained in:
OBS User autobuild
2010-08-09 20:15:47 +00:00
committed by Git OBS Bridge
parent 807218bc81
commit 93c743b6a2
4 changed files with 35 additions and 35 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9a214b4a39a0167aece4d7a6634b89b0b17b3e337eb0cfaeb82f16dbc88f8b69
size 11812

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6f5655f123890b28d1432df832fc50629b0d976cef33910c66b4e7975d5060db
size 12009

View File

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

View File

@@ -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 <richardc@unixbeard.net>
Michael Stevens <mstevens@etla.org>
%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