source: projects/specs/trunk/p/perl-Test-Exception/perl-Test-Exception-vl.spec @ 8669

Revision 8669, 3.1 KB checked in by iwaim, 10 years ago (diff)

perl-Test-Exception 0.31-2

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