perl-Test-Deep-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. Name: perl-Test-Deep
  2. Version: 0.112
  3. Release: 1%{?_dist_release}
  4. Summary: Extremely flexible deep comparison
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Test-Deep/
  8. Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Test-Deep-%{version}.tar.gz
  9. Patch0: perl-Test-Deep-0.103-arrayeach.patch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  11. BuildArch: noarch
  12. BuildRequires: perl(ExtUtils::MakeMaker)
  13. BuildRequires: perl(Test::NoWarnings) >= 0.02
  14. BuildRequires: perl(Test::Tester) >= 0.04
  15. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: shaolin
  19. %description
  20. Test::Deep gives you very flexible ways to check that the result you
  21. got is the result you were expecting. At it's simplest it compares two
  22. structures by going through each level, ensuring that the values
  23. match, that arrays and hashes have the same elements and that
  24. references are blessed into the correct class. It also handles
  25. circular data structures without getting caught in an infinite loop.
  26. %prep
  27. %setup -q -n Test-Deep-%{version}
  28. #%patch0 -p1 -b .arrayeach
  29. %build
  30. %{__perl} Makefile.PL INSTALLDIRS=vendor
  31. make %{?_smp_mflags}
  32. %install
  33. rm -rf ${RPM_BUILD_ROOT}
  34. make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT}
  35. find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} \;
  36. find ${RPM_BUILD_ROOT} -depth -type d -exec rmdir {} 2>/dev/null \;
  37. %{_fixperms} ${RPM_BUILD_ROOT}/*
  38. %check
  39. make test
  40. %clean
  41. rm -rf ${RPM_BUILD_ROOT}
  42. %files
  43. %defattr(-,root,root,-)
  44. %doc CHANGES README TODO
  45. %{perl_vendorlib}/*
  46. %{_mandir}/man3/*
  47. %changelog
  48. * Tue Jul 1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.112-1
  49. - new upstream release.
  50. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.108-2
  51. - rebuild
  52. * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.108-1
  53. - initial build for Vine Linux
  54. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.108-5
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  56. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.108-4
  57. - Perl mass rebuild
  58. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.108-3
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  60. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.108-2
  61. - 661697 rebuild for fixing problems with vendorach/lib
  62. * Sat Dec 18 2010 Steven Pritchard <steve@kspei.com> 0.108-1
  63. - Update to 0.108.
  64. - Update Source0 URL.
  65. * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.106-3
  66. - Mass rebuild with perl-5.12.0
  67. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.106-2
  68. - rebuild against perl 5.10.1
  69. * Fri Oct 30 2009 Stepan Kasal <skasal@redhat.com> - 0.106-1
  70. - new upstream version
  71. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-4
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  73. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-3
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  75. * Wed Oct 22 2008 Lubomir Rintel <lubo.rintel@gooddata.com> 0.103-2
  76. - Fix crash on matching array_each() against non-array
  77. * Wed Jun 04 2008 Steven Pritchard <steve@kspei.com> 0.103-1
  78. - Update to 0.103.
  79. * Sat May 31 2008 Steven Pritchard <steve@kspei.com> 0.102-1
  80. - Update to 0.102.
  81. * Fri May 16 2008 Steven Pritchard <steve@kspei.com> 0.101-1
  82. - Update to 0.101.
  83. * Sat Feb 2 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.100-2
  84. - rebuild for new perl
  85. * Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 0.100-1
  86. - Update to 0.100.
  87. * Sat Jan 12 2008 Steven Pritchard <steve@kspei.com> 0.099-1
  88. - Update to 0.099.
  89. - Update License tag.
  90. * Tue Sep 18 2007 Steven Pritchard <steve@kspei.com> 0.098-1
  91. - Update to 0.098.
  92. * Fri Aug 10 2007 Steven Pritchard <steve@kspei.com> 0.097-1
  93. - Update to 0.097.
  94. * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.096-2
  95. - Use fixperms macro instead of our own chmod incantation.
  96. - BR ExtUtils::MakeMaker.
  97. * Tue Sep 26 2006 Steven Pritchard <steve@kspei.com> 0.096-1
  98. - Update to 0.096.
  99. * Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.095-2
  100. - Fix find option order.
  101. * Fri Apr 21 2006 Steven Pritchard <steve@kspei.com> 0.095-1
  102. - Update to 0.095.
  103. * Sat Apr 08 2006 Steven Pritchard <steve@kspei.com> 0.093-1
  104. - Specfile autogenerated by cpanspec 1.64.
  105. - Improve description.
  106. - Fix License.
  107. - Remove explicit dependency on Test::Tester and Test::NoWarnings.