commit b39e6d0dce27f1a2530bc4ca1ee6de6515155563 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Oct 30 09:14:03 2014 +0100 1.006 bump .gitignore | 1 + perl-Test-Apocalypse.spec | 54 +++++++++++++++++++++++--------------------- sources | 2 +- 3 files changed, 30 insertions(+), 27 deletions(-) --- diff --git a/.gitignore b/.gitignore index 9f33e33..ff9791f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /Test-Apocalypse-1.002.tar.gz +/Test-Apocalypse-1.006.tar.gz diff --git a/perl-Test-Apocalypse.spec b/perl-Test-Apocalypse.spec index 18528af..9abff64 100644 --- a/perl-Test-Apocalypse.spec +++ b/perl-Test-Apocalypse.spec @@ -1,18 +1,20 @@ Name: perl-Test-Apocalypse -Version: 1.002 -Release: 8%{?dist} +Version: 1.006 +Release: 1%{?dist} Summary: Apocalypse's favorite tests bundled into a simple interface License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Test-Apocalypse/ Source0: http://www.cpan.org/authors/id/A/AP/APOCAL/Test-Apocalypse-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl(Module::Build) +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(Capture::Tiny) >= 0.10 -BuildRequires: perl(CPANPLUS) >= 0.90 -BuildRequires: perl(CPANPLUS::Backend) -BuildRequires: perl(CPANPLUS::Configure) +BuildRequires: perl(CPAN::Meta::Requirements) >= 2.113640 +# Data::Dumper not used at tests BuildRequires: perl(Devel::PPPort) >= 3.19 BuildRequires: perl(Exporter) BuildRequires: perl(File::Find::Rule) >= 0.32 @@ -20,21 +22,20 @@ BuildRequires: perl(File::Slurp) >= 9999.13 BuildRequires: perl(File::Spec) >= 3.31 BuildRequires: perl(File::Which) >= 1.09 BuildRequires: perl(JSON::Any) >= 1.25 -BuildRequires: perl(Module::CoreList) >= 2.23 -BuildRequires: perl(Module::CPANTS::Analyse) >= 0.85 +BuildRequires: perl(Module::CPANTS::Analyse) >= 0.95 BuildRequires: perl(Module::Pluggable) >= 3.9 BuildRequires: perl(parent) +BuildRequires: perl(Perl::Critic::Deprecated) >= 1.108 +BuildRequires: perl(Perl::Critic::Itch) >= 0.07 BuildRequires: perl(Perl::Critic::Utils::Constants) BuildRequires: perl(Perl::Metrics::Simple) >= 0.13 BuildRequires: perl(Perl::PrereqScanner) >= 1.000 BuildRequires: perl(Pod::Coverage::TrustPod) >= 0.092830 BuildRequires: perl(Task::Perl::Critic) >= 1.007 BuildRequires: perl(Test::AutoLoader) >= 0.03 -BuildRequires: perl(Test::Block) >= 0.11 -BuildRequires: perl(Test::Builder) >= 0.96 -BuildRequires: perl(Test::CheckChanges) BuildRequires: perl(Test::Compile) >= 0.11 BuildRequires: perl(Test::ConsistentVersion) >= 0.2.2 +BuildRequires: perl(Test::CPAN::Changes) >= 0.30 BuildRequires: perl(Test::CPAN::Meta) >= 0.18 BuildRequires: perl(Test::CPAN::Meta::JSON) >= 0.10 BuildRequires: perl(Test::CPAN::Meta::YAML) >= 0.17 @@ -42,14 +43,15 @@ BuildRequires: perl(Test::Deep) >= 0.108 BuildRequires: perl(Test::Dir) >= 1.006 BuildRequires: perl(Test::DistManifest) >= 1.005 BuildRequires: perl(Test::EOL) >= 0.3 +BuildRequires: perl(Test::FailWarnings) BuildRequires: perl(Test::File) >= 1.29 BuildRequires: perl(Test::Fixme) >= 0.04 BuildRequires: perl(Test::HasVersion) >= 0.012 BuildRequires: perl(Test::MinimumVersion) >= 0.101080 +BuildRequires: perl(Test::Mojibake) >= 0.3 BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::NoBreakpoints) >= 0.13 BuildRequires: perl(Test::NoPlan) >= 0.0.6 -# Test::NoWarnings is not needed (lib/Test/Apocalypse.pm:39) BuildRequires: perl(Test::Perl::Critic) >= 1.02 BuildRequires: perl(Test::Pod) >= 1.41 BuildRequires: perl(Test::Pod::Coverage) >= 1.08 @@ -67,14 +69,15 @@ BuildRequires: perl(version) >= 0.77 BuildRequires: perl(YAML) >= 0.70 BuildRequires: perl(YAML::Any) >= 0.72 # Tests: -BuildRequires: perl(File::Find) BuildRequires: perl(File::Temp) -BuildRequires: perl(Test::NoWarnings) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(Test::More) >= 0.96 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Data::Dumper) Requires: perl(Perl::Critic::Utils::Constants) -Requires: perl(Test::CheckChanges) +Requires: perl(Test::FailWarnings) Requires: perl(Test::Portability::Files) -# Test::NoWarnings is not needed (lib/Test/Apocalypse.pm:39) # Remove under-specified dependenices %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Test::More\\)$ @@ -88,22 +91,18 @@ my distributions would be magically updated! %prep %setup -q -n Test-Apocalypse-%{version} -# <https://rt.cpan.org/Public/Bug/Display.html?id=76848> -# Remove test interfering with Test::CheckChanges -rm t/000-report-versions-tiny.t -sed -i -e '/^t\/000-report-versions-tiny.t$/ d' MANIFEST %build -%{__perl} Build.PL installdirs=vendor -./Build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check -./Build test +make test %files %doc Changes CommitLog examples LICENSE README @@ -111,6 +110,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_mandir}/man3/* %changelog +* Thu Oct 30 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 1.006-1 +- 1.006 bump + * Mon Sep 01 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.002-8 - Perl 5.20 rebuild diff --git a/sources b/sources index 8ae042f..06de3c5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3f7b21c4194699daa8b3059d20d1aeb1 Test-Apocalypse-1.002.tar.gz +20717c10c0cade4f5fcc867fbeee89e4 Test-Apocalypse-1.006.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