commit d76d48b15e1ced8596e1f10aea09b548312285f2 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Mon Dec 8 16:50:42 2014 +0100 0.2.5 bump .gitignore | 1 + perl-Test-Trap.spec | 39 +++++++++++++++++++++++---------------- sources | 2 +- 3 files changed, 25 insertions(+), 17 deletions(-) --- diff --git a/.gitignore b/.gitignore index 8c8681e..30e3418 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /Test-Trap-v0.2.1.tar.gz /Test-Trap-v0.2.2.tar.gz +/Test-Trap-v0.2.5.tar.gz diff --git a/perl-Test-Trap.spec b/perl-Test-Trap.spec index 4adb0e6..49cb730 100644 --- a/perl-Test-Trap.spec +++ b/perl-Test-Trap.spec @@ -1,31 +1,37 @@ Name: perl-Test-Trap -Version: 0.2.2 -Release: 8%{?dist} +Version: 0.2.5 +Release: 1%{?dist} Summary: Trap exit codes, exceptions, output, etc License: GPL+ or Artistic -Group: Development/Libraries URL: http://search.cpan.org/dist/Test-Trap/ Source0: http://www.cpan.org/authors/id/E/EB/EBHANSSEN/Test-Trap-v%{version}.tar.gz BuildArch: noarch -BuildRequires: perl >= 1:v5.6.2 -BuildRequires: perl(base) +# Build +BuildRequires: perl +BuildRequires: perl(Module::Build) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime BuildRequires: perl(Carp) BuildRequires: perl(constant) -BuildRequires: perl(Config) BuildRequires: perl(Data::Dump) BuildRequires: perl(Exporter) BuildRequires: perl(File::Temp) BuildRequires: perl(IO::Handle) -BuildRequires: perl(IO::Scalar) +BuildRequires: perl(PerlIO) +BuildRequires: perl(Test::More) +BuildRequires: perl(version) +# Tests only +BuildRequires: perl(base) +BuildRequires: perl(Config) BuildRequires: perl(lib) -BuildRequires: perl(Module::Build) BuildRequires: perl(Test::Builder) -BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Refcount) BuildRequires: perl(Test::Tester) >= 0.107 -BuildRequires: perl(version) +# Optional tests +BuildRequires: perl(IO::Scalar) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(Test::More) -Requires: perl(Test::Tester) >= 0.107 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Primarily (but not exclusively) for use in test scripts: A block eval on @@ -37,24 +43,25 @@ values from boxed blocks of test code. %setup -q -n Test-Trap-v%{version} %build -%{__perl} Build.PL installdirs=vendor +perl Build.PL installdirs=vendor ./Build %install ./Build install destdir=%{buildroot} create_packlist=0 -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check ./Build test %files -%defattr(-,root,root,-) -%doc Changes README xt +%doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Mon Dec 08 2014 Petr Šabata <contyk@xxxxxxxxxx> - 0.2.5-1 +- 0.2.5 bump + * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.2.2-8 - Perl 5.20 rebuild diff --git a/sources b/sources index c7f715d..9c719c8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -26538477cb670aa6c72ad7d3859f670c Test-Trap-v0.2.2.tar.gz +040815f3121e2bea887461c623a806a4 Test-Trap-v0.2.5.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