commit e1f89c415c458f34776fa1e1b0a37e6c26c16c03 Author: Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx> Date: Mon Nov 25 12:57:59 2013 +0800 Initial package for Fedora This was submitted on Mon Nov 25 2013: https://bugzilla.redhat.com/show_bug.cgi?id=1034017#c0 perl-Test-Name-FromLine.spec | 62 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 62 insertions(+), 0 deletions(-) --- diff --git a/perl-Test-Name-FromLine.spec b/perl-Test-Name-FromLine.spec new file mode 100644 index 0000000..cc41087 --- /dev/null +++ b/perl-Test-Name-FromLine.spec @@ -0,0 +1,62 @@ +Name: perl-Test-Name-FromLine +Summary: Auto fill test names from caller line +Version: 0.11 +Release: 1%{?dist} +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Test-Name-FromLine/ + +Source0: http://www.cpan.org/authors/id/S/SA/SATOH/Test-Name-FromLine-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.36 +BuildRequires: perl(File::Slurp) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::Builder) +BuildRequires: perl(Test::Differences) +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::More) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(File::Slurp) +Requires: perl(Test::Builder) + +%{?perl_default_filter} + +%description +Test::Name::FromLine is test utility that fills test names from its file. +Just use this module in test and this module fill test names to all test +except named one. + + +%prep +%setup -q -n Test-Name-FromLine-%{version} + +# Remove bundled build requirements +rm -fr inc + + +%build +%{__perl} Build.PL installdirs=vendor +./Build + + +%install +./Build install destdir=%{buildroot} create_packlist=0 + +%{_fixperms} %{buildroot}/* + + +%check +./Build test + + +%files +%doc Changes LICENSE README.md +%{perl_vendorlib}/Test +%{_mandir}/man3/Test::Name::FromLine* + + +%changelog +* Mon Nov 25 2013 Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx> - 0.11-1 +- Initial package for Fedora with help from cpanspec. -- 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