perl-Test-Deep-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. Name: perl-Test-Deep
  2. Version: 1.128
  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)
  14. BuildRequires: perl(Test::Tester)
  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. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.128-1
  49. - new upstream release.
  50. - rebuilt with perl-5.26.
  51. * Tue Jul 1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.112-1
  52. - new upstream release.
  53. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.108-2
  54. - rebuild
  55. * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.108-1
  56. - initial build for Vine Linux
  57. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.108-5
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  59. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.108-4
  60. - Perl mass rebuild
  61. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.108-3
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  63. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.108-2
  64. - 661697 rebuild for fixing problems with vendorach/lib
  65. * Sat Dec 18 2010 Steven Pritchard <steve@kspei.com> 0.108-1
  66. - Update to 0.108.
  67. - Update Source0 URL.
  68. * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.106-3
  69. - Mass rebuild with perl-5.12.0
  70. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.106-2
  71. - rebuild against perl 5.10.1
  72. * Fri Oct 30 2009 Stepan Kasal <skasal@redhat.com> - 0.106-1
  73. - new upstream version
  74. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-4
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  76. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-3
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  78. * Wed Oct 22 2008 Lubomir Rintel <lubo.rintel@gooddata.com> 0.103-2
  79. - Fix crash on matching array_each() against non-array
  80. * Wed Jun 04 2008 Steven Pritchard <steve@kspei.com> 0.103-1
  81. - Update to 0.103.
  82. * Sat May 31 2008 Steven Pritchard <steve@kspei.com> 0.102-1
  83. - Update to 0.102.
  84. * Fri May 16 2008 Steven Pritchard <steve@kspei.com> 0.101-1
  85. - Update to 0.101.
  86. * Sat Feb 2 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.100-2
  87. - rebuild for new perl
  88. * Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 0.100-1
  89. - Update to 0.100.
  90. * Sat Jan 12 2008 Steven Pritchard <steve@kspei.com> 0.099-1
  91. - Update to 0.099.
  92. - Update License tag.
  93. * Tue Sep 18 2007 Steven Pritchard <steve@kspei.com> 0.098-1
  94. - Update to 0.098.
  95. * Fri Aug 10 2007 Steven Pritchard <steve@kspei.com> 0.097-1
  96. - Update to 0.097.
  97. * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.096-2
  98. - Use fixperms macro instead of our own chmod incantation.
  99. - BR ExtUtils::MakeMaker.
  100. * Tue Sep 26 2006 Steven Pritchard <steve@kspei.com> 0.096-1
  101. - Update to 0.096.
  102. * Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.095-2
  103. - Fix find option order.
  104. * Fri Apr 21 2006 Steven Pritchard <steve@kspei.com> 0.095-1
  105. - Update to 0.095.
  106. * Sat Apr 08 2006 Steven Pritchard <steve@kspei.com> 0.093-1
  107. - Specfile autogenerated by cpanspec 1.64.
  108. - Improve description.
  109. - Fix License.
  110. - Remove explicit dependency on Test::Tester and Test::NoWarnings.