Hello community,
here is the log from the commit of package perl-Test-Exception-LessClever for
openSUSE:Factory checked in at 2016-06-25 02:24:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Exception-LessClever (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-Exception-LessClever.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Exception-LessClever"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Test-Exception-LessClever/perl-Test-Exception-LessClever.changes
2014-09-18 07:12:44.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Test-Exception-LessClever.new/perl-Test-Exception-LessClever.changes
2016-06-25 02:24:42.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Jun 23 07:08:12 UTC 2016 - [email protected]
+
+- updated to 0.007
+ see /usr/share/doc/packages/perl-Test-Exception-LessClever/
+
+-------------------------------------------------------------------
Old:
----
Test-Exception-LessClever-0.006.tar.gz
New:
----
Test-Exception-LessClever-0.007.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-Exception-LessClever.spec ++++++
--- /var/tmp/diff_new_pack.CMoA8A/_old 2016-06-25 02:24:43.000000000 +0200
+++ /var/tmp/diff_new_pack.CMoA8A/_new 2016-06-25 02:24:43.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-Exception-LessClever
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,29 +17,32 @@
Name: perl-Test-Exception-LessClever
-Version: 0.006
+Version: 0.007
Release: 0
%define cpan_name Test-Exception-LessClever
-Summary: Test::Exception simplified
+Summary: Test::Exception simplified ***DEPRECATED***
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-Exception-LessClever/
-Source:
http://www.cpan.org/authors/id/E/EX/EXODIST/%{cpan_name}-%{version}.tar.gz
+Source0:
http://www.cpan.org/authors/id/E/EX/EXODIST/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Mock::Quick) >= 1.100
-BuildRequires: perl(Module::Build) >= 0.38
+BuildRequires: perl(Module::Build) >= 0.420000
BuildRequires: perl(Test::Simple) >= 0.88
%{perl_requires}
%description
-An alternative to the Test::Exception manpage that is much simpler. This
-alternative does not use fancy stack tricks to hide itself. The idea here
-is to keep it simple. This also solves the Test::Exception bug where some
-dies will be hidden when a DESTROY method calls eval. If a DESTROY method
-masks $@ a warning will be generated as well.
+*** This is deprecated please do not use it ***
+
+An alternative to Test::Exception that is much simpler. This alternative
+does not use fancy stack tricks to hide itself. The idea here is to keep it
+simple. This also solves the Test::Exception bug where some dies will be
+hidden when a DESTROY method calls eval. If a DESTROY method masks $@ a
+warning will be generated as well.
%prep
%setup -q -n %{cpan_name}-%{version}
++++++ Test-Exception-LessClever-0.006.tar.gz ->
Test-Exception-LessClever-0.007.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Exception-LessClever-0.006/Build.PL
new/Test-Exception-LessClever-0.007/Build.PL
--- old/Test-Exception-LessClever-0.006/Build.PL 2011-04-07
03:39:35.000000000 +0200
+++ new/Test-Exception-LessClever-0.007/Build.PL 2016-06-20
21:01:12.000000000 +0200
@@ -17,6 +17,11 @@
'Test::Simple' => 0.88,
'Mock::Quick' => '1.100',
},
+ meta_merge => {
+ resources => {
+ repository =>
'https://github.com/exodist/Test-Exception-LessClever',
+ },
+ },
);
$build->create_build_script;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Exception-LessClever-0.006/META.json
new/Test-Exception-LessClever-0.007/META.json
--- old/Test-Exception-LessClever-0.006/META.json 2011-04-07
03:39:35.000000000 +0200
+++ new/Test-Exception-LessClever-0.007/META.json 2016-06-20
21:01:12.000000000 +0200
@@ -1,10 +1,10 @@
{
- "abstract" : "Test::Exception simplified",
+ "abstract" : "Test::Exception simplified ***DEPRECATED***",
"author" : [
"Chad Granum <[email protected]>"
],
"dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version
2.110440",
+ "generated_by" : "Module::Build version 0.4218",
"license" : [
"perl_5"
],
@@ -22,28 +22,31 @@
},
"configure" : {
"requires" : {
- "Module::Build" : "0.38"
+ "Module::Build" : "0.42"
}
},
"runtime" : {
"requires" : {
- "Carp" : 0,
- "Exporter" : 0,
- "Test::Builder" : 0
+ "Carp" : "0",
+ "Exporter" : "0",
+ "Test::Builder" : "0"
}
}
},
"provides" : {
"Test::Exception::LessClever" : {
"file" : "lib/Test/Exception/LessClever.pm",
- "version" : "0.006"
+ "version" : "0.007"
}
},
"release_status" : "stable",
"resources" : {
"license" : [
"http://dev.perl.org/licenses/"
- ]
+ ],
+ "repository" : {
+ "url" : "https://github.com/exodist/Test-Exception-LessClever"
+ }
},
- "version" : "0.006"
+ "version" : "0.007"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Exception-LessClever-0.006/META.yml
new/Test-Exception-LessClever-0.007/META.yml
--- old/Test-Exception-LessClever-0.006/META.yml 2011-04-07
03:39:35.000000000 +0200
+++ new/Test-Exception-LessClever-0.007/META.yml 2016-06-20
21:01:12.000000000 +0200
@@ -1,27 +1,28 @@
---
-abstract: 'Test::Exception simplified'
+abstract: 'Test::Exception simplified ***DEPRECATED***'
author:
- 'Chad Granum <[email protected]>'
build_requires:
- Mock::Quick: 1.100
- Test::Simple: 0.88
+ Mock::Quick: '1.100'
+ Test::Simple: '0.88'
configure_requires:
- Module::Build: 0.38
+ Module::Build: '0.42'
dynamic_config: 1
-generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version
2.110440'
+generated_by: 'Module::Build version 0.4218, CPAN::Meta::Converter version
2.150001'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Test-Exception-LessClever
provides:
Test::Exception::LessClever:
file: lib/Test/Exception/LessClever.pm
- version: 0.006
+ version: '0.007'
requires:
- Carp: 0
- Exporter: 0
- Test::Builder: 0
+ Carp: '0'
+ Exporter: '0'
+ Test::Builder: '0'
resources:
license: http://dev.perl.org/licenses/
-version: 0.006
+ repository: https://github.com/exodist/Test-Exception-LessClever
+version: '0.007'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-Exception-LessClever-0.006/README
new/Test-Exception-LessClever-0.007/README
--- old/Test-Exception-LessClever-0.006/README 2011-04-07 03:39:35.000000000
+0200
+++ new/Test-Exception-LessClever-0.007/README 2016-06-20 21:01:12.000000000
+0200
@@ -1,14 +1,20 @@
NAME
+
Test::Exception::LessClever - Test::Exception simplified
+ ***DEPRECATED***
DESCRIPTION
- An alternative to Test::Exception that is much simpler. This alternative
- does not use fancy stack tricks to hide itself. The idea here is to keep
- it simple. This also solves the Test::Exception bug where some dies will
- be hidden when a DESTROY method calls eval. If a DESTROY method masks $@
- a warning will be generated as well.
+
+ *** This is deprecated please do not use it ***
+
+ An alternative to Test::Exception that is much simpler. This
+ alternative does not use fancy stack tricks to hide itself. The idea
+ here is to keep it simple. This also solves the Test::Exception bug
+ where some dies will be hidden when a DESTROY method calls eval. If a
+ DESTROY method masks $@ a warning will be generated as well.
WHY REWRITE TEST-EXCEPTION
+
Here is an IRC log.
<Exodist> wtf? Bizarre copy of HASH in sassign at
/usr/lib64/perl5/5.10.1/Carp/Heavy.pm line 104
@@ -19,65 +25,75 @@
<confound> less clever would be more useful
SYNOPSYS
+
Pretty much a clone of Test::Exception Refer to those docs for more
details.
use Test::More;
use Test::Exception;
-
+
dies_ok { die( 'xxx' )} "Should die";
lives_ok { 1 } "Should live";
throws_ok { die( 'xxx' )} qr/xxx/, "Throws 'xxx'";
lives_and { ok( 1, "We did not die" )} "Ooops we died";
-
+
done_testing;
EXPORTABLE FUNCTIONS
+
$status = live_or_die( sub { ... }, $name )
+
($status, $msg) = live_or_die( sub { ... }, $name )
- Check if the code lives or dies. In scalar context returns true or
- false. In array context returns the same true or false with the
- error message. If the return is true the error message will be
- something along the lines of 'did not die' but this may change in
- the future.
-
- Will generate a warning if the test dies, $@ is empty AND called in
- array context. This usually occurs when an objects DESTROY method
- calls eval and masks $@.
- *NOT EXPORTED BY DEFAULT*
+ Check if the code lives or dies. In scalar context returns true or
+ false. In array context returns the same true or false with the error
+ message. If the return is true the error message will be something
+ along the lines of 'did not die' but this may change in the future.
+
+ Will generate a warning if the test dies, $@ is empty AND called in
+ array context. This usually occurs when an objects DESTROY method
+ calls eval and masks $@.
+
+ *NOT EXPORTED BY DEFAULT*
lives_ok( sub { ... }, $name )
- Test passes if the sub does not die, false if it does.
+
+ Test passes if the sub does not die, false if it does.
dies_ok( sub { ... }, $name )
- Test passes if the sub dies, false if it does not.
+
+ Test passes if the sub dies, false if it does not.
throws_ok( sub { ... }, qr/message/, $name )
- Check that the sub dies, and that it throws an error that matches
- the regex.
- Test fails is the sub does not die, or if the message does not match
- the regex.
+ Check that the sub dies, and that it throws an error that matches the
+ regex.
+
+ Test fails is the sub does not die, or if the message does not match
+ the regex.
lives_and( sub {...}, $name )
- Fails with $name if the sub dies, otherwise is passive. This is
- useful for running a test that could die. If it dies there is a
- failure, fi ti lives it is responsible for itself.
+
+ Fails with $name if the sub dies, otherwise is passive. This is
+ useful for running a test that could die. If it dies there is a
+ failure, if it lives it is responsible for itself.
SEE ALSO
+
Test::Exception
AUTHORS
+
Chad Granum [email protected]
COPYRIGHT
+
Copyright (C) 2010 Chad Granum
Test-Exception-LessClever is free software; Standard perl licence.
Test-Exception-LessClever is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for
- more details.
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license
+ for more details.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Test-Exception-LessClever-0.006/lib/Test/Exception/LessClever.pm
new/Test-Exception-LessClever-0.007/lib/Test/Exception/LessClever.pm
--- old/Test-Exception-LessClever-0.006/lib/Test/Exception/LessClever.pm
2011-04-07 03:39:35.000000000 +0200
+++ new/Test-Exception-LessClever-0.007/lib/Test/Exception/LessClever.pm
2016-06-20 21:01:12.000000000 +0200
@@ -10,10 +10,12 @@
=head1 NAME
-Test::Exception::LessClever - Test::Exception simplified
+Test::Exception::LessClever - Test::Exception simplified ***DEPRECATED***
=head1 DESCRIPTION
+*** This is deprecated please do not use it ***
+
An alternative to L<Test::Exception> that is much simpler. This alternative
does not use fancy stack tricks to hide itself. The idea here is to keep it
simple. This also solves the Test::Exception bug where some dies will be hidden
@@ -57,7 +59,7 @@
our @EXPORT = qw/lives_ok dies_ok throws_ok lives_and/;
our @CARP_NOT = ( __PACKAGE__ );
our $TB = Test::Builder->new;
-our $VERSION = "0.006";
+our $VERSION = "0.007";
=item $status = live_or_die( sub { ... }, $name )
@@ -154,7 +156,7 @@
=item lives_and( sub {...}, $name )
Fails with $name if the sub dies, otherwise is passive. This is useful for
-running a test that could die. If it dies there is a failure, fi ti lives it is
+running a test that could die. If it dies there is a failure, if it lives it is
responsible for itself.
=cut
++++++ cpanspec.yml ++++++
---
#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