pghmcfc pushed to perl-Test-Vars (master). "Update to 0.006 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Aug 19 10:22:49 UTC 2015


From 4ace591c483f341c02a45bbb9d93a4fe88a0682c Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Wed, 19 Aug 2015 11:22:14 +0100
Subject: Update to 0.006
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

- New upstream release 0.006
  - This module now calls Test::Builder->diag and ->note _after_ calling ->ok;
    this is more in line with how most test modules work
  - Added a new exported sub, test_vars(), which does not output TAP; this is
    useful for integrating this module with things like Code::TidyAll
- This release by DROLSKY → update source URL
- Use %license where possible

diff --git a/perl-Test-Vars.spec b/perl-Test-Vars.spec
index 600c732..de6b54c 100644
--- a/perl-Test-Vars.spec
+++ b/perl-Test-Vars.spec
@@ -1,23 +1,23 @@
 Name:		perl-Test-Vars
-Version:	0.005
-Release:	8%{?dist}
+Version:	0.006
+Release:	1%{?dist}
 Summary:	Detects unused variables
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 URL:		http://search.cpan.org/dist/Test-Vars/
-Source0:	http://search.cpan.org/CPAN/authors/id/G/GF/GFUJI/Test-Vars-%{version}.tar.gz
+Source0:	http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Test-Vars-%{version}.tar.gz
 BuildArch:	noarch
 # ===================================================================
 # Build requirements
 # ===================================================================
+BuildRequires:	coreutils
+BuildRequires:	make
 BuildRequires:	perl(Module::Build) >= 0.38
-BuildRequires:	perl(CPAN::Meta)
-BuildRequires:	perl(CPAN::Meta::Prereqs)
 BuildRequires:	perl(File::Basename)
+BuildRequires:	perl(File::Copy)
 BuildRequires:	perl(File::Spec)
-BuildRequires:	perl(strict)
 BuildRequires:	perl(utf8)
-BuildRequires:	perl(warnings)
+BuildRequires:	sed
 # ===================================================================
 # Module requirements
 # ===================================================================
@@ -25,14 +25,18 @@ BuildRequires:	perl >= 4:5.10.0
 BuildRequires:	perl(B)
 BuildRequires:	perl(constant)
 BuildRequires:	perl(ExtUtils::Manifest)
+BuildRequires:	perl(IO::Pipe)
 BuildRequires:	perl(parent)
+BuildRequires:	perl(Storable)
+BuildRequires:	perl(strict)
 BuildRequires:	perl(Symbol)
 BuildRequires:	perl(Test::Builder::Module)
+BuildRequires:	perl(warnings)
 # ===================================================================
 # Test suite requirements
 # ===================================================================
-BuildRequires:	perl(Test::Builder::Tester)
 BuildRequires:	perl(Test::More) >= 0.88
+BuildRequires:	perl(Test::Tester)
 # ===================================================================
 # Author/Release test requirements
 # ===================================================================
@@ -54,11 +58,11 @@ Test::Vars finds unused variables in order to keep the source code tidy.
 sed -i -e '1s|^#!perl|#!/usr/bin/perl|' example/*.t
 
 %build
-perl Build.PL installdirs=vendor
+perl Build.PL --installdirs=vendor
 ./Build
 
 %install
-./Build install destdir=%{buildroot} create_packlist=0
+./Build install --destdir=%{buildroot} --create_packlist=0
 %{_fixperms} %{buildroot}
 
 %check
@@ -66,11 +70,25 @@ perl Build.PL installdirs=vendor
 ./Build test --test_files="xt/*.t"
 
 %files
-%doc Changes LICENSE README.md example/
+%if 0%{?_licensedir:1}
+%license LICENSE
+%else
+%doc LICENSE
+%endif
+%doc Changes README.md example/
 %{perl_vendorlib}/Test/
-%{_mandir}/man3/Test::Vars.3pm*
+%{_mandir}/man3/Test::Vars.3*
 
 %changelog
+* Wed Aug 19 2015 Paul Howarth <paul at city-fan.org> - 0.006-1
+- Update to 0.006
+  - This module now calls Test::Builder->diag and ->note _after_ calling ->ok;
+    this is more in line with how most test modules work
+  - Added a new exported sub, test_vars(), which does not output TAP; this is
+    useful for integrating this module with things like Code::TidyAll
+- This release by DROLSKY → update source URL
+- Use %%license where possible
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.005-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index 5944329..f25e84f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-56a763c785f66e4ae0edd2b4e613dc19  Test-Vars-0.005.tar.gz
+dac851b90e4079b0315e0b458b4ad56e  Test-Vars-0.006.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Test-Vars.git/commit/?h=master&id=4ace591c483f341c02a45bbb9d93a4fe88a0682c


More information about the perl-devel mailing list