forked from pool/perl-Pod-Coverage
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:
committed by
Git OBS Bridge
parent
807218bc81
commit
93c743b6a2
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9a214b4a39a0167aece4d7a6634b89b0b17b3e337eb0cfaeb82f16dbc88f8b69
|
|
||||||
size 11812
|
|
3
Pod-Coverage-0.21.tar.bz2
Normal file
3
Pod-Coverage-0.21.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6f5655f123890b28d1432df832fc50629b0d976cef33910c66b4e7975d5060db
|
||||||
|
size 12009
|
@@ -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
|
Thu Apr 22 20:44:14 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
@@ -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.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@@ -17,79 +17,71 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
%bcond_with pod
|
||||||
|
|
||||||
Name: perl-Pod-Coverage
|
Name: perl-Pod-Coverage
|
||||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
%define cpan_name Pod-Coverage
|
||||||
Summary: Check if the documentation of a module is comprehensive
|
Summary: Checks if the documentation of a module is comprehensive
|
||||||
Version: 0.20
|
Version: 0.21
|
||||||
Release: 2
|
Release: 1
|
||||||
License: Artistic ; GPLv2+
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries/Perl
|
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
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
%if 0%{?suse_version} < 1120
|
%if 0%{?suse_version} < 1120
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: perl(Module::Build)
|
%if %{with pod}
|
||||||
BuildRequires: perl(Pod::Find) >= 0.21
|
|
||||||
BuildRequires: perl(Test::More) >= 0
|
|
||||||
BuildRequires: perl(Test::Pod) >= 1.0
|
BuildRequires: perl(Test::Pod) >= 1.0
|
||||||
# other not perl || perl-base
|
%endif
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
BuildRequires: perl(Devel::Symdump) >= 2.01
|
BuildRequires: perl(Devel::Symdump) >= 2.01
|
||||||
BuildRequires: perl(Pod::Parser) >= 1.13
|
|
||||||
#
|
#
|
||||||
Requires: perl = %{perl_version}
|
Requires: perl = %{perl_version}
|
||||||
Requires: perl(Pod::Find) >= 0.21
|
|
||||||
# other not perl || perl-base
|
|
||||||
Requires: perl(Devel::Symdump) >= 2.01
|
Requires: perl(Devel::Symdump) >= 2.01
|
||||||
|
Requires: perl(Pod::Find) >= 0.21
|
||||||
Requires: perl(Pod::Parser) >= 1.13
|
Requires: perl(Pod::Parser) >= 1.13
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Developers hate writing documentation. They'd hate it even more if
|
Developers hate writing documentation. They'd hate it even more if their
|
||||||
their computer tattled on them, but maybe they'll be even more thankful
|
computer tattled on them, but maybe they'll be even more thankful in the
|
||||||
in the long run. Even if not, perlmodstyle tells you to, so you must
|
long run. Even if not, perlmodstyle tells you to, so you must obey.
|
||||||
obey.
|
|
||||||
|
|
||||||
This module provides a mechanism for determining if the pod for a given
|
This module provides a mechanism for determining if the pod for a given
|
||||||
module is comprehensive.
|
module is comprehensive.
|
||||||
|
|
||||||
It expects to find either a =head(n>1) or an =item block documenting
|
It expects to find either a =head(n>1) or an =item block documenting a
|
||||||
a subroutine.
|
subroutine.
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Richard Clamp <richardc@unixbeard.net>
|
Richard Clamp <richardc@unixbeard.net>
|
||||||
Michael Stevens <mstevens@etla.org>
|
Michael Stevens <mstevens@etla.org>
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" %{__perl} Build.PL --prefix $RPM_BUILD_ROOT/usr --installdirs vendor
|
%{__perl} Build.PL installdirs=vendor
|
||||||
./Build
|
./Build build flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||||
# 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
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
# normally you only need to check for doc files
|
%defattr(-,root,root,-)
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc Changes examples
|
%doc Changes examples
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user