parent
1846f29873
commit
824affe4c7
@ -0,0 +1 @@
|
||||
Test-Base-0.50.tar.gz
|
@ -0,0 +1,60 @@
|
||||
Name: perl-Test-Base
|
||||
Version: 0.50
|
||||
Release: 2%{?dist}
|
||||
Summary: Data Driven Testing Framework
|
||||
License: GPL or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Test-Base/
|
||||
Source0: http://www.cpan.org/authors/id/I/IN/INGY/Test-Base-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Spiffy) >= 0.30
|
||||
BuildRequires: perl(Text::Diff) >= 0.35
|
||||
BuildRequires: perl(Algorithm::Diff) >= 1.15
|
||||
Requires: perl(Text::Diff) >= 0.35
|
||||
Requires: perl(Algorithm::Diff) >= 1.15
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
Testing is usually the ugly part of Perl module authoring. Perl gives you a
|
||||
standard way to run tests with Test::Harness, and basic testing primitives
|
||||
with Test::More. After that you are pretty much on your own to develop a
|
||||
testing framework and philosophy. Test::More encourages you to make your
|
||||
own framework by subclassing Test::Builder, but that is not trivial.
|
||||
|
||||
%prep
|
||||
%setup -q -n Test-Base-%{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+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README ToDo
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon May 08 2006 Steven Pritchard <steve@kspei.com> 0.50-2
|
||||
- Add explicit dependencies for Text::Diff and Algorithm::Diff.
|
||||
|
||||
* Thu May 04 2006 Steven Pritchard <steve@kspei.com> 0.50-1
|
||||
- Specfile autogenerated by cpanspec 1.65.
|
||||
- Remove explicit BR: perl and Requires: perl(Spiffy).
|
Loading…
Reference in new issue