perl-Test-SubCalls-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. Name: perl-Test-SubCalls
  2. Version: 1.09
  3. Release: 3%{?_dist_release}
  4. Summary: Track the number of times subs are called
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/Test-SubCalls/
  8. Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Test-SubCalls-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildArch: noarch
  11. BuildRequires: perl(Hook::LexWrap) >= 0.20
  12. BuildRequires: perl(Test::Builder::Tester) >= 1.02
  13. BuildRequires: perl(Test::Pod) >= 1.00
  14. BuildRequires: perl(Test::More) >= 0.60
  15. BuildRequires: perl(Class::Inspector)
  16. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  17. %if 0%{!?perl_bootstrap:1}
  18. # for improved tests
  19. BuildRequires: perl(Test::CPAN::Meta) >= 0.12
  20. # FIXME: Fedora's Pod::Simple is outdated
  21. # BuildRequires: perl(Pod::Simple) >= 3.07
  22. BuildRequires: perl(Pod::Simple)
  23. BuildRequires: perl(Test::Pod) >= 1.26
  24. BuildRequires: perl(Test::MinimumVersion) >= 0.008
  25. %endif
  26. Vendor: Project Vine
  27. Distribution: Vine Linux
  28. Packager: shaolin
  29. %description
  30. There are a number of different situations (like testing cacheing
  31. code) where you want to want to do a number of tests, and then verify
  32. that some underlying subroutine deep within the code was called a
  33. specific number of times.
  34. %prep
  35. %setup -q -n Test-SubCalls-%{version}
  36. %build
  37. %{__perl} Makefile.PL INSTALLDIRS=vendor
  38. make %{?_smp_mflags}
  39. %install
  40. rm -rf $RPM_BUILD_ROOT
  41. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  42. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  43. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  44. chmod -R u+w $RPM_BUILD_ROOT/*
  45. %check
  46. make test AUTOMATED_TESTING=1
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %files
  50. %defattr(-,root,root,-)
  51. %doc Changes LICENSE README
  52. %{perl_vendorlib}/Test/
  53. %{_mandir}/man3/*.3pm*
  54. %changelog
  55. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.09-3
  56. - rebuild
  57. * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.09-2
  58. - undefine perl_bootstrap this time
  59. * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.09-1
  60. - initial build for Vine Linux
  61. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-7
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  63. * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.09-6
  64. - Perl mass rebuild
  65. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-5
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  67. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-4
  68. - 661697 rebuild for fixing problems with vendorach/lib
  69. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-3
  70. - Mass rebuild with perl-5.12.0
  71. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.09-2
  72. - rebuild against perl 5.10.1
  73. * Wed Oct 7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 1.09-1
  74. - update to new upstream release
  75. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-3
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  77. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-2
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  79. * Mon Oct 05 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.08-1
  80. - Upstream update.
  81. - Activate AUTOMATED_TESTING.
  82. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-3
  83. - Rebuild for perl 5.10 (again)
  84. * Sat Jan 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-2
  85. - rebuild for new perl
  86. * Wed Dec 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.07-1
  87. - bump to 1.07
  88. - license fix
  89. * Fri May 12 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.06-1
  90. - Update to 1.06.
  91. * Tue Apr 25 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.05-1
  92. - First build.