From d17c149003454ca87715b2b8a86f88f10619a41c Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Sun, 7 Jun 2015 16:42:06 +0100
Subject: Update to 0.50

- New upstream release 0.50
  - Add links to Ovid's tutorial series on Test::Class (PR#19)
  - Add links to Test::Class::Most, Test::Class::Moose (PR#20)
  - List some distributions that use Test::Class in their test suite (PR#21)
  - Update documentation about running individual tests (PR#22)
  - Fix some tests to work with the new Test::Stream (PR#27)
  - Switch packaging to ExtUtils::MakeMaker

diff --git a/perl-Test-Class.spec b/perl-Test-Class.spec
index 492db5f..a11407c 100644
--- a/perl-Test-Class.spec
+++ b/perl-Test-Class.spec
@@ -1,6 +1,6 @@
 Name:           perl-Test-Class
-Version:        0.48
-Release:        2%{?dist}
+Version:        0.50
+Release:        1%{?dist}
 Summary:        Easily create test classes in an xUnit/JUnit style
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -11,7 +11,7 @@ BuildRoot:      
%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:      noarch
 # Build:
 BuildRequires:  perl
-BuildRequires:  perl(Module::Build) >= 0.40.04
+BuildRequires:  perl(ExtUtils::MakeMaker)
 # Run-time:
 BuildRequires:  perl(Attribute::Handlers) >= 0.77
 BuildRequires:  perl(Carp)
@@ -61,15 +61,17 @@ find -type f -exec chmod -c -x {} \;
 %patch0
 
 %build
-perl Build.PL --installdirs=vendor
-./Build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-./Build install --destdir=%{buildroot} --create_packlist=0
+rm -rf %{buildroot}
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 %{_fixperms} %{buildroot}
 
 %check
-./Build test
+make test
 
 %files
 %doc Changes README
@@ -79,6 +81,15 @@ perl Build.PL --installdirs=vendor
 %{_mandir}/man3/Test::Class::MethodInfo.3*
 
 %changelog
+* Sun Jun  7 2015 Paul Howarth <p...@city-fan.org> - 0.50-1
+- Update to 0.50
+  - Add links to Ovid's tutorial series on Test::Class (PR#19)
+  - Add links to Test::Class::Most, Test::Class::Moose (PR#20)
+  - List some distributions that use Test::Class in their test suite (PR#21)
+  - Update documentation about running individual tests (PR#22)
+  - Fix some tests to work with the new Test::Stream (PR#27)
+  - Switch packaging to ExtUtils::MakeMaker
+
 * Sat Jun 06 2015 Jitka Plesnikova <jples...@redhat.com> - 0.48-2
 - Perl 5.22 rebuild
 
diff --git a/sources b/sources
index 98034ab..b37164c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-23b22b2ff33acf31e8ede77ea93d4b64  Test-Class-0.48.tar.gz
+4cc3aaad36b72f424ed90122701d2451  Test-Class-0.50.tar.gz
-- 
cgit v0.10.2


        
http://pkgs.fedoraproject.org/cgit/perl-Test-Class.git/commit/?h=master&id=d17c149003454ca87715b2b8a86f88f10619a41c
--
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