commit 59b21b471bad35b2e953b28f64bd35c879dc2768
Author: Paul Howarth <p...@city-fan.org>
Date:   Sun May 5 19:07:15 2013 +0100

    Update to 0.004
    
    - New upstream release 0.004
      - Re-package with Module::Build
      - Remove an unnecessary use of smart match operator
    - Switch to Module::Build flow
    - Classify buildreqs by usage
    - Drop Test::Spelling requirement, no longer used

 perl-Test-Vars.spec |   49 +++++++++++++++++++++++++++++++++++--------------
 sources             |    2 +-
 2 files changed, 36 insertions(+), 15 deletions(-)
---
diff --git a/perl-Test-Vars.spec b/perl-Test-Vars.spec
index 14c07cf..f50b99e 100644
--- a/perl-Test-Vars.spec
+++ b/perl-Test-Vars.spec
@@ -1,27 +1,41 @@
 Name:          perl-Test-Vars
-Version:       0.002
-Release:       3%{?dist}
+Version:       0.004
+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
 BuildArch:     noarch
+# ===================================================================
+# Build requirements
+# ===================================================================
+BuildRequires: perl(Module::Build) >= 0.38
+BuildRequires: perl(CPAN::Meta)
+BuildRequires: perl(CPAN::Meta::Prereqs)
+# ===================================================================
+# Module requirements
+# ===================================================================
 BuildRequires: perl >= 4:5.10.0
 BuildRequires: perl(B)
 BuildRequires: perl(constant)
-BuildRequires: perl(Cwd)
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(ExtUtils::Manifest)
-BuildRequires: perl(File::Path)
 BuildRequires: perl(parent)
+BuildRequires: perl(Test::Builder)
 BuildRequires: perl(Test::Builder::Module)
 BuildRequires: perl(Test::Builder::Tester)
+# ===================================================================
+# Test suite requirements
+# ===================================================================
 BuildRequires: perl(Test::More)
+# ===================================================================
+# Author/Release test requirements
+# ===================================================================
 BuildRequires: perl(Test::Pod::Coverage)
 BuildRequires: perl(Test::Pod)
-BuildRequires: perl(Test::Spelling), hunspell-en
 BuildRequires: perl(Test::Synopsis)
+# ===================================================================
+# Runtime requirements
+# ===================================================================
 Requires:      perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
@@ -34,24 +48,31 @@ 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 Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl Build.PL installdirs=vendor
+./Build
 
 %install
-make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+./Build install destdir=%{buildroot} create_packlist=0
 %{_fixperms} %{buildroot}
 
 %check
-make test
-make test TEST_FILES="xt/*.t"
+./Build test
+./Build test --test_files="xt/*.t"
 
 %files
-%doc Changes README example/
+%doc Changes LICENSE README.md example/
 %{perl_vendorlib}/Test/
 %{_mandir}/man3/Test::Vars.3pm*
 
 %changelog
+* Sun May  5 2013 Paul Howarth <p...@city-fan.org> - 0.004-1
+- Update to 0.004
+  - Re-package with Module::Build
+  - Remove an unnecessary use of smart match operator
+- Switch to Module::Build flow
+- Classify buildreqs by usage
+- Drop Test::Spelling requirement, no longer used
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 0.002-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index 24e5248..9951bfe 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c0893e34824ae95decb8ca4329d4a77f  Test-Vars-0.002.tar.gz
+1702a5ddbd9fe1aa32da18f291f3a9d7  Test-Vars-0.004.tar.gz
--
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