forked from pool/perl-Pod-Coverage
Compare commits
13 Commits
f1a3fda188
...
factory
Author | SHA256 | Date | |
---|---|---|---|
f71616794d | |||
71a373405c | |||
|
8b44804a8a | ||
|
bd0b604ca8 | ||
|
89047070be | ||
|
a3a6a1fd88 | ||
|
0f7841f585 | ||
|
6868db765a | ||
|
792bf829ab | ||
|
aa3238b954 | ||
|
8e5b3a5bd3 | ||
|
161822606a | ||
|
749dfc9068 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:03304d36ebb555d86b8144a7e9fd5cfafc804b9fb9ff745b067b71066d39af90
|
||||
size 13328
|
BIN
Pod-Coverage-0.23.tar.gz
(Stored with Git LFS)
Normal file
BIN
Pod-Coverage-0.23.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 28 13:44:33 UTC 2020 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||
|
||||
- fix build with perl 5.32 by regenerating spec with cpanspec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 16 12:59:16 CEST 2013 - pth@suse.de
|
||||
|
||||
- Update to 0.23:
|
||||
Distinguish 'package didn't compile' from 'package has no symbols'
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 21 09:12:16 UTC 2012 - coolo@suse.com
|
||||
|
||||
- recreate with cpanspec to fix build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 15 12:30:23 CET 2012 - pth@suse.de
|
||||
|
||||
- Update to 0.22:
|
||||
* POD spelling corrections. (rt #22113)
|
||||
* Add "unimport" to the stoplist. (rt #33914)
|
||||
- Fix spec file as build now uses Makefile.PL.
|
||||
- remove created perllocal.pod.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 18 11:09:03 UTC 2011 - coolo@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Pod-Coverage
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,74 +12,76 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%bcond_with pod
|
||||
|
||||
Name: perl-Pod-Coverage
|
||||
Version: 0.23
|
||||
Release: 0
|
||||
%define cpan_name Pod-Coverage
|
||||
Summary: Checks if the documentation of a module is comprehensive
|
||||
Version: 0.21
|
||||
Release: 2
|
||||
License: GPL+ or Artistic
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
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.gz
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl-macros
|
||||
%if %{with pod}
|
||||
BuildRequires: perl(Test::Pod) >= 1.0
|
||||
%endif
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Devel::Symdump) >= 2.01
|
||||
#
|
||||
BuildRequires: perl(Pod::Find) >= 0.21
|
||||
BuildRequires: perl(Pod::Parser) >= 1.13
|
||||
Requires: perl(Devel::Symdump) >= 2.01
|
||||
Requires: perl(Pod::Find) >= 0.21
|
||||
Requires: perl(Pod::Parser) >= 1.13
|
||||
%{perl_requires}
|
||||
|
||||
%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.
|
||||
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
|
||||
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>
|
||||
Consider: # an imaginary Foo.pm package Foo;
|
||||
|
||||
=item foo
|
||||
|
||||
The foo sub
|
||||
|
||||
= cut
|
||||
|
||||
sub foo {}
|
||||
sub bar {}
|
||||
|
||||
1;
|
||||
__END__
|
||||
|
||||
In this example 'Foo::foo' is covered, but 'Foo::bar' is not, so the 'Foo'
|
||||
package is only 50% (0.5) covered
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
make test
|
||||
|
||||
%install
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes examples
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user