commit 15672604c23585057c21856067f66344a2cc19a4 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Fri Mar 21 13:58:33 2014 +0000 Initial import (perl-Test-Modern-0.002-3) Test::Modern provides the best features of Test::More, Test::Fatal, Test::Warnings, Test::API, Test::LongString, and Test::Deep, as well as ideas from Test::Requires, Test::DescribeMe, Test::Moose, and Test::CleanNamespaces. Test::Modern also automatically imposes strict and warnings on your script. .gitignore | 1 + perl-Test-Modern.spec | 89 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 91 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..c9a5ccd 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Test-Modern-[0-9.]*.tar.gz diff --git a/perl-Test-Modern.spec b/perl-Test-Modern.spec new file mode 100644 index 0000000..3fd7dee --- /dev/null +++ b/perl-Test-Modern.spec @@ -0,0 +1,89 @@ +Name: perl-Test-Modern +Version: 0.002 +Release: 3%{?dist} +Summary: Precision testing for modern perl +License: (GPL+ or Artistic) and CC-BY-SA +URL: http://search.cpan.org/dist/Test-Modern/ +Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TOBYINK/Test-Modern-%{version}.tar.gz +BuildArch: noarch +# Module Build +BuildRequires: perl +BuildRequires: perl(CPAN::Meta::Requirements) >= 2.000 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 +# Module Runtime +BuildRequires: perl(B) +BuildRequires: perl(Exporter::Tiny) >= 0.030 +BuildRequires: perl(Import::Into) >= 1.002000 +BuildRequires: perl(Module::Runtime) >= 0.012 +BuildRequires: perl(Moose::Util) +BuildRequires: perl(Mouse::Util) +BuildRequires: perl(Role::Tiny) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strict) +BuildRequires: perl(Test::API) >= 0.004 +BuildRequires: perl(Test::Deep) >= 0.111 +BuildRequires: perl(Test::Fatal) >= 0.007 +BuildRequires: perl(Test::LongString) >= 0.15 +BuildRequires: perl(Test::More) >= 0.96 +BuildRequires: perl(Test::Warnings) >= 0.009 +BuildRequires: perl(Try::Tiny) >= 0.15 +BuildRequires: perl(warnings) +# Test Suite +BuildRequires: perl(base) +BuildRequires: perl(Data::Dumper) +# Optional Test Requirements +BuildRequires: perl(Moose) >= 2.0600 +BuildRequires: perl(namespace::clean) +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(B) +Requires: perl(Moose::Util) +Requires: perl(Mouse::Util) +Requires: perl(Role::Tiny) +Requires: perl(Scalar::Util) + +%description +Test::Modern provides the best features of Test::More, Test::Fatal, +Test::Warnings, Test::API, Test::LongString, and Test::Deep, as well as ideas +from Test::Requires, Test::DescribeMe, Test::Moose, and Test::CleanNamespaces. + +Test::Modern also automatically imposes strict and warnings on your script. + +%prep +%setup -q -n Test-Modern-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +%{_fixperms} %{buildroot} + +%check +make test + +%files +# CC-BY-SA +%doc CONTRIBUTING +# GPL+ or Artistic +%doc Changes COPYRIGHT CREDITS LICENSE README +%{perl_vendorlib}/Test/ +%{_mandir}/man3/Test::Modern.3pm* + +%changelog +* Thu Mar 20 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 0.002-3 +- Incorporate feedback from package review (#1078950) + - BR: perl for build process + - BR: perl(base) for test suite + - BR:/R: perl(Moose::Util), perl(Mouse::Util) and perl(Role::Tiny) for + runtime + - CONTRIBUTING file is CC-BY-SA + (https://github.com/tobyink/p5-test-modern/issues/1) + +* Thu Mar 20 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 0.002-2 +- Sanitize for Fedora submission + +* Fri Mar 14 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 0.002-1 +- Initial RPM version diff --git a/sources b/sources index e69de29..c890c18 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d4bd6a9ce886c23911c5cbd7573b8cc6 Test-Modern-0.002.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