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