From fad28b9a4c3db9979128a375f60522a84a3fabee Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Thu, 20 Aug 2015 10:19:33 +0100
Subject: Update to 0.008

- New upstream release 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

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 <p...@city-fan.org> - 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 <p...@city-fan.org> - 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
-- 
cgit v0.10.2


        
http://pkgs.fedoraproject.org/cgit/perl-Test-Vars.git/commit/?h=f23&id=fad28b9a4c3db9979128a375f60522a84a3fabee
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to