auto-import perl-Test-LongString-0.08-1 on branch devel from

perl-Test-LongString-0.08-1.src.rpm
This commit is contained in:
corsepiu 2005-08-19 12:47:22 +00:00
parent 0475ac3164
commit f0f06ee319
3 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1 @@
Test-LongString-0.08.tar.gz

64
perl-Test-LongString.spec Normal file
View File

@ -0,0 +1,64 @@
Name: perl-Test-LongString
Version: 0.08
Release: 1%{?dist}
Summary: Tests strings for equality
License: GPL or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-LongString/
Source0: http://www.cpan.org/modules/by-module/Test/Test-LongString-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl
# Required by the tests
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 f -name '*.bs' -a -size 0 -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 Aug 11 2005 Ralf Corsepius <ralf@links2linux.de> - 0.08-1
- FE submission.
* Thu Aug 11 2005 Ralf Corsepius <ralf@links2linux.de> - 0.07-1
- FE submission.
* Tue Mar 22 2005 Ralf Corsepius <ralf@links2linux.de> - 0.07-0.pm.2
- Initial packman version.
- Update to FE standards.

View File

@ -0,0 +1 @@
c0906f6abfe4eabf408dfb245b7f589d Test-LongString-0.08.tar.gz