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:
parent
09ecc93bea
commit
b1587e9c08
@ -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();
|
|
@ -1,11 +1,10 @@
|
|||||||
Name: perl-Exception-Class
|
Name: perl-Exception-Class
|
||||||
Version: 1.40
|
Version: 1.41
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Module that allows you to declare real exception classes in Perl
|
Summary: Module that allows you to declare real exception classes in Perl
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: http://search.cpan.org/dist/Exception-Class/
|
URL: http://search.cpan.org/dist/Exception-Class/
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Exception-Class-%{version}.tar.gz
|
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
|
BuildArch: noarch
|
||||||
# Module Build
|
# Module Build
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
@ -24,26 +23,10 @@ BuildRequires: perl(strict)
|
|||||||
BuildRequires: perl(warnings)
|
BuildRequires: perl(warnings)
|
||||||
# Test Suite
|
# Test Suite
|
||||||
BuildRequires: perl(File::Spec)
|
BuildRequires: perl(File::Spec)
|
||||||
BuildRequires: perl(Test::More) >= 0.46
|
BuildRequires: perl(Test::More) >= 0.96
|
||||||
# Optional Tests
|
# Optional Tests
|
||||||
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
||||||
BuildRequires: perl(CPAN::Meta::Prereqs)
|
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
|
# Runtime
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
@ -54,28 +37,30 @@ modules in a "Java-esque" manner.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n Exception-Class-%{version}
|
%setup -q -n Exception-Class-%{version}
|
||||||
|
|
||||||
# Support building without Test::Code::TidyAll
|
|
||||||
%patch1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
%{_fixperms} %{buildroot}
|
%{_fixperms} %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test AUTHOR_TESTING=1 RELEASE_TESTING=1
|
make test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc Changes README.md
|
%doc Changes CONTRIBUTING.md README.md
|
||||||
%{perl_vendorlib}/Exception/
|
%{perl_vendorlib}/Exception/
|
||||||
%{_mandir}/man3/Exception::Class.3*
|
%{_mandir}/man3/Exception::Class.3*
|
||||||
%{_mandir}/man3/Exception::Class::Base.3*
|
%{_mandir}/man3/Exception::Class::Base.3*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.40-3
|
||||||
- Perl 5.24 rebuild
|
- Perl 5.24 rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user