Update to 1.41

- New upstream release 1.41
  - Switch to GitHub Issues
- Author/Release tests moved to xt/, so don't bother trying to run them
This commit is contained in:
Paul Howarth 2016-12-09 10:39:14 +00:00
parent 09ecc93bea
commit b1587e9c08
3 changed files with 13 additions and 44 deletions

View File

@ -1,16 +0,0 @@
--- 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,11 +1,10 @@
Name: perl-Exception-Class
Version: 1.40
Release: 3%{?dist}
Version: 1.41
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
@ -24,26 +23,10 @@ BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(File::Spec)
BuildRequires: perl(Test::More) >= 0.46
BuildRequires: perl(Test::More) >= 0.96
# Optional Tests
BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(CPAN::Meta::Prereqs)
# Author/Release Tests (that can run without network access)
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::Version) >= 1.002
BuildRequires: perl(vars)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@ -54,28 +37,30 @@ 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
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
make install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}
%check
make test AUTHOR_TESTING=1 RELEASE_TESTING=1
make test
%files
%license LICENSE
%doc Changes README.md
%doc Changes CONTRIBUTING.md README.md
%{perl_vendorlib}/Exception/
%{_mandir}/man3/Exception::Class.3*
%{_mandir}/man3/Exception::Class::Base.3*
%changelog
* Fri Dec 9 2016 Paul Howarth <paul@city-fan.org> - 1.41-1
- Update to 1.41
- Switch to GitHub Issues
- Author/Release tests moved to xt/, so don't bother trying to run them
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.40-3
- Perl 5.24 rebuild

View File

@ -1 +1 @@
07cd7a38be5f8134955e943cf666d453 Exception-Class-1.40.tar.gz
efa6939523ed83974a992677379c923a Exception-Class-1.41.tar.gz