source: projects/specs/trunk/p/perl-Test-Deep/perl-Test-Deep-vl.spec @ 5745

Revision 5745, 4.4 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-Test-Deep
2Version:        0.108
3Release:        1%{?_dist_release}
4Summary:        Extremely flexible deep comparison
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Test-Deep/
8Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/Test-Deep-%{version}.tar.gz
9Patch0:         perl-Test-Deep-0.103-arrayeach.patch
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11BuildArch:      noarch
12BuildRequires:  perl(ExtUtils::MakeMaker)
13BuildRequires:  perl(Test::NoWarnings) >= 0.02
14BuildRequires:  perl(Test::Tester) >= 0.04
15Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
16
17Vendor:         Project Vine
18Distribution:   Vine Linux
19Packager:       shaolin
20
21%description
22Test::Deep gives you very flexible ways to check that the result you
23got is the result you were expecting. At it's simplest it compares two
24structures by going through each level, ensuring that the values
25match, that arrays and hashes have the same elements and that
26references are blessed into the correct class. It also handles
27circular 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
35make %{?_smp_mflags}
36
37%install
38rm -rf ${RPM_BUILD_ROOT}
39
40make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT}
41
42find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} \;
43find ${RPM_BUILD_ROOT} -depth -type d -exec rmdir {} 2>/dev/null \;
44
45%{_fixperms} ${RPM_BUILD_ROOT}/*
46
47%check
48make test
49
50%clean
51rm -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* Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.108-1
61- initial build for Vine Linux
62
63* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.108-5
64- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
65
66* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.108-4
67- Perl mass rebuild
68
69* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.108-3
70- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
71
72* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.108-2
73- 661697 rebuild for fixing problems with vendorach/lib
74
75* Sat Dec 18 2010 Steven Pritchard <steve@kspei.com> 0.108-1
76- Update to 0.108.
77- Update Source0 URL.
78
79* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.106-3
80- Mass rebuild with perl-5.12.0
81
82* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.106-2
83- rebuild against perl 5.10.1
84
85* Fri Oct 30 2009 Stepan Kasal <skasal@redhat.com> - 0.106-1
86- new upstream version
87
88* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-4
89- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
90
91* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.103-3
92- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
93
94* Wed Oct 22 2008 Lubomir Rintel <lubo.rintel@gooddata.com> 0.103-2
95- Fix crash on matching array_each() against non-array
96
97* Wed Jun 04 2008 Steven Pritchard <steve@kspei.com> 0.103-1
98- Update to 0.103.
99
100* Sat May 31 2008 Steven Pritchard <steve@kspei.com> 0.102-1
101- Update to 0.102.
102
103* Fri May 16 2008 Steven Pritchard <steve@kspei.com> 0.101-1
104- Update to 0.101.
105
106* Sat Feb  2 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.100-2
107- rebuild for new perl
108
109* Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 0.100-1
110- Update to 0.100.
111
112* Sat Jan 12 2008 Steven Pritchard <steve@kspei.com> 0.099-1
113- Update to 0.099.
114- Update License tag.
115
116* Tue Sep 18 2007 Steven Pritchard <steve@kspei.com> 0.098-1
117- Update to 0.098.
118
119* Fri Aug 10 2007 Steven Pritchard <steve@kspei.com> 0.097-1
120- Update to 0.097.
121
122* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.096-2
123- Use fixperms macro instead of our own chmod incantation.
124- BR ExtUtils::MakeMaker.
125
126* Tue Sep 26 2006 Steven Pritchard <steve@kspei.com> 0.096-1
127- Update to 0.096.
128
129* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.095-2
130- Fix find option order.
131
132* Fri Apr 21 2006 Steven Pritchard <steve@kspei.com> 0.095-1
133- Update to 0.095.
134
135* Sat Apr 08 2006 Steven Pritchard <steve@kspei.com> 0.093-1
136- Specfile autogenerated by cpanspec 1.64.
137- Improve description.
138- Fix License.
139- Remove explicit dependency on Test::Tester and Test::NoWarnings.
Note: See TracBrowser for help on using the repository browser.