Accepting request 28392 from devel:languages:perl

Copy from devel:languages:perl/perl-Pod-Coverage based on submit request 28392 from user coolo

OBS-URL: https://build.opensuse.org/request/show/28392
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Pod-Coverage?expand=0&rev=6
This commit is contained in:
OBS User autobuild 2010-01-11 14:58:29 +00:00 committed by Git OBS Bridge
parent 95cfc2030f
commit 7668e99573
4 changed files with 70 additions and 53 deletions

View File

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

3
Pod-Coverage-0.20.tar.gz Normal file
View File

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

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Sat Jul 25 19:41:27 CEST 2009 - chris@computersalat.de
- spec mods
* removed ^----------
* removed ^#---------
-------------------------------------------------------------------
Fri Jun 19 01:09:49 CEST 2009 - chris@computersalat.de
- spec fix for perl-macros
-------------------------------------------------------------------
Wed Jun 17 00:38:54 CEST 2009 - chris@computersalat.de
- added perl-macros
o autogen filelist with perl_gen_filelist
-------------------------------------------------------------------
Sun Jun 14 16:49:54 CEST 2009 - chris@computersalat.de
- update to new version 0.20
o Fix t/lib/Fully/Qualified.pm to have a 1; (Zefram)
o Ship t/09whitespace.t - had missed it before
- spec mods
o fixed deps
o updated header
o autogen filelist
-------------------------------------------------------------------
Tue Nov 20 12:56:09 CET 2007 - pth@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Pod-Coverage (Version 0.19)
# spec file for package perl-Pod-Coverage (Version 0.20)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,77 +19,65 @@
Name: perl-Pod-Coverage
BuildRequires: perl-Devel-Symdump perl-Module-Info perl-Pod-Escapes perl-Pod-Simple perl-Test-Pod perl-YAML
Url: http://search.cpan.org/~rclamp/Pod-Coverage
License: Artistic License; GPL v2 or later
Group: Development/Libraries/Perl
Requires: perl-Devel-Symdump, perl = %{perl_version}
AutoReqProv: on
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Check if the documentation of a module is comprehensive
Version: 0.19
Release: 59
Source: Pod-Coverage-%{version}.tar.bz2
Version: 0.20
Release: 1
License: Artistic ; GPLv2+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/~rclamp/Pod-Coverage
Source: %{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
#BuildRequires: perl(Module::Build)
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}
# 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 <richardc@unixbeard.net>
Michael Stevens <mstevens@etla.org>
Authors: Richard Clamp <richardc@unixbeard.net>
Michael Stevens <mstevens@etla.org>
%prep
%setup -n Pod-Coverage-%{version}
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL
make
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%{__make}
%check
make test
# ---------------------------------------------------------------------------
%{__make} test
%install
make DESTDIR=%buildroot install_vendor
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf %buildroot
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%files -f %{name}.files
# normally you only need to check for doc files
%defattr(-,root,root)
%doc Changes README
%dir %{perl_vendorlib}/Pod
%dir %{perl_vendorlib}/Pod/Coverage
%dir %{perl_vendorarch}/auto/Pod
%dir %{perl_vendorarch}/auto/Pod/Coverage
%{perl_vendorlib}/Pod/Coverage.pm
%{perl_vendorlib}/Pod/Coverage/CountParents.pm
%{perl_vendorlib}/Pod/Coverage/ExportOnly.pm
%{perl_vendorlib}/Pod/Coverage/Overloader.pm
%{perl_vendorarch}/auto/Pod/Coverage/.packlist
%doc %{_mandir}/man3/*.3pm.gz
/var/adm/perl-modules/%{name}
%{_bindir}/pod_cover
%doc Changes
%changelog
* Tue Nov 20 2007 pth@suse.de
- Update to 0.19:
Don't use _CvGV to determine if a sub was imported, there's a handy
flag - GVf_IMPORTED_CV. Fixes 5.9.5 and future perls
* Fri Oct 20 2006 pth@suse.de
- Initial package