commit perl-Test-NoWarnings for openSUSE:Factory
Hello community,
here is the log from the commit of package perl-Test-NoWarnings for openSUSE:Factory
checked in at Mon Sep 19 21:38:29 CEST 2011.
--------
--- perl-Test-NoWarnings/perl-Test-NoWarnings.changes 2011-03-15 10:10:03.000000000 +0100
+++ /mounts/work_src_done/STABLE/perl-Test-NoWarnings/perl-Test-NoWarnings.changes 2011-09-19 11:25:14.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Sep 19 09:22:10 UTC 2011 - coolo@suse.com
+
+- updated to 1.03
+ - Test::Builder and Test::Tester dependencies were the wrong way
+ around, corrected (ADAMK)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
Test-NoWarnings-1.02.tar.bz2
New:
----
Test-NoWarnings-1.03.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-NoWarnings.spec ++++++
--- /var/tmp/diff_new_pack.NDpY1L/_old 2011-09-19 21:38:25.000000000 +0200
+++ /var/tmp/diff_new_pack.NDpY1L/_new 2011-09-19 21:38:25.000000000 +0200
@@ -15,46 +15,48 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
Name: perl-Test-NoWarnings
-%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
-Summary: Make sure you didn't emit any warnings while testing
-Version: 1.02
-Release: 7
+Version: 1.03
+Release: 1
License: LGPLv2.1+
+%define cpan_name Test-NoWarnings
+Summary: Make sure you didn't emit any warnings while testing
+Url: http://search.cpan.org/dist/Test-NoWarnings/
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/perldoc?Test::NoWarnings
-Source: %{cpan_name}-%{version}.tar.bz2
+Source: http://www.cpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz
+BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Test::Tester) >= 0.103
-Requires: perl(Test::Tester) >= 0.103
+BuildRequires: perl(Test::Builder) >= 0.86
+BuildRequires: perl(Test::Tester) >= 0.107
+#BuildRequires: perl(Test::NoWarnings)
+#BuildRequires: perl(Test::NoWarnings::Warning)
+Requires: perl(Test::Builder) >= 0.86
+%{perl_requires}
%description
+In general, your tests shouldn't produce warnings. This modules causes any
+warnings to be captured and stored. It automatically adds an extra test
+that will run when your script ends to check that there were no warnings.
+If there were any warings, the test will give a "not ok" and diagnostics of
+where, when and what the warning was, including a stack trace of what was
+going on when the it occurred.
+
+If some of your tests *are supposed to* produce warnings then you should be
+capturing and checking them with the Test::Warn manpage, that way the
+Test::NoWarnings manpage will not see them and so not complain.
- %{cpan_name} module for perl
- In general, your tests shouldn't produce warnings. This modules causes any
- warnings to be captured and stored. It automatically adds an extra test that
- will run when your script ends to check that there were no warnings. If there
- were any warings, the test will give a "not ok" and diagnostics of where, when
- and what the warning was, including a stack trace of what was going on when the
- it occurred.
- If some of your tests are supposed to produce warnings then you should be
- capturing and checking them with Test::Warn, that way Test::NoWarnings will not
- see them and so not complain.
- The test is run by an END block in Test::NoWarnings. It will not be run when
- any forked children exit.
- Author: Fergal Daly
participants (1)
-
root@hilbert.suse.de