commit ac45ff83dbe49b49d81675ea6a909be11e9196c4 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Mon Jul 1 09:58:42 2013 +0200 2.20 bump .gitignore | 1 + perl-autodie.spec | 32 ++++++++++++++++++++------------ sources | 2 +- 3 files changed, 22 insertions(+), 13 deletions(-) --- diff --git a/.gitignore b/.gitignore index 8c0d3fa..311e0bd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /autodie-2.13.tar.gz /autodie-2.16.tar.gz +/autodie-2.20.tar.gz diff --git a/perl-autodie.spec b/perl-autodie.spec index 2925ee5..07ae8a3 100644 --- a/perl-autodie.spec +++ b/perl-autodie.spec @@ -1,5 +1,5 @@ Name: perl-autodie -Version: 2.16 +Version: 2.20 Release: 1%{?dist} Summary: Replace functions with ones that succeed or die License: GPL+ or Artistic @@ -8,31 +8,28 @@ URL: http://search.cpan.org/dist/autodie/ Source0: http://www.cpan.org/authors/id/P/PJ/PJF/autodie-%{version}.tar.gz BuildArch: noarch BuildRequires: perl -# Stick on bundled inc::Module::Install to allow boot-straping this core package -BuildRequires: perl(Config) -BuildRequires: perl(Cwd) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(ExtUtils::MM_Unix) -BuildRequires: perl(FindBin) -BuildRequires: perl(File::Find) -BuildRequires: perl(File::Path) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 BuildRequires: perl(strict) -BuildRequires: perl(vars) +BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(B) BuildRequires: perl(base) BuildRequires: perl(Carp) +BuildRequires: perl(Config) BuildRequires: perl(constant) BuildRequires: perl(Exporter) BuildRequires: perl(Fcntl) BuildRequires: perl(if) -# Keep IPC::System::Simple 0.12 optional +%if !%{defined perl_bootstrap} +BuildRequires: perl(IPC::System::Simple) >= 0.12 +%endif BuildRequires: perl(overload) BuildRequires: perl(POSIX) +BuildRequires: perl(Scalar::Util) BuildRequires: perl(Tie::RefHash) # Sub::Identify is optional -BuildRequires: perl(warnings) # Tests: +BuildRequires: perl(FindBin) BuildRequires: perl(lib) BuildRequires: perl(File::Copy) BuildRequires: perl(File::Spec) @@ -41,12 +38,20 @@ BuildRequires: perl(IO::Handle) BuildRequires: perl(open) BuildRequires: perl(Socket) BuildRequires: perl(Test::More) +# Optional tests: +%if !%{defined perl_bootstrap} +BuildRequires: perl(BSD::Resource) +%endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(B) Requires: perl(Fcntl) +# Keep IPC::System::Simple 0.12 optional Requires: perl(overload) Requires: perl(POSIX) +# Remove falsely detected perl(lib) +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(lib\\)$ + %description The "autodie" and "Fatal" pragma provides a convenient way to replace functions that normally return false on failure with equivalents that throw an @@ -77,6 +82,9 @@ make test %{_mandir}/man3/* %changelog +* Mon Jul 01 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 2.20-1 +- 2.20 bump + * Wed Mar 06 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 2.16-1 - 2.16 bump diff --git a/sources b/sources index fb819c4..ac9c803 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6acbb080d20df94bee76ad301bb5ad9f autodie-2.16.tar.gz +9612b13dba42e0259bb8ae58264f8177 autodie-2.20.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel