Update to 0.35

- New upstream release 0.35
  - Fix a bug when Test::Builder isn't new (better version)
- Switch to ExtUtils::MakeMaker flow
- Classify buildreqs by usage
This commit is contained in:
Paul Howarth 2014-09-23 20:07:34 +01:00
parent 8088f9851c
commit d0ab39c078
2 changed files with 23 additions and 14 deletions

View File

@ -1,26 +1,28 @@
Name: perl-Test-Exception
Version: 0.34
Version: 0.35
Release: 1%{?dist}
Summary: Library of test functions for exception based Perl code
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Test-Exception/
Source0: http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/Test-Exception-%{version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(Module::Build) >= 0.42
BuildRequires: perl(overload)
BuildRequires: perl(strict)
BuildRequires: perl(Sub::Uplevel) >= 0.18
BuildRequires: perl(Test::Builder) >= 0.7
BuildRequires: perl(Test::Builder::Tester) >= 1.07
BuildRequires: perl(Test::Harness) >= 2.03
BuildRequires: perl(Test::More) >= 0.7
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Simple) >= 0.7
BuildRequires: perl(Test::Builder)
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(overload)
BuildRequires: perl(Test::Builder::Tester)
BuildRequires: perl(Test::Harness)
BuildRequires: perl(Test::More)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
@ -37,15 +39,16 @@ Test::More and friends.
chmod -c -x Changes
%build
perl Build.PL --installdirs=vendor
./Build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
./Build install --destdir=%{buildroot} --create_packlist=0
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
@ -53,6 +56,12 @@ perl Build.PL --installdirs=vendor
%{_mandir}/man3/Test::Exception.3pm*
%changelog
* Tue Sep 23 2014 Paul Howarth <paul@city-fan.org> - 0.35-1
- Update to 0.35
- Fix a bug when Test::Builder isn't new (better version)
- Switch to ExtUtils::MakeMaker flow
- Classify buildreqs by usage
* Sat Sep 20 2014 Paul Howarth <paul@city-fan.org> - 0.34-1
- Update to 0.34
- Fixed test broken by changes in Test::Builder and friends

View File

@ -1 +1 @@
5a3fe2964bf189439089f1a72674358b Test-Exception-0.34.tar.gz
d774ff26e5fcd67d6364a990b61e62ca Test-Exception-0.35.tar.gz