diff --git a/perl-Test-Vars.spec b/perl-Test-Vars.spec index cd31345..edb9408 100644 --- a/perl-Test-Vars.spec +++ b/perl-Test-Vars.spec @@ -1,5 +1,5 @@ Name: perl-Test-Vars -Version: 0.007 +Version: 0.008 Release: 1%{?dist} Summary: Detects unused variables License: GPL+ or Artistic @@ -38,6 +38,12 @@ BuildRequires: perl(warnings) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Tester) # =================================================================== +# Optional test requirements +# =================================================================== +%if !0%{?rhel:1} && !0%{?perl_bootstrap:1} +BuildRequires: perl(Moose::Role) +%endif +# =================================================================== # Author/Release test requirements # =================================================================== BuildRequires: perl(Test::Pod::Coverage) >= 1.04 @@ -80,6 +86,13 @@ perl Build.PL --installdirs=vendor %{_mandir}/man3/Test::Vars.3* %changelog +* Thu Aug 20 2015 Paul Howarth - 0.008-1 +- Update to 0.008 + - In some corner cases, Test::Vars would try to look inside the body of a + stub sub ("sub foo;") and then blow up; this could be triggered by + declaring a stub sub and then an attribute with a reader of the same name + in a Moose::Role, for example + * Wed Aug 19 2015 Paul Howarth - 0.007-1 - Update to 0.007 - Fix tests with threaded Perl 5.22+ diff --git a/sources b/sources index 977b209..cb9dbf2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -064dcba9d5f71411fa50e9f2fe9a41e4 Test-Vars-0.007.tar.gz +2b382f5e8fcbf12cff09e01a417c3677 Test-Vars-0.008.tar.gz