1 | Name: perl-Test-Deep |
---|
2 | Version: 0.108 |
---|
3 | Release: 2%{?_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 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.108-2 |
---|
61 | - rebuild |
---|
62 | |
---|
63 | * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.108-1 |
---|
64 | - initial build for Vine Linux |
---|
65 | |
---|
66 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.108-5 |
---|
67 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
68 | |
---|
69 | * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.108-4 |
---|
70 | - Perl mass rebuild |
---|
71 | |
---|
72 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.108-3 |
---|
73 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
74 | |
---|
75 | * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.108-2 |
---|
76 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
77 | |
---|
78 | * Sat Dec 18 2010 Steven Pritchard <steve@kspei.com> 0.108-1 |
---|
79 | - Update to 0.108. |
---|
80 | - Update Source0 URL. |
---|
81 | |
---|
82 | * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.106-3 |
---|
83 | - Mass rebuild with perl-5.12.0 |
---|
84 | |
---|
85 | * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.106-2 |
---|
86 | - rebuild against perl 5.10.1 |
---|
87 | |
---|
88 | * Fri Oct 30 2009 Stepan Kasal <skasal@redhat.com> - 0.106-1 |
---|
89 | - new upstream version |
---|
90 | |
---|
91 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-4 |
---|
92 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
93 | |
---|
94 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-3 |
---|
95 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
96 | |
---|
97 | * Wed Oct 22 2008 Lubomir Rintel <lubo.rintel@gooddata.com> 0.103-2 |
---|
98 | - Fix crash on matching array_each() against non-array |
---|
99 | |
---|
100 | * Wed Jun 04 2008 Steven Pritchard <steve@kspei.com> 0.103-1 |
---|
101 | - Update to 0.103. |
---|
102 | |
---|
103 | * Sat May 31 2008 Steven Pritchard <steve@kspei.com> 0.102-1 |
---|
104 | - Update to 0.102. |
---|
105 | |
---|
106 | * Fri May 16 2008 Steven Pritchard <steve@kspei.com> 0.101-1 |
---|
107 | - Update to 0.101. |
---|
108 | |
---|
109 | * Sat Feb 2 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.100-2 |
---|
110 | - rebuild for new perl |
---|
111 | |
---|
112 | * Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 0.100-1 |
---|
113 | - Update to 0.100. |
---|
114 | |
---|
115 | * Sat Jan 12 2008 Steven Pritchard <steve@kspei.com> 0.099-1 |
---|
116 | - Update to 0.099. |
---|
117 | - Update License tag. |
---|
118 | |
---|
119 | * Tue Sep 18 2007 Steven Pritchard <steve@kspei.com> 0.098-1 |
---|
120 | - Update to 0.098. |
---|
121 | |
---|
122 | * Fri Aug 10 2007 Steven Pritchard <steve@kspei.com> 0.097-1 |
---|
123 | - Update to 0.097. |
---|
124 | |
---|
125 | * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.096-2 |
---|
126 | - Use fixperms macro instead of our own chmod incantation. |
---|
127 | - BR ExtUtils::MakeMaker. |
---|
128 | |
---|
129 | * Tue Sep 26 2006 Steven Pritchard <steve@kspei.com> 0.096-1 |
---|
130 | - Update to 0.096. |
---|
131 | |
---|
132 | * Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.095-2 |
---|
133 | - Fix find option order. |
---|
134 | |
---|
135 | * Fri Apr 21 2006 Steven Pritchard <steve@kspei.com> 0.095-1 |
---|
136 | - Update to 0.095. |
---|
137 | |
---|
138 | * Sat Apr 08 2006 Steven Pritchard <steve@kspei.com> 0.093-1 |
---|
139 | - Specfile autogenerated by cpanspec 1.64. |
---|
140 | - Improve description. |
---|
141 | - Fix License. |
---|
142 | - Remove explicit dependency on Test::Tester and Test::NoWarnings. |
---|