3 %bcond_without tests # do not perform "make test"
7 Summary: Test::Exception - convenience routines for testing exception based code
8 Summary(pl.UTF-8): Test::Exception - wygodne funkcje do testowania kodu bazującego na wyjątkach
9 Name: perl-Test-Exception
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Test/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 572d355026fb0b87fc2b8c64b83cada0
17 URL: http://search.cpan.org/dist/Test-Exception/
19 BuildRequires: perl(Test::Builder) >= 0.70
20 BuildRequires: perl-Sub-Uplevel >= 0.18
21 BuildRequires: perl-Test-Builder-Tester >= 1.07
22 BuildRequires: perl-Test-Harness >= 2.03
23 BuildRequires: perl-Test-Simple >= 0.70
25 BuildRequires: perl-devel >= 1:5.8.0
26 BuildRequires: rpm-perlprov >= 4.1-13
27 Requires: perl(Test::Builder) >= 0.70
28 Requires: perl-Sub-Uplevel >= 0.18
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 This module provides a few convenience methods for testing exception
34 based code. It is built with Test::Builder and plays happily with
35 Test::More and friends.
37 %description -l pl.UTF-8
38 Ten moduł udostępnia kilka wygodnych metod do testowania kodu
39 bazującego na wyjątkach. Jest budowany z użyciem Test::Builder, działa
40 sprawnie z Test::More i przyległościami.
43 %setup -q -n %{pdir}-%{pnam}-%{version}
46 %{__perl} Makefile.PL \
50 %{?with_tests:%{__make} test}
53 rm -rf $RPM_BUILD_ROOT
56 DESTDIR=$RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
63 %{perl_vendorlib}/Test/Exception.pm
64 %{_mandir}/man3/Test::Exception.3pm*