Name: perl-Test-Differences Epoch: 1 Version: 0.63 Release: 1%{?dist} Summary: Test strings and data structures and show differences if not ok License: CHECK(Distributable) Group: Development/Libraries URL: http://search.cpan.org/dist/Test-Differences/ Source0: http://www.cpan.org/authors/id/D/DC/DCANTRELL/Test-Differences-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Capture::Tiny) >= 0.24 BuildRequires: perl(Data::Dumper) >= 2.126 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) BuildRequires: perl(Text::Diff) >= 0.35 Requires: perl(Capture::Tiny) >= 0.24 Requires: perl(Data::Dumper) >= 2.126 Requires: perl(Test::More) Requires: perl(Text::Diff) >= 0.35 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description When the code you're testing returns multiple lines, records or data structures and they're just plain wrong, an equivalent to the Unix diff utility may be just what's needed. Here's output from an example test script that checks two text documents and then two (trivial) data structures: %prep %setup -q -n Test-Differences-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 31 2015 Dave Cross 0.63-1 - Specfile autogenerated by cpanspec 1.78.