Sophie

Sophie

distrib > Mandriva > mes5 > x86_64 > by-pkgid > 8878e26840fa3b5de4327388461f55bb > files > 2

perl-Test-Deep-0.103-2mdv2009.0.src.rpm

%define module	Test-Deep
%define name	perl-%{module}
%define version	0.103
%define release	%mkrel 2

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	Extremely flexible deep comparison
License:	GPL or Artistic
Group:		Development/Perl
Source:		ftp://ftp.perl.org/pub/CPAN/modules/by-module/Test/%{module}-%{version}.tar.bz2
Url:		http://search.cpan.org/dist/%{module}
%if %{mdkversion} < 1010
Buildrequires:	perl-devel
%endif
BuildRequires:	perl(Test::Tester)
BuildRequires:	perl(Test::NoWarnings)
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}

%description
Test::Deep gives you very flexible ways to check that the result you got is the
result you were expecting. At it's simplest it compares two structures by going
through each level, ensuring that the values match, that arrays and hashes have
the same elements and that references are blessed into the correct class. It
also handles circular data structures without getting caught in an infinite
loop.

%prep
%setup -q -n %{module}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%check
%{__make} test

%install
rm -rf %{buildroot}
%makeinstall_std

%clean 
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc CHANGES README TODO
%{_mandir}/*/*
%{perl_vendorlib}/Test/Deep
%{perl_vendorlib}/Test/Deep.pm
%{perl_vendorlib}/Test/Deep.pod




%changelog
* Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.103-2mdv2009.0
+ Revision: 268731
- rebuild early 2009.0 package (before pixel changes)

* Wed Jun 04 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.103-1mdv2009.0
+ Revision: 215041
- update to new version 0.103

* Sat May 31 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.102-1mdv2009.0
+ Revision: 213630
- update to new version 0.102

* Sat May 17 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.101-1mdv2009.0
+ Revision: 208376
- update to new version 0.101

* Tue Jan 29 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.100-1mdv2008.1
+ Revision: 159905
- update to new version 0.100

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Thu Nov 01 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.099-1mdv2008.1
+ Revision: 104577
- update to new version 0.099

* Fri Oct 12 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.098-1mdv2008.1
+ Revision: 97567
- update to new version 0.098

* Wed Aug 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.097-1mdv2008.0
+ Revision: 63964
- update to new version 0.097


* Wed Dec 13 2006 Olivier Thauvin <nanardon@mandriva.org> 0.096-1mdv2007.0
+ Revision: 96134
- 0.096
- Import perl-Test-Deep

* Fri Apr 28 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.095-1mdk
- new version

* Fri Apr 14 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.094-1mdk
- new version  
- spec cleanup
- rpmbuildupdate aware
- better buildrequires syntax

* Fri Dec 02 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.093-1mdk
- 0.093

* Sat Oct 29 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.092-1mdk
- 0.092

* Wed Oct 12 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.089-1mdk
- Initial MDV release