diff --git a/perl-Error.spec b/perl-Error.spec index 452d44c..c4145c5 100644 --- a/perl-Error.spec +++ b/perl-Error.spec @@ -1,35 +1,34 @@ Name: perl-Error Epoch: 1 -Version: 0.17025 -Release: 2%{?dist} +Version: 0.17026 +Release: 1%{?dist} Summary: Error/exception handling in an OO-ish way License: (GPL+ or Artistic) and MIT -URL: http://search.cpan.org/dist/Error/ -Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-%{version}.tar.gz +URL: https://metacpan.org/release/Error +Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Error-%{version}.tar.gz BuildArch: noarch # Build BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter -BuildRequires: perl(File::Spec) -BuildRequires: perl(lib) -BuildRequires: perl(Module::Build) +BuildRequires: perl(ExtUtils::MakeMaker) # Runtime BuildRequires: perl(Carp) BuildRequires: perl(Exporter) +BuildRequires: perl(overload) BuildRequires: perl(Scalar::Util) BuildRequires: perl(strict) BuildRequires: perl(vars) BuildRequires: perl(warnings) # Tests BuildRequires: perl(base) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(lib) 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 Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Carp) @@ -48,15 +47,16 @@ can simply be recorded. %setup -q -n Error-%{version} %build -perl Build.PL --installdirs=vendor -./Build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %install -./Build install --destdir=%{buildroot} --create_packlist=0 +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -delete %{_fixperms} -c %{buildroot} %check -./Build test +make test %files %if 0%{?_licensedir:1} @@ -65,7 +65,7 @@ perl Build.PL --installdirs=vendor %doc LICENSE %endif # GPL+ or Artistic -%doc ChangeLog README examples/ +%doc ChangeLog Changes README examples/ %{perl_vendorlib}/Error.pm %{_mandir}/man3/Error.3* # MIT @@ -73,6 +73,12 @@ perl Build.PL --installdirs=vendor %{_mandir}/man3/Error::Simple.3* %changelog +* Thu May 24 2018 Paul Howarth - 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 - 1:0.17025-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 98632c9..f29f40c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Error-0.17025.tar.gz) = 0cb77d8be2f759aaf8970f9d5fa5483ba5ba687c115f6bbeaa22afb1b5c50fe6f70b4dce19a3c8d1bf6e9bfad0af86f2e03faac493f428b04962e5337be3ae2b +SHA512 (Error-0.17026.tar.gz) = 58d43a133fb74d94d726ae923cdfb7df8e1faf156247bb07cb7308218e21a627485f031d029b3ee3179d92e756dca7f1e6dd1e2f4378f420c72b171aefe2f410