Update to 1.39

- New upstream release 1.39
  - Replaced the Exception::Class::Base->NoRefs method with UnsafeRefCapture to
    match changes in Devel::StackTrace 2.00; the old method is deprecated but
    will continue to work
- Classify buildreqs by usage
- Modernize spec
- Run the author/release tests too
This commit is contained in:
Paul Howarth 2014-11-12 21:59:40 +00:00
parent 8174082ef0
commit 18bb36017a
2 changed files with 46 additions and 18 deletions

View File

@ -1,25 +1,44 @@
Name: perl-Exception-Class Name: perl-Exception-Class
Version: 1.38 Version: 1.39
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
Group: Development/Libraries
URL: http://search.cpan.org/dist/Exception-Class/ URL: http://search.cpan.org/dist/Exception-Class/
Source0: http://www.cpan.org/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
BuildArch: noarch BuildArch: noarch
BuildRequires: perl # Module Build
BuildRequires: perl >= 3:5.8.1
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.75
# Module Runtime
BuildRequires: perl(base) BuildRequires: perl(base)
BuildRequires: perl(Class::Data::Inheritable) >= 0.02 BuildRequires: perl(Class::Data::Inheritable) >= 0.02
BuildRequires: perl(Devel::StackTrace) >= 1.20 BuildRequires: perl(Devel::StackTrace) >= 2.00
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp)
BuildRequires: perl(overload) BuildRequires: perl(overload)
BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(warnings) 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
# Author/Release Tests (that can run without network access)
BuildRequires: perl >= 4:5.12.0
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Pod::Wordlist)
BuildRequires: perl(Test::CPAN::Changes)
BuildRequires: perl(Test::EOL)
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(vars)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description %description
@ -30,24 +49,33 @@ modules in a "Java-esque" manner.
%setup -q -n Exception-Class-%{version} %setup -q -n Exception-Class-%{version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make pure_install DESTDIR=$RPM_BUILD_ROOT make pure_install DESTDIR=%{buildroot}
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} %{buildroot}
%{_fixperms} $RPM_BUILD_ROOT
%check %check
make test make test AUTHOR_TESTING=1 RELEASE_TESTING=1
%files %files
%doc Changes LICENSE README %license LICENSE
%doc Changes README.md
%{perl_vendorlib}/Exception/ %{perl_vendorlib}/Exception/
%{_mandir}/man3/Exception::Class.3pm* %{_mandir}/man3/Exception::Class.3pm*
%{_mandir}/man3/Exception::Class::Base.3pm* %{_mandir}/man3/Exception::Class::Base.3pm*
%changelog %changelog
* Wed Nov 12 2014 Paul Howarth <paul@city-fan.org> - 1.39-1
- Update to 1.39
- Replaced the Exception::Class::Base->NoRefs method with UnsafeRefCapture to
match changes in Devel::StackTrace 2.00; the old method is deprecated but
will continue to work
- Classify buildreqs by usage
- Modernize spec
- Run the author/release tests too
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-3 * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-3
- Perl 5.20 rebuild - Perl 5.20 rebuild

View File

@ -1 +1 @@
4d7203a95893449f53ccacb385981569 Exception-Class-1.38.tar.gz 971b6e47d18419bf1f8f0419ace2348c Exception-Class-1.39.tar.gz