From 1fcaf339c688ae359fff3ac467f724a9b416febb Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Tue, 8 Aug 2017 11:14:16 +0100 Subject: [PATCH] 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 --- .rpmlint | 4 ++++ perl-Error.spec | 34 +++++++++++++++++++++------------- sources | 2 +- 3 files changed, 26 insertions(+), 14 deletions(-) create mode 100644 .rpmlint diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..458e597 --- /dev/null +++ b/.rpmlint @@ -0,0 +1,4 @@ +from Config import * + +# OO-ish +addFilter("spelling-error Summary\(en_US\) ish -> ") diff --git a/perl-Error.spec b/perl-Error.spec index 4e58d04..b0ed770 100644 --- a/perl-Error.spec +++ b/perl-Error.spec @@ -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 - 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 - 1:0.17024-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index b2225ef..98632c9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7e3676a7fb14f65f568f12d4b40a2a72 Error-0.17024.tar.gz +SHA512 (Error-0.17025.tar.gz) = 0cb77d8be2f759aaf8970f9d5fa5483ba5ba687c115f6bbeaa22afb1b5c50fe6f70b4dce19a3c8d1bf6e9bfad0af86f2e03faac493f428b04962e5337be3ae2b