Update to 1.40

- New upstream release 1.40
  - Fixed broken metadata (GH#3)
- Add patch to support building without Test::Code::TidyAll
This commit is contained in:
Paul Howarth 2016-01-30 19:24:20 +00:00
parent 8edb286d3c
commit 853de341b5
3 changed files with 39 additions and 10 deletions

View File

@ -0,0 +1,16 @@
--- t/release-tidyall.t
+++ t/release-tidyall.t
@@ -9,9 +9,12 @@ BEGIN {
# This file was automatically generated by Dist::Zilla::Plugin::Test::TidyAll
-use Test::Code::TidyAll 0.24;
use Test::More 0.88;
+eval 'use Test::Code::TidyAll 0.24;';
+plan skip_all => 'Test::Code::TidyAll 0.24 required for testing tidiness'
+ if $@;
+
tidyall_ok();
done_testing();

View File

@ -1,12 +1,16 @@
Name: perl-Exception-Class
Version: 1.39
Release: 3%{?dist}
Version: 1.40
Release: 1%{?dist}
Summary: Module that allows you to declare real exception classes in Perl
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Exception-Class/
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Exception-Class-%{version}.tar.gz
Patch1: Exception-Class-1.40-no-Test::Code::TidyAll.patch
BuildArch: noarch
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl >= 3:5.8.1
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.75
# Module Runtime
@ -19,24 +23,25 @@ BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Test::More) >= 0.46
# Optional Tests
BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(CPAN::Meta::Prereqs)
# Author/Release Tests (that can run without network access)
BuildRequires: perl >= 4:5.12.0
BuildRequires: perl(blib)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Pod::Wordlist)
BuildRequires: perl(Test::CPAN::Changes)
BuildRequires: perl(Test::EOL)
BuildRequires: perl(Test::Mojibake)
BuildRequires: perl(Test::NoTabs)
BuildRequires: perl(Test::Pod) >= 1.41
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
BuildRequires: perl(Test::Portability::Files)
BuildRequires: perl(Test::Spelling) >= 0.12, aspell-en
BuildRequires: perl(Test::Synopsis)
BuildRequires: perl(Try::Tiny)
BuildRequires: perl(Test::Version) >= 1.002
BuildRequires: perl(vars)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@ -48,6 +53,9 @@ modules in a "Java-esque" manner.
%prep
%setup -q -n Exception-Class-%{version}
# Support building without Test::Code::TidyAll
%patch1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
@ -63,10 +71,15 @@ make test AUTHOR_TESTING=1 RELEASE_TESTING=1
%license LICENSE
%doc Changes README.md
%{perl_vendorlib}/Exception/
%{_mandir}/man3/Exception::Class.3pm*
%{_mandir}/man3/Exception::Class::Base.3pm*
%{_mandir}/man3/Exception::Class.3*
%{_mandir}/man3/Exception::Class::Base.3*
%changelog
* Sat Jan 30 2016 Paul Howarth <paul@city-fan.org> - 1.40-1
- Update to 1.40
- Fixed broken metadata (GH#3)
- Add patch to support building without Test::Code::TidyAll
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.39-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

View File

@ -1 +1 @@
971b6e47d18419bf1f8f0419ace2348c Exception-Class-1.39.tar.gz
07cd7a38be5f8134955e943cf666d453 Exception-Class-1.40.tar.gz