Update to 0.13
- New upstream release 0.13 - Fix tests failing on 5.6.x due to differing DESTROY semantics - Excise superfluous local($@) call - 7% speedup - Fix broken URLs (CPAN RT#55659) - Proper exception on erroneous usage of bare catch/finally (CPAN RT#81070) - Proper exception on erroneous use of multiple catch{} blocks - Clarify exception occuring on unterminated try block (CPAN RT#75712) - Fix the prototypes shown in docs to match code (CPAN RT#79590) - Warn loudly on exceptions in finally() blocks - dzilify - Ship upstream LICENSE and README files - Classify buildreqs by usage - Add buildreqs for extra tests and explicitly run them
This commit is contained in:
parent
74a5ea8747
commit
70c0e17dbd
@ -1,19 +1,32 @@
|
||||
Name: perl-Try-Tiny
|
||||
Summary: Minimal try/catch with proper localization of $@
|
||||
Version: 0.12
|
||||
Release: 2%{?dist}
|
||||
Version: 0.13
|
||||
Release: 1%{?dist}
|
||||
License: MIT
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Try-Tiny
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Try-Tiny-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
||||
BuildArch: noarch
|
||||
# Module Build
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
|
||||
# Module
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Test Suite
|
||||
BuildRequires: perl(File::Find)
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(Test::More)
|
||||
# Extra Tests
|
||||
BuildRequires: perl(Pod::Coverage::TrustPod)
|
||||
BuildRequires: perl(Test::EOL)
|
||||
BuildRequires: perl(Test::NoTabs)
|
||||
BuildRequires: perl(Test::Pod) >= 1.41
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
||||
# Runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Exporter)
|
||||
|
||||
# obsolete/provide old tests subpackage
|
||||
# can be removed during F19 development cycle
|
||||
@ -46,16 +59,32 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
|
||||
%check
|
||||
make test
|
||||
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%doc Changes t/
|
||||
%doc Changes LICENSE README t/
|
||||
%{perl_vendorlib}/Try/
|
||||
%{_mandir}/man3/Try::Tiny.3pm*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 5 2013 Paul Howarth <paul@city-fan.org> - 0.13-1
|
||||
- Update to 0.13
|
||||
- Fix tests failing on 5.6.x due to differing DESTROY semantics
|
||||
- Excise superfluous local($@) call - 7%% speedup
|
||||
- Fix broken URLs (CPAN RT#55659)
|
||||
- Proper exception on erroneous usage of bare catch/finally (CPAN RT#81070)
|
||||
- Proper exception on erroneous use of multiple catch{} blocks
|
||||
- Clarify exception occuring on unterminated try block (CPAN RT#75712)
|
||||
- Fix the prototypes shown in docs to match code (CPAN RT#79590)
|
||||
- Warn loudly on exceptions in finally() blocks
|
||||
- dzilify
|
||||
- Ship upstream LICENSE and README files
|
||||
- Classify buildreqs by usage
|
||||
- Add buildreqs for extra tests and explicitly run them
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user