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