pghmcfc pushed to perl-Test-Vars (f23). "Update to 0.008 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Aug 20 09:25:52 UTC 2015


From fad28b9a4c3db9979128a375f60522a84a3fabee Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at 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 <paul at 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 <paul at 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


More information about the perl-devel mailing list