perl-Test-Base-vl.spec 4.3 KB

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