diff --git a/perl-B-Keywords.spec b/perl-B-Keywords.spec index f2fd525..58f84c2 100644 --- a/perl-B-Keywords.spec +++ b/perl-B-Keywords.spec @@ -1,26 +1,52 @@ Name: perl-B-Keywords -Version: 1.13 -Release: 5%{?dist} +Version: 1.14 +Release: 1%{?dist} Summary: Lists of reserved barewords and symbol names Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/B-Keywords/ Source0: http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/B-Keywords-%{version}.tar.gz BuildArch: noarch +# Module Build +BuildRequires: perl +BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) +# Module Runtime BuildRequires: perl(Exporter) -BuildRequires: perl(YAML) -# Tests +BuildRequires: perl(strict) +BuildRequires: perl(vars) +# Test Suite BuildRequires: perl(File::Spec) BuildRequires: perl(lib) BuildRequires: perl(Test) BuildRequires: perl(Test::More) +# Optional Tests BuildRequires: perl(Test::Pod) >= 1.0 +# Maintainer Tests +%if 0%{!?perl_bootstrap:1} +BuildRequires: perl(File::Copy) +BuildRequires: perl(Perl::MinimumVersion) >= 1.20 +BuildRequires: perl(Test::CPAN::Meta) >= 0.12 +BuildRequires: perl(Test::Kwalitee) +BuildRequires: perl(Test::MinimumVersion) >= 0.008 +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +BuildRequires: perl(warnings) +%endif +# Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description -%{summary}. +B::Keywords supplies several arrays of exportable keywords: @Scalars, @Arrays, +@Hashes, @Filehandles, @Symbols, @Functions, @Barewords, @TieIOMethods, +@UNIVERSALMethods and @ExporterSymbols. + +The @Symbols array includes the contents of each of @Scalars, @Arrays, @Hashes, +@Functions and @Filehandles. + +Similarly, @Barewords adds a few non-function keywords and operators to the +@Functions array. %prep @@ -39,16 +65,24 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' %check -make test +make test %{!?perl_bootstrap:IS_MAINTAINER=1 AUTHOR_TESTING=1} %files -%doc Changes LICENSE +%license LICENSE +%doc Changes %{perl_vendorlib}/B/ -%{_mandir}/man3/B::Keywords.3pm* +%{_mandir}/man3/B::Keywords.3* %changelog +* Sun Feb 22 2015 Paul Howarth - 1.14-1 +- Update to 1.14 + - Removed err from Barewords (CPAN RT#102259) +- Run the maintainer tests if we're not bootstrapping +- Expand %%description +- Use %%license + * Thu Aug 28 2014 Jitka Plesnikova - 1.13-5 - Perl 5.20 rebuild diff --git a/sources b/sources index cd08c95..7c2b99a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fe57415a76a423645c31281fe508bf46 B-Keywords-1.13.tar.gz +d7845a15def72af92d15c27de48997df B-Keywords-1.14.tar.gz