Update to 0.34

- New upstream release 0.34
  - Fixed test broken by changes in Test::Builder and friends
- This release by EXODIST → update source URL
- Modernize spec
This commit is contained in:
Paul Howarth 2014-09-20 22:36:29 +01:00
parent 2478998660
commit 8088f9851c
2 changed files with 18 additions and 14 deletions

View File

@ -1,17 +1,18 @@
Name: perl-Test-Exception
Version: 0.32
Release: 5%{?dist}
Version: 0.34
Release: 1%{?dist}
Summary: Library of test functions for exception based Perl code
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-Exception/
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADIE/Test-Exception-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
Source0: http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/Test-Exception-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(Module::Build) >= 0.38
BuildRequires: perl(Module::Build) >= 0.42
BuildRequires: perl(overload)
BuildRequires: perl(strict)
BuildRequires: perl(Sub::Uplevel) >= 0.18
BuildRequires: perl(Test::Builder) >= 0.7
BuildRequires: perl(Test::Builder::Tester) >= 1.07
@ -19,6 +20,7 @@ BuildRequires: perl(Test::Harness) >= 2.03
BuildRequires: perl(Test::More) >= 0.7
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Simple) >= 0.7
BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
@ -35,26 +37,28 @@ Test::More and friends.
chmod -c -x Changes
%build
perl Build.PL installdirs=vendor
perl Build.PL --installdirs=vendor
./Build
%install
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%{_fixperms} $RPM_BUILD_ROOT
./Build install --destdir=%{buildroot} --create_packlist=0
%{_fixperms} %{buildroot}
%check
./Build test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%doc Changes README
%{perl_vendorlib}/Test/
%{_mandir}/man3/Test::Exception.3pm*
%changelog
* Sat Sep 20 2014 Paul Howarth <paul@city-fan.org> - 0.34-1
- Update to 0.34
- Fixed test broken by changes in Test::Builder and friends
- This release by EXODIST update source URL
- Modernize spec
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.32-5
- Perl 5.20 rebuild

View File

@ -1 +1 @@
50e985a335842540b69ea886eeed8a7f Test-Exception-0.32.tar.gz
5a3fe2964bf189439089f1a72674358b Test-Exception-0.34.tar.gz