perl-Test-Exception/perl-Test-Exception.spec

79 lines
2.0 KiB
RPMSpec
Raw Normal View History

Name: perl-Test-Exception
2005-06-07 13:47:13 +00:00
Version: 0.21
2006-09-14 21:17:53 +00:00
Release: 3%{?dist}
2005-03-04 03:48:44 +00:00
Summary: Library of test functions for exception based Perl code
Group: Development/Libraries
License: GPL or Artistic
URL: http://search.cpan.org/dist/Test-Exception/
2006-02-24 16:00:13 +00:00
Source0: http://www.cpan.org/authors/id/A/AD/ADIE/Test-Exception-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
2006-02-24 16:00:13 +00:00
BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::Builder), perl(Test::Builder::Tester)
BuildRequires: perl(Sub::Uplevel), perl(Pod::Coverage), perl(Test::Pod)
2006-02-24 16:00:13 +00:00
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
2005-04-16 12:04:58 +00:00
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
chmod -R u+w $RPM_BUILD_ROOT/*
2006-02-24 16:00:13 +00:00
%check
./Build test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/Test/
2006-09-14 21:17:53 +00:00
%{_mandir}/man3/*.3pm*
%changelog
2006-09-14 21:17:53 +00:00
* Thu Sep 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-3
- Rebuild for FC6.
2006-02-24 16:00:13 +00:00
* Fri Feb 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-2
- Rebuild for FC5 (perl 5.8.8).
2005-06-07 13:47:13 +00:00
* Tue Jun 7 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-1
- Update to 0.21.
2005-05-12 15:12:30 +00:00
* Thu May 12 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-4
- Add dist tag.
2005-04-16 12:04:58 +00:00
* Sat Apr 16 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.20-3
- Avoid .packlist creation with Module::Build >= 0.2609.
- Trust that %%{perl_vendorlib} is defined.
2005-05-12 15:12:30 +00:00
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.20-2
- rebuilt
2005-03-04 03:48:44 +00:00
* Fri Nov 5 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1
- Update to 0.20.
* Sun Jul 04 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.15-0.fdr.1
- First build.