From 7c692734ff13899a951da12b5482ab3e4ad559b1 Mon Sep 17 00:00:00 2001 From: Jose Pedro Oliveira Date: Fri, 4 Mar 2005 03:07:31 +0000 Subject: [PATCH] auto-import perl-Test-Exception-0.20-0.fdr.1 on branch devel from perl-Test-Exception-0.20-0.fdr.1.src.rpm --- .cvsignore | 1 + perl-Test-Exception.spec | 63 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 65 insertions(+) create mode 100644 perl-Test-Exception.spec diff --git a/.cvsignore b/.cvsignore index e69de29..f7d2bf1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Test-Exception-0.20.tar.gz diff --git a/perl-Test-Exception.spec b/perl-Test-Exception.spec new file mode 100644 index 0000000..bbc5237 --- /dev/null +++ b/perl-Test-Exception.spec @@ -0,0 +1,63 @@ +%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} + +Name: perl-Test-Exception +Version: 0.20 +Release: 0.fdr.1 +Epoch: 0 +Summary: Test functions for exception based code + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Test-Exception/ +Source0: http://www.cpan.org/authors/id/A/AD/ADIE/Test-Exception-0.20.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1 +BuildRequires: perl(Module::Build), perl(Test::More) +BuildRequires: perl(Test::Builder), perl(Test::Builder::Tester) +BuildRequires: perl(Sub::Uplevel), perl(Pod::Coverage), perl(Test::Pod) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module provides a few convenience methods for testing exception +based code. It is built with Test::Builder and plays happily with +Test::More and friends. + + +%prep +%setup -q -n Test-Exception-%{version} + + +%build +%{__perl} Build.PL installdirs=vendor +./Build + + +%install +rm -rf $RPM_BUILD_ROOT +./Build install destdir=$RPM_BUILD_ROOT +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check || : +./Build test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/Test/ +%{_mandir}/man3/*.3* + + +%changelog +* Fri Nov 5 2004 Jose Pedro Oliveira - 0:0.20-0.fdr.1 +- Update to 0.20. + +* Sun Jul 04 2004 Jose Pedro Oliveira - 0:0.15-0.fdr.1 +- First build. diff --git a/sources b/sources index e69de29..50822e7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +820941e2373ecc9a17716550357dc6c6 Test-Exception-0.20.tar.gz