perl-Test-Base-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. Name: perl-Test-Base
  2. Version: 0.88
  3. Release: 1%{?_dist_release}
  4. Summary: Data Driven Testing Framework
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Test-Base/
  8. Source0: http://www.cpan.org/authors/id/I/IN/INGY/Test-Base-%{version}.tar.gz
  9. BuildArch: noarch
  10. BuildRequires: perl(ExtUtils::MakeMaker)
  11. BuildRequires: perl(Spiffy) >= 0.30
  12. BuildRequires: perl(Test::Deep)
  13. BuildRequires: perl(Test::More) >= 0.62
  14. BuildRequires: perl(Test::Tester)
  15. BuildRequires: perl(Text::Diff) >= 0.35
  16. BuildRequires: perl(YAML)
  17. Requires: perl(Text::Diff) >= 0.35
  18. Requires: perl(LWP::Simple)
  19. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  20. %description
  21. Testing is usually the ugly part of Perl module authoring. Perl gives you a
  22. standard way to run tests with Test::Harness, and basic testing primitives
  23. with Test::More. After that you are pretty much on your own to develop a
  24. testing framework and philosophy. Test::More encourages you to make your
  25. own framework by subclassing Test::Builder, but that is not trivial.
  26. %prep
  27. %setup -q -n Test-Base-%{version}
  28. %build
  29. %{__perl} Makefile.PL INSTALLDIRS=vendor
  30. make %{?_smp_mflags}
  31. %install
  32. rm -rf %{buildroot}
  33. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  34. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  35. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  36. %{_fixperms} %{buildroot}/*
  37. %check
  38. make test
  39. %clean
  40. rm -rf %{buildroot}
  41. %files
  42. %doc Changes README
  43. %{perl_vendorlib}/*
  44. %{_mandir}/man3/*
  45. %changelog
  46. * Wed Nov 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.88-1
  47. - updated to 0.88
  48. - built with perl 5.16.3
  49. * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.60-1
  50. - initial build for Vine Linux
  51. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.60-3
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  53. * Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.60-2
  54. - Perl mass rebuild
  55. * Sat May 14 2011 Iain Arnell <iarnell@gmail.com> 0.60-1
  56. - update to latest upstream version
  57. - clean up spec for modern rpmbuild
  58. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.59-3
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  60. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.59-2
  61. - 661697 rebuild for fixing problems with vendorach/lib
  62. * Mon Dec 13 2010 Steven Pritchard <steve@kspei.com> 0.59-1
  63. - Update to 0.59.
  64. * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.58-4
  65. - Mass rebuild with perl-5.12.0
  66. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.58-3
  67. - rebuild against perl 5.10.1
  68. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.58-2
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  70. * Sun May 17 2009 Steven Pritchard <steve@kspei.com> 0.58-1
  71. - Update to 0.58.
  72. - BR Test::Deep and Test::Tester.
  73. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.55-2
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  75. * Wed Dec 10 2008 Steven Pritchard <steve@kspei.com> 0.55-1
  76. - Update to 0.55.
  77. - Explicitly BR Test::More >= 0.62.
  78. - BR YAML.
  79. * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.54-3
  80. - Rebuild for new perl
  81. * Sat Jul 07 2007 Steven Pritchard <steve@kspei.com> 0.54-2
  82. - BR Test::More.
  83. * Mon Jul 02 2007 Steven Pritchard <steve@kspei.com> 0.54-1
  84. - Update to 0.54.
  85. * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.53-2
  86. - BR ExtUtils::MakeMaker.
  87. * Sat Dec 09 2006 Steven Pritchard <steve@kspei.com> 0.53-1
  88. - Update to 0.53.
  89. - Use fixperms macro instead of our own chmod incantation.
  90. * Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.52-2
  91. - Fix find option order.
  92. * Sat Jul 01 2006 Steven Pritchard <steve@kspei.com> 0.52-1
  93. - Update to 0.52.
  94. * Mon May 08 2006 Steven Pritchard <steve@kspei.com> 0.50-2
  95. - Add explicit dependencies for Text::Diff and LWP::Simple.
  96. * Thu May 04 2006 Steven Pritchard <steve@kspei.com> 0.50-1
  97. - Specfile autogenerated by cpanspec 1.65.
  98. - Remove explicit BR: perl and Requires: perl(Spiffy).