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

Revision 12120, 3.3 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

Line 
1Name:           perl-Test-Exception
2Version:        0.43
3Release:        1%{?_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)
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} Makefile.PL INSTALLDIRS=vendor
36make %{?_smp_mflags}
37
38%install
39rm -rf $RPM_BUILD_ROOT
40
41make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
42
43find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
44find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
45
46%{_fixperms} $RPM_BUILD_ROOT/*
47
48%check
49make test
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(-,root,root,-)
56%doc Changes README
57%{perl_vendorlib}/*
58%{_mandir}/man3/*
59
60%changelog
61* Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.43-1
62- new upstream release.
63- rebuilt with perl-5.26.
64
65* Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.31-2
66- build with Perl 5.16
67
68* Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 0.31-1
69- new upstream release
70- add Vendor and Distribution tags
71
72* Sat Nov  8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.27-3
73- Initial build for Vine Linux
74
75* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.27-2
76- Rebuild for perl 5.10 (again)
77
78* Wed Feb 20 2008 Steven Pritchard <steve@kspei.com> 0.27-1
79- Update to 0.27.
80
81* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.26-2
82- rebuild for new perl
83
84* Sat Jan 12 2008 Steven Pritchard <steve@kspei.com> 0.26-1
85- Update to 0.26.
86- Update License tag.
87- Use fixperms macro instead of our own chmod incantation.
88- Reformat to match cpanspec output.
89- Drop executable bits.
90
91* Thu Sep 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-3
92- Rebuild for FC6.
93
94* Fri Feb 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-2
95- Rebuild for FC5 (perl 5.8.8).
96
97* Tue Jun  7 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-1
98- Update to 0.21.
99
100* Thu May 12 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-4
101- Add dist tag.
102
103* Sat Apr 16 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.20-3
104- Avoid .packlist creation with Module::Build >= 0.2609.
105- Trust that %%{perl_vendorlib} is defined.
106
107* Thu Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.20-2
108- rebuilt
109
110* Fri Nov  5 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1
111- Update to 0.20.
112
113* Sun Jul 04 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.15-0.fdr.1
114- First build.
Note: See TracBrowser for help on using the repository browser.