1 | Name: perl-Test-Exception |
---|
2 | Version: 0.31 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Library of test functions for exception based Perl code |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Test-Exception/ |
---|
8 | Source0: http://www.cpan.org/authors/id/A/AD/ADIE/Test-Exception-%{version}.tar.gz |
---|
9 | |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | BuildArch: noarch |
---|
12 | # BuildRequires: perl, perl-Pod-Coverage, perl-Sub-Uplevel, perl-Test-Tester |
---|
13 | BuildRequires: perl(Module::Build) |
---|
14 | BuildRequires: perl(Pod::Coverage) |
---|
15 | BuildRequires: perl(Sub::Uplevel) >= 0.18 |
---|
16 | BuildRequires: perl(Test::Pod) |
---|
17 | BuildRequires: perl(Test::Builder) |
---|
18 | BuildRequires: perl(Test::Builder::Tester) |
---|
19 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
20 | |
---|
21 | Vendor: Project Vine |
---|
22 | Distribution: Vine Linux |
---|
23 | |
---|
24 | %description |
---|
25 | This module provides a few convenience methods for testing exception |
---|
26 | based code. It is built with Test::Builder and plays happily with |
---|
27 | Test::More and friends. |
---|
28 | |
---|
29 | %prep |
---|
30 | %setup -q -n Test-Exception-%{version} |
---|
31 | |
---|
32 | find . -type f -perm +100 -exec chmod a-x {} \; |
---|
33 | |
---|
34 | %build |
---|
35 | %{__perl} Build.PL installdirs=vendor |
---|
36 | ./Build |
---|
37 | |
---|
38 | %install |
---|
39 | rm -rf $RPM_BUILD_ROOT |
---|
40 | |
---|
41 | ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 |
---|
42 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
43 | |
---|
44 | %{_fixperms} $RPM_BUILD_ROOT/* |
---|
45 | |
---|
46 | %check |
---|
47 | ./Build test |
---|
48 | |
---|
49 | %clean |
---|
50 | rm -rf $RPM_BUILD_ROOT |
---|
51 | |
---|
52 | %files |
---|
53 | %defattr(-,root,root,-) |
---|
54 | %doc Changes README |
---|
55 | %{perl_vendorlib}/* |
---|
56 | %{_mandir}/man3/* |
---|
57 | |
---|
58 | %changelog |
---|
59 | * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 0.31-1 |
---|
60 | - new upstream release |
---|
61 | - add Vendor and Distribution tags |
---|
62 | |
---|
63 | * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.27-3 |
---|
64 | - Initial build for Vine Linux |
---|
65 | |
---|
66 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.27-2 |
---|
67 | - Rebuild for perl 5.10 (again) |
---|
68 | |
---|
69 | * Wed Feb 20 2008 Steven Pritchard <steve@kspei.com> 0.27-1 |
---|
70 | - Update to 0.27. |
---|
71 | |
---|
72 | * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.26-2 |
---|
73 | - rebuild for new perl |
---|
74 | |
---|
75 | * Sat Jan 12 2008 Steven Pritchard <steve@kspei.com> 0.26-1 |
---|
76 | - Update to 0.26. |
---|
77 | - Update License tag. |
---|
78 | - Use fixperms macro instead of our own chmod incantation. |
---|
79 | - Reformat to match cpanspec output. |
---|
80 | - Drop executable bits. |
---|
81 | |
---|
82 | * Thu Sep 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-3 |
---|
83 | - Rebuild for FC6. |
---|
84 | |
---|
85 | * Fri Feb 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-2 |
---|
86 | - Rebuild for FC5 (perl 5.8.8). |
---|
87 | |
---|
88 | * Tue Jun 7 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-1 |
---|
89 | - Update to 0.21. |
---|
90 | |
---|
91 | * Thu May 12 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-4 |
---|
92 | - Add dist tag. |
---|
93 | |
---|
94 | * Sat Apr 16 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.20-3 |
---|
95 | - Avoid .packlist creation with Module::Build >= 0.2609. |
---|
96 | - Trust that %%{perl_vendorlib} is defined. |
---|
97 | |
---|
98 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.20-2 |
---|
99 | - rebuilt |
---|
100 | |
---|
101 | * Fri Nov 5 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1 |
---|
102 | - Update to 0.20. |
---|
103 | |
---|
104 | * Sun Jul 04 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.15-0.fdr.1 |
---|
105 | - First build. |
---|