Update to 0.17025, drop EL-5 support

- New upstream release 0.17025
  - Fix 'use Error::Simple' overriding the $VERSION (CPAN RT#122713)
- Drop EL-5 support
  - Drop BuildRoot: and Group: tags
  - Drop explicit buildroot cleaning in %install section
  - Drop explicit %clean section
This commit is contained in:
Paul Howarth 2017-08-08 11:14:16 +01:00
parent 9e28f9e678
commit 1fcaf339c6
3 changed files with 26 additions and 14 deletions

4
.rpmlint Normal file
View File

@ -0,0 +1,4 @@
from Config import *
# OO-ish
addFilter("spelling-error Summary\(en_US\) ish -> ")

View File

@ -1,32 +1,36 @@
Name: perl-Error
Epoch: 1
Version: 0.17024
Release: 11%{?dist}
Version: 0.17025
Release: 1%{?dist}
Summary: Error/exception handling in an OO-ish way
License: (GPL+ or Artistic) and MIT
Group: Development/Libraries
URL: http://search.cpan.org/dist/Error/
Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
# Build
BuildRequires: coreutils
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(File::Spec)
BuildRequires: perl(lib)
BuildRequires: perl(Module::Build)
# Run-requires:
# Runtime
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Tests:
# Tests
BuildRequires: perl(base)
BuildRequires: perl(Test::More)
# Optional tests:
# Optional Tests
%if !%{defined perl_bootstrap}
BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
BuildRequires: perl(Test::TrailingSpace)
%endif
# Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Carp)
@ -48,16 +52,12 @@ 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} -c %{buildroot}
%check
./Build test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%if 0%{?_licensedir:1}
%license LICENSE
@ -73,6 +73,14 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/Error::Simple.3*
%changelog
* Tue Aug 8 2017 Paul Howarth <paul@city-fan.org> - 1:0.17025-1
- Update to 0.17025
- Fix 'use Error::Simple' overriding the $VERSION (CPAN RT#122713)
- Drop EL-5 support
- Drop BuildRoot: and Group: tags
- Drop explicit buildroot cleaning in %%install section
- Drop explicit %%clean section
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.17024-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

View File

@ -1 +1 @@
7e3676a7fb14f65f568f12d4b40a2a72 Error-0.17024.tar.gz
SHA512 (Error-0.17025.tar.gz) = 0cb77d8be2f759aaf8970f9d5fa5483ba5ba687c115f6bbeaa22afb1b5c50fe6f70b4dce19a3c8d1bf6e9bfad0af86f2e03faac493f428b04962e5337be3ae2b