Accepting request 350859 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/350859 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Warnings?expand=0&rev=14
This commit is contained in:
parent
0e23ca6a1b
commit
150fb21154
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d98a182e333d58bd7fc68fdc6d9f548624df07d73bdb124bd1af5087e1cc2c44
|
|
||||||
size 34390
|
|
3
Test-Warnings-0.024.tar.gz
Normal file
3
Test-Warnings-0.024.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:263402bdb1abeb2a677d6d2e86ac1bfdf5c0445b51d05cb7393901e4cab8fdee
|
||||||
|
size 37279
|
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
|
@ -1,3 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 26 10:18:59 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 0.024
|
||||||
|
see /usr/share/doc/packages/perl-Test-Warnings/Changes
|
||||||
|
|
||||||
|
0.024 2015-12-24 18:44:29Z
|
||||||
|
- remove diagnostics accidentally left in new test
|
||||||
|
|
||||||
|
0.023 2015-12-22 06:44:24Z
|
||||||
|
- properly handle propagating warnings to previously declared
|
||||||
|
handlers that are not coderefs (i.e. a sub name, or the magic
|
||||||
|
DEFAULT and IGNORE)
|
||||||
|
|
||||||
|
0.022 2015-12-19 00:32:42Z
|
||||||
|
- propagate all warnings to any previously-declared __WARN__
|
||||||
|
handlers (unlike with __DIE__, merely calling warn() is not
|
||||||
|
sufficient)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 15 14:53:05 UTC 2015 - coolo@suse.com
|
Wed Apr 15 14:53:05 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-Test-Warnings
|
Name: perl-Test-Warnings
|
||||||
Version: 0.021
|
Version: 0.024
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name Test-Warnings
|
%define cpan_name Test-Warnings
|
||||||
Summary: Test for warnings and the lack of them
|
Summary: Test for warnings and the lack of them
|
||||||
@ -25,11 +25,12 @@ License: Artistic-1.0 or GPL-1.0+
|
|||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/Test-Warnings/
|
Url: http://search.cpan.org/dist/Test-Warnings/
|
||||||
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
|
||||||
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(CPAN::Meta::Check) >= 0.007
|
BuildRequires: perl(CPAN::Meta::Check) >= 0.011
|
||||||
BuildRequires: perl(CPAN::Meta::Requirements)
|
BuildRequires: perl(CPAN::Meta::Requirements)
|
||||||
BuildRequires: perl(Test::More) >= 0.94
|
BuildRequires: perl(Test::More) >= 0.94
|
||||||
BuildRequires: perl(parent)
|
BuildRequires: perl(parent)
|
||||||
@ -37,19 +38,19 @@ Requires: perl(parent)
|
|||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
If you've ever tried to use the Test::NoWarnings manpage to confirm there
|
If you've ever tried to use Test::NoWarnings to confirm there are no
|
||||||
are no warnings generated by your tests, combined with the convenience of
|
warnings generated by your tests, combined with the convenience of
|
||||||
'done_testing' to not have to declare a Test::More/I love
|
'done_testing' to not have to declare a test count, you'll have discovered
|
||||||
it-when-a-plan-comes-together, you'll have discovered that these two
|
that these two features do not play well together, as the test count will
|
||||||
features do not play well together, as the test count will be calculated
|
be calculated _before_ the warnings test is run, resulting in a TAP error.
|
||||||
_before_ the warnings test is run, resulting in a TAP error. (See
|
(See 'examples/test_nowarnings.pl' in this distribution for a
|
||||||
'examples/test_nowarnings.pl' in this distribution for a demonstration.)
|
demonstration.)
|
||||||
|
|
||||||
This module is intended to be used as a drop-in replacement for the
|
This module is intended to be used as a drop-in replacement for
|
||||||
Test::NoWarnings manpage: it also adds an extra test, but runs this test
|
Test::NoWarnings: it also adds an extra test, but runs this test _before_
|
||||||
_before_ 'done_testing' calculates the test count, rather than after. It
|
'done_testing' calculates the test count, rather than after. It does this
|
||||||
does this by hooking into 'done_testing' as well as via an 'END' block. You
|
by hooking into 'done_testing' as well as via an 'END' block. You can
|
||||||
can declare a plan, or not, and things will still Just Work.
|
declare a plan, or not, and things will still Just Work.
|
||||||
|
|
||||||
It is actually equivalent to:
|
It is actually equivalent to:
|
||||||
|
|
||||||
@ -59,8 +60,8 @@ as warnings are still printed normally as they occur. You are safe, and
|
|||||||
enthusiastically encouraged, to perform a global search-replace of the
|
enthusiastically encouraged, to perform a global search-replace of the
|
||||||
above with 'use Test::Warnings;' whether or not your tests have a plan.
|
above with 'use Test::Warnings;' whether or not your tests have a plan.
|
||||||
|
|
||||||
It can also be used as a replacement for the Test::Warn manpage, if you
|
It can also be used as a replacement for Test::Warn, if you wish to test
|
||||||
wish to test the content of expected warnings; read on to find out how.
|
the content of expected warnings; read on to find out how.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
@ -79,6 +80,6 @@ wish to test the content of expected warnings; read on to find out how.
|
|||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes CONTRIBUTING examples LICENSE README
|
%doc Changes CONTRIBUTING examples LICENCE README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user