parent
8cd62d2118
commit
2a921690b4
@ -0,0 +1 @@
|
||||
Test-Class-0.24.tar.gz
|
@ -0,0 +1,56 @@
|
||||
Name: perl-Test-Class
|
||||
Version: 0.24
|
||||
Release: 1%{?dist}
|
||||
Summary: Easily create test classes in an xUnit/JUnit style
|
||||
License: GPL or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Test-Class/
|
||||
Source0: http://www.cpan.org/authors/id/A/AD/ADIE/Test-Class-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Contextual::Return)
|
||||
BuildRequires: perl(Devel::Symdump) >= 2.03
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(Test::Builder::Tester)
|
||||
BuildRequires: perl(Test::Exception) >= 0.15
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl(Devel::Symdump) >= 2.03
|
||||
Requires: perl(Test::Exception) >= 0.15
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
Test::Class provides a simple way of creating classes and objects to test
|
||||
your code in an xUnit style.
|
||||
|
||||
%prep
|
||||
%setup -q -n Test-Class-%{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 README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Jul 16 2007 Steven Pritchard <steve@kspei.com> 0.24-1
|
||||
- Specfile autogenerated by cpanspec 1.71.
|
||||
- BR Contextual::Return, Test::Builder::Tester, and Test::More.
|
||||
- Drop explicit perl BR.
|
Loading…
Reference in new issue