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
|
Name: perl-Error
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 0.17024
|
Version: 0.17025
|
||||||
Release: 11%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Error/exception handling in an OO-ish way
|
Summary: Error/exception handling in an OO-ish way
|
||||||
License: (GPL+ or Artistic) and MIT
|
License: (GPL+ or Artistic) and MIT
|
||||||
Group: Development/Libraries
|
|
||||||
URL: http://search.cpan.org/dist/Error/
|
URL: http://search.cpan.org/dist/Error/
|
||||||
Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
# Build
|
||||||
|
BuildRequires: coreutils
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
BuildRequires: perl(File::Spec)
|
BuildRequires: perl(File::Spec)
|
||||||
BuildRequires: perl(lib)
|
BuildRequires: perl(lib)
|
||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(Module::Build)
|
||||||
# Run-requires:
|
# Runtime
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(Scalar::Util)
|
BuildRequires: perl(Scalar::Util)
|
||||||
BuildRequires: perl(strict)
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(vars)
|
||||||
BuildRequires: perl(warnings)
|
BuildRequires: perl(warnings)
|
||||||
# Tests:
|
# Tests
|
||||||
BuildRequires: perl(base)
|
BuildRequires: perl(base)
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
# Optional tests:
|
# Optional Tests
|
||||||
%if !%{defined perl_bootstrap}
|
%if !%{defined perl_bootstrap}
|
||||||
BuildRequires: perl(Test::Pod) >= 1.14
|
BuildRequires: perl(Test::Pod) >= 1.14
|
||||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||||
|
BuildRequires: perl(Test::TrailingSpace)
|
||||||
%endif
|
%endif
|
||||||
|
# Dependencies
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
Requires: perl(Carp)
|
Requires: perl(Carp)
|
||||||
|
|
||||||
@ -48,16 +52,12 @@ perl Build.PL --installdirs=vendor
|
|||||||
./Build
|
./Build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||||
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
|
%{_fixperms} -c %{buildroot}
|
||||||
%{_fixperms} $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%if 0%{?_licensedir:1}
|
%if 0%{?_licensedir:1}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -73,6 +73,14 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man3/Error::Simple.3*
|
%{_mandir}/man3/Error::Simple.3*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.17024-11
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user