Sync from SUSE:SLFO:Main perl-Pod-Coverage-TrustPod revision c05ec4547add540bd089deee3de47da1
This commit is contained in:
commit
247adfd8a1
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
Pod-Coverage-TrustPod-0.100006.tar.gz
(Stored with Git LFS)
Normal file
BIN
Pod-Coverage-TrustPod-0.100006.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@ -0,0 +1,28 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#description: |-
|
||||
# override description from CPAN
|
||||
#summary: override summary from CPAN
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_build: |-
|
||||
# rm unused.files
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
43
perl-Pod-Coverage-TrustPod.changes
Normal file
43
perl-Pod-Coverage-TrustPod.changes
Normal file
@ -0,0 +1,43 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 1 03:13:18 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.100006
|
||||
see /usr/share/doc/packages/perl-Pod-Coverage-TrustPod/Changes
|
||||
|
||||
0.100006 2022-12-31 14:06:16-05:00 America/New_York
|
||||
- update packaging and metadata
|
||||
- minimum required Perl is now v5.12
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 13 06:42:48 UTC 2018 - coolo@suse.com
|
||||
|
||||
- updated to 0.100005
|
||||
see /usr/share/doc/packages/perl-Pod-Coverage-TrustPod/Changes
|
||||
|
||||
0.100005 2018-03-12 08:34:52-04:00 America/New_York
|
||||
- remove an accidentally introduced // operator!
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 5 06:49:43 UTC 2018 - coolo@suse.com
|
||||
|
||||
- updated to 0.100004
|
||||
see /usr/share/doc/packages/perl-Pod-Coverage-TrustPod/Changes
|
||||
|
||||
0.100004 2018-03-04 22:46:25-05:00 America/New_York
|
||||
- report more usefully when a regex can't be compiled
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 18 13:01:50 UTC 2014 - coolo@suse.com
|
||||
|
||||
- updated to 0.100003
|
||||
anchor the regex at both ends when matching symbols: /\A...\z/
|
||||
|
||||
simplify tests to avoid causing bizarre catastrophic failures on
|
||||
5.13.11
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 21 20:24:48 UTC 2011 - coolo@novell.com
|
||||
|
||||
- initial package 0.092832
|
||||
* created by cpanspec 1.78.03
|
||||
|
118
perl-Pod-Coverage-TrustPod.spec
Normal file
118
perl-Pod-Coverage-TrustPod.spec
Normal file
@ -0,0 +1,118 @@
|
||||
#
|
||||
# spec file for package perl-Pod-Coverage-TrustPod
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define cpan_name Pod-Coverage-TrustPod
|
||||
Name: perl-Pod-Coverage-TrustPod
|
||||
Version: 0.100006
|
||||
Release: 0
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Allow a module's pod to contain Pod::Coverage hints
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78
|
||||
BuildRequires: perl(Pod::Coverage::CountParents)
|
||||
BuildRequires: perl(Pod::Eventual::Simple)
|
||||
BuildRequires: perl(Pod::Find)
|
||||
BuildRequires: perl(Test::More) >= 0.96
|
||||
Requires: perl(Pod::Coverage::CountParents)
|
||||
Requires: perl(Pod::Eventual::Simple)
|
||||
Requires: perl(Pod::Find)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
This is a Pod::Coverage subclass (actually, a subclass of
|
||||
Pod::Coverage::CountParents) that allows the POD itself to declare certain
|
||||
symbol names trusted.
|
||||
|
||||
Here is a sample Perl module:
|
||||
|
||||
package Foo::Bar;
|
||||
|
||||
=head1 NAME
|
||||
|
||||
Foo::Bar - a bar at which fooes like to drink
|
||||
|
||||
=head1 METHODS
|
||||
|
||||
=head2 fee
|
||||
|
||||
returns the bar tab
|
||||
|
||||
=cut
|
||||
|
||||
sub fee { ... }
|
||||
|
||||
=head2 fie
|
||||
|
||||
scoffs at bar tab
|
||||
|
||||
=cut
|
||||
|
||||
sub fie { ... }
|
||||
|
||||
sub foo { ... }
|
||||
|
||||
=begin Pod::Coverage
|
||||
|
||||
foo
|
||||
|
||||
=end Pod::Coverage
|
||||
|
||||
=cut
|
||||
|
||||
This file would report full coverage, because any non-empty lines inside a
|
||||
block of POD targeted to Pod::Coverage are treated as 'trustme' patterns.
|
||||
Leading and trailing whitespace is stripped and the remainder is treated as
|
||||
a regular expression anchored at both ends.
|
||||
|
||||
Remember, anywhere you could use '=begin' and '=end' as above, you could
|
||||
instead write:
|
||||
|
||||
=for Pod::Coverage foo
|
||||
|
||||
In some cases, you may wish to make the entire file trusted. The special
|
||||
pattern '*EVERYTHING*' may be provided to do just this.
|
||||
|
||||
Keep in mind that Pod::Coverage::TrustPod sets up exceptions using the
|
||||
"trust" mechanism rather than the "privacy" mechanism in Pod::Coverage.
|
||||
This is unlikely ever to matter to you, but it's true.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user