forked from pool/perl-Test-LongString
61 lines
1.4 KiB
RPMSpec
61 lines
1.4 KiB
RPMSpec
|
|
#
|
||
|
|
# spec file for package perl-Test-LongString
|
||
|
|
#
|
||
|
|
# This file and all modifications and additions to the pristine
|
||
|
|
# package are under the same license as the package itself.
|
||
|
|
#
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
Name: perl-Test-LongString
|
||
|
|
%define real_name Test-LongString
|
||
|
|
Summary: Tests strings for equality, with more helpful failures
|
||
|
|
Url: http://search.cpan.org/perldoc?Test::LongString
|
||
|
|
Group: Development/Libraries/Perl
|
||
|
|
License: Artistic License
|
||
|
|
Version: 0.11
|
||
|
|
Release: 0
|
||
|
|
Source: %{real_name}-%{version}.tar.bz2
|
||
|
|
BuildRequires: perl-Test-Pod-Coverage
|
||
|
|
Requires: perl = %{perl_version}
|
||
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
|
||
|
|
%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.
|
||
|
|
|
||
|
|
Author:
|
||
|
|
-------
|
||
|
|
Rafael Garcia-Suarez
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%setup -n %{real_name}-%{version}
|
||
|
|
|
||
|
|
%build
|
||
|
|
perl Makefile.PL
|
||
|
|
make %{?jobs:-j%jobs}
|
||
|
|
|
||
|
|
%check
|
||
|
|
make test
|
||
|
|
|
||
|
|
%install
|
||
|
|
%perl_make_install
|
||
|
|
%perl_process_packlist
|
||
|
|
|
||
|
|
%clean
|
||
|
|
rm -rf %{buildroot}
|
||
|
|
|
||
|
|
%files
|
||
|
|
%defattr(-, root, root)
|
||
|
|
%doc README Changes MANIFEST
|
||
|
|
%doc %{_mandir}/man?/*
|
||
|
|
%dir %{perl_vendorlib}/Test
|
||
|
|
%dir %{perl_vendorarch}/auto/Test
|
||
|
|
%dir %{perl_vendorarch}/auto/Test/LongString
|
||
|
|
%{perl_vendorlib}/Test/LongString.pm
|
||
|
|
|
||
|
|
%changelog
|