Update to 0.17026

- New upstream release 0.17026
  - Convert to Dist-Zilla
- Switch to ExtUtils::MakeMaker flow
- Switch upstream from search.cpan.org to metacpan.org
This commit is contained in:
Paul Howarth 2018-05-24 10:50:37 +01:00
parent b1c52d7b69
commit 08715b2d4c
2 changed files with 25 additions and 19 deletions

View File

@ -1,35 +1,34 @@
Name: perl-Error Name: perl-Error
Epoch: 1 Epoch: 1
Version: 0.17025 Version: 0.17026
Release: 2%{?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
URL: http://search.cpan.org/dist/Error/ URL: https://metacpan.org/release/Error
Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Error-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
# Build # Build
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
BuildRequires: perl(File::Spec) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(lib)
BuildRequires: perl(Module::Build)
# Runtime # Runtime
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter)
BuildRequires: perl(overload)
BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(vars) BuildRequires: perl(vars)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
# Tests # Tests
BuildRequires: perl(base) BuildRequires: perl(base)
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(lib)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
# 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 # 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,15 +47,16 @@ can simply be recorded.
%setup -q -n Error-%{version} %setup -q -n Error-%{version}
%build %build
perl Build.PL --installdirs=vendor perl Makefile.PL INSTALLDIRS=vendor
./Build make %{?_smp_mflags}
%install %install
./Build install --destdir=%{buildroot} --create_packlist=0 make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot} %{_fixperms} -c %{buildroot}
%check %check
./Build test make test
%files %files
%if 0%{?_licensedir:1} %if 0%{?_licensedir:1}
@ -65,7 +65,7 @@ perl Build.PL --installdirs=vendor
%doc LICENSE %doc LICENSE
%endif %endif
# GPL+ or Artistic # GPL+ or Artistic
%doc ChangeLog README examples/ %doc ChangeLog Changes README examples/
%{perl_vendorlib}/Error.pm %{perl_vendorlib}/Error.pm
%{_mandir}/man3/Error.3* %{_mandir}/man3/Error.3*
# MIT # MIT
@ -73,6 +73,12 @@ perl Build.PL --installdirs=vendor
%{_mandir}/man3/Error::Simple.3* %{_mandir}/man3/Error::Simple.3*
%changelog %changelog
* Thu May 24 2018 Paul Howarth <paul@city-fan.org> - 1:0.17026-1
- Update to 0.17026
- Convert to Dist-Zilla
- Switch to ExtUtils::MakeMaker flow
- Switch upstream from search.cpan.org to metacpan.org
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.17025-2 * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.17025-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (Error-0.17025.tar.gz) = 0cb77d8be2f759aaf8970f9d5fa5483ba5ba687c115f6bbeaa22afb1b5c50fe6f70b4dce19a3c8d1bf6e9bfad0af86f2e03faac493f428b04962e5337be3ae2b SHA512 (Error-0.17026.tar.gz) = 58d43a133fb74d94d726ae923cdfb7df8e1faf156247bb07cb7308218e21a627485f031d029b3ee3179d92e756dca7f1e6dd1e2f4378f420c72b171aefe2f410