commit 033210656e9119535538a189da3a79c1f1615b73 Author: Daniel P. Berrange <berra...@redhat.com> Date: Wed Nov 16 13:03:45 2011 +0000
Initial import after review (rhbz #752838) .gitignore | 4 +++ perl-TAP-Formatter-JUnit.spec | 53 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 58 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..6d1ec6d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,4 @@ +*.tar.gz +noarch/ +.build*.log +*.rpm diff --git a/perl-TAP-Formatter-JUnit.spec b/perl-TAP-Formatter-JUnit.spec new file mode 100644 index 0000000..599b4c1 --- /dev/null +++ b/perl-TAP-Formatter-JUnit.spec @@ -0,0 +1,53 @@ +Name: perl-TAP-Formatter-JUnit +Version: 0.08 +Release: 2%{?dist} +Summary: Harness output delegate for JUnit output +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/TAP-Formatter-JUnit/ +Source0: http://www.cpan.org/modules/by-module/TAP/TAP-Formatter-JUnit-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Class::Field) +BuildRequires: perl(File::Slurp) +BuildRequires: perl(IO::Scalar) +BuildRequires: perl(Module::Build) +BuildRequires: perl(TAP::Harness) >= 3.12 +BuildRequires: perl(Test::Differences) +BuildRequires: perl(Test::More) +BuildRequires: perl(XML::Generator) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module provides JUnit output formatting for TAP::Harness (a replacement +for Test::Harness. + +%prep +%setup -q -n TAP-Formatter-JUnit-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%files +%defattr(-,root,root,-) +%doc Changes README +%{_bindir}/tap2junit +%{perl_vendorlib}/* +%{_mandir}/man1/* +%{_mandir}/man3/* + +%changelog +* Wed Nov 16 2011 Daniel P. Berrange <berra...@redhat.com> - 0.08-2 +- Updated with suggestions from review (rhbz #752838) + +* Mon Nov 07 2011 Daniel P. Berrange <berra...@redhat.com> - 0.08-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..0e152c7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f440978d4ed733850857808e24e632a8 TAP-Formatter-JUnit-0.08.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-de...@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel