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:
parent
9e28f9e678
commit
1fcaf339c6
4
.rpmlint
Normal file
4
.rpmlint
Normal file
@ -0,0 +1,4 @@
|
||||
from Config import *
|
||||
|
||||
# OO-ish
|
||||
addFilter("spelling-error Summary\(en_US\) ish -> ")
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user