Name: perl-Test-LongString Version: 0.11 Release: 2%{?dist} Summary: Perl module to test long strings License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Test-LongString/ Source0: http://search.cpan.org/CPAN/authors/id/R/RG/RGARCIA/Test-LongString-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) # Required by the tests BuildRequires: perl(Test::Builder) >= 0.12 # 0.11 would require 1.04, but we only have 1.02 # Causes a warning when running tests # BuildRequires: perl(Test::Builder::Tester) >= 1.04 BuildRequires: perl(Test::Builder::Tester) BuildRequires: perl(Test::Pod::Coverage) >= 1.04 BuildRequires: perl(Test::Pod) >= 1.14 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module provides some drop-in replacements for the string comparison functions of Test::More, but which are more suitable when you test against long strings. If you've ever had to search for text in a multi-line string like an HTML document, or find specific items in binary data, this is the module for you. %prep %setup -q -n Test-LongString-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %clean rm -rf $RPM_BUILD_ROOT %check make test %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/Test %{_mandir}/man3/* %changelog * Thu Sep 06 2007 Ralf Corsépius - 0.11-2 - BR: perl(ExtUtils::MakeMaker). - Update license tag. * Wed Feb 21 2007 Ralf Corsépius - 0.11-1 - Upstream update. - For now, ignore BR: perl(Test::Builder::Tester) > 1.04. * Wed Feb 21 2007 Ralf Corsépius - Preps for 0.11. Deactivated, because perl(Test::Builder::Tester) on all current Fedoras is too old for this to be applicable. * Fri Nov 03 2006 Ralf Corsépius - 0.10-1 - Upstream update. * Tue Sep 05 2006 Ralf Corsépius - 0.09-3 - Mass rebuild. * Wed Mar 01 2006 Ralf Corsépius - 0.09-2 - Rebuild for perl-5.8.8. * Fri Oct 07 2005 Ralf Corsepius - 0.09-1 - Upstream update. * Fri Aug 19 2005 Ralf Corsepius - 0.08-2 - Spec cleanup. * Thu Aug 11 2005 Ralf Corsepius - 0.08-1 - FE submission.