diff --git a/Test-MockModule-0.13.tar.gz b/Test-MockModule-0.13.tar.gz deleted file mode 100644 index 5d29074..0000000 --- a/Test-MockModule-0.13.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7473742a0d600eb11766752c79a966570755168105ee4d4e33d90466b7339053 -size 24561 diff --git a/Test-MockModule-0.14.tar.gz b/Test-MockModule-0.14.tar.gz new file mode 100644 index 0000000..ed6414a --- /dev/null +++ b/Test-MockModule-0.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:049b9c4104b7b67b9441727b8ad4b5e463c1bca411973176ccc738eb0382df53 +size 25217 diff --git a/perl-Test-MockModule.changes b/perl-Test-MockModule.changes index bd2062e..15a110f 100644 --- a/perl-Test-MockModule.changes +++ b/perl-Test-MockModule.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun May 6 06:00:00 UTC 2018 - coolo@suse.com + +- updated to 0.14 + see /usr/share/doc/packages/perl-Test-MockModule/Changes + + v0.14 + - Fixes a bug where the `redefine()` function was dying when attempting to + mock a function that was defined further up a module's inheritance chain. + It now only dies when the mocked function does not exist in the module being + mocked, or any of its parent modules. Thanks @atoomic for the improvement! + ------------------------------------------------------------------- Fri Oct 6 06:03:16 UTC 2017 - coolo@suse.com diff --git a/perl-Test-MockModule.spec b/perl-Test-MockModule.spec index 450e688..447dc4b 100644 --- a/perl-Test-MockModule.spec +++ b/perl-Test-MockModule.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Test-MockModule # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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,12 +17,12 @@ Name: perl-Test-MockModule -Version: 0.13 +Version: 0.14 Release: 0 #Upstream: GPL-1.0+ %define cpan_name Test-MockModule Summary: Override subroutines in a module for unit testing -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Test-MockModule/ Source0: https://cpan.metacpan.org/authors/id/G/GF/GFRANKS/%{cpan_name}-%{version}.tar.gz @@ -34,6 +34,7 @@ BuildRequires: perl-macros BuildRequires: perl(Module::Build) >= 0.380000 BuildRequires: perl(SUPER) BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(Test::Warnings) Requires: perl(SUPER) %{perl_requires}