pghmcfc pushed to perl-Test-Class (perl-Test-Class-0.50-1.fc23). "Update to 0.50 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Sun Jun 7 15:52:55 UTC 2015


From d17c149003454ca87715b2b8a86f88f10619a41c Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at 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 <paul at 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 <jplesnik at 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=perl-Test-Class-0.50-1.fc23&id=d17c149003454ca87715b2b8a86f88f10619a41c


More information about the scm-commits mailing list