source: projects/specs/trunk/p/perl-Test-Requires/perl-Test-Requires-vl.spec @ 8703

Revision 8703, 2.3 KB checked in by tomop, 10 years ago (diff)

updated perl modules.

Line 
1Name:           perl-Test-Requires
2Summary:        Checks to see if a given module can be loaded
3Version:        0.07
4Release:        1%{?_dist_release}
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7Source0:        http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-%{version}.tar.gz
8URL:            http://search.cpan.org/dist/Test-Requires
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
11BuildArch:      noarch
12
13BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
14BuildRequires:  perl(Filter::Util::Call)
15BuildRequires:  perl(Test::More) >= 0.61
16
17Requires:       perl(Test::Builder::Module)
18
19%{?perl_default_filter}
20%{?perl_default_subpackage_tests}
21
22%description
23Test::Requires checks to see if the module can be loaded; if this fails
24rather than failing tests this *skips all tests*.
25
26%prep
27%setup -q -n Test-Requires-%{version}
28
29%build
30%{__perl} Build.PL installdirs=vendor
31%{__perl} Build
32
33%install
34rm -rf %{buildroot}
35
36%{__perl} Build install destdir=%{buildroot}
37find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
38find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
39
40%{_fixperms} %{buildroot}/*
41
42%check
43# note the "skipped" warnings indicate success :)
44%{__perl} Build test
45
46
47%clean
48rm -rf %{buildroot}
49
50%files
51%defattr(-,root,root,-)
52%doc Changes README
53%{perl_vendorlib}/*
54%{_mandir}/man3/*.3*
55
56%changelog
57* Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.07-1
58- new upstream release.
59
60* Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.06-1
61- initial build for Vine Linux
62
63* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-3
64- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
65
66* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-2
67- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
68
69* Tue Oct 05 2010 Iain Arnell <iarnell@gmail.com> 0.06-1
70- update to latest upstream version
71
72* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-2
73- Mass rebuild with perl-5.12.0
74
75* Sat Mar 20 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.03-1
76- specfile by Fedora::App::MaintainerTools 0.006
77
78
Note: See TracBrowser for help on using the repository browser.