From f90618369ce52c6005a29bfc6564f6575aab8e73 Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Sun, 22 May 2016 16:27:19 +0100
Subject: Update to 0.009

- New upstream release 0.009
  - On recent Perls (5.22 and 5.24, maybe more) this module could detect an
    unused variable named "$"; this was a bogus false positive, as opposed to
    just a missing variable name in the output (GH#22)
  - Fixed tests to use File::Spec->catfile to generate paths so that tests pass
    on Windows (based on GH#20)
- Switch to Module::Build::Tiny flow
- BR: perl-generators
---
 perl-Test-Vars.spec | 26 +++++++++++++++++---------
 sources             |  2 +-
 2 files changed, 18 insertions(+), 10 deletions(-)

diff --git a/perl-Test-Vars.spec b/perl-Test-Vars.spec
index f66650e..f9b9259 100644
--- a/perl-Test-Vars.spec
+++ b/perl-Test-Vars.spec
@@ -1,6 +1,6 @@
 Name:          perl-Test-Vars
-Version:       0.008
-Release:       4%{?dist}
+Version:       0.009
+Release:       1%{?dist}
 Summary:       Detects unused variables
 License:       GPL+ or Artistic
 Group:         Development/Libraries
@@ -12,16 +12,13 @@ BuildArch:  noarch
 # ===================================================================
 BuildRequires: coreutils
 BuildRequires: make
-BuildRequires: perl(Module::Build) >= 0.38
-BuildRequires: perl(File::Basename)
-BuildRequires: perl(File::Copy)
-BuildRequires: perl(File::Spec)
-BuildRequires: perl(utf8)
+BuildRequires: perl >= 4:5.10.0
+BuildRequires: perl-generators
+BuildRequires: perl(Module::Build::Tiny) >= 0.035
 BuildRequires: sed
 # ===================================================================
 # Module requirements
 # ===================================================================
-BuildRequires: perl >= 4:5.10.0
 BuildRequires: perl(B)
 BuildRequires: perl(constant)
 BuildRequires: perl(ExtUtils::Manifest)
@@ -35,6 +32,7 @@ BuildRequires:        perl(warnings)
 # ===================================================================
 # Test suite requirements
 # ===================================================================
+BuildRequires: perl(File::Spec::Functions)
 BuildRequires: perl(Test::More) >= 0.88
 BuildRequires: perl(Test::Tester)
 # ===================================================================
@@ -73,7 +71,7 @@ perl Build.PL --installdirs=vendor
 
 %check
 ./Build test
-./Build test --test_files="xt/*.t"
+prove -Ilib $(echo $(find xt/ -name '*.t'))
 
 %files
 %if 0%{?_licensedir:1}
@@ -86,6 +84,16 @@ perl Build.PL --installdirs=vendor
 %{_mandir}/man3/Test::Vars.3*
 
 %changelog
+* Sun May 22 2016 Paul Howarth <p...@city-fan.org> - 0.009-1
+- Update to 0.009
+  - On recent Perls (5.22 and 5.24, maybe more) this module could detect an
+    unused variable named "$"; this was a bogus false positive, as opposed to
+    just a missing variable name in the output (GH#22)
+  - Fixed tests to use File::Spec->catfile to generate paths so that tests pass
+    on Windows (based on GH#20)
+- Switch to Module::Build::Tiny flow
+- BR: perl-generators
+
 * Wed May 18 2016 Jitka Plesnikova <jples...@redhat.com> - 0.008-4
 - Perl 5.24 re-rebuild of bootstrapped packages
 
diff --git a/sources b/sources
index cb9dbf2..ffc3a74 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2b382f5e8fcbf12cff09e01a417c3677  Test-Vars-0.008.tar.gz
+3658e730c4e669a77a7b8fc06ed8ce56  Test-Vars-0.009.tar.gz
-- 
cgit v0.12


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

Reply via email to