1 | Name: perl-Test-Needs |
---|
2 | Version: 0.002006 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Skip tests when modules not available |
---|
5 | License: GPL+ or Artistic |
---|
6 | |
---|
7 | URL: https://metacpan.org/release/Test-Needs |
---|
8 | Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/Test-Needs-%{version}.tar.gz |
---|
9 | |
---|
10 | Vendor: Project Vine |
---|
11 | Distribution: Vine Linux |
---|
12 | |
---|
13 | BuildArch: noarch |
---|
14 | BuildRequires: make |
---|
15 | BuildRequires: perl |
---|
16 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
17 | BuildRequires: perl(IPC::Open3) |
---|
18 | BuildRequires: perl(Test::Builder) |
---|
19 | BuildRequires: perl(Test::More) |
---|
20 | BuildRequires: perl(Test2::API) |
---|
21 | BuildRequires: perl(Test2::Event) |
---|
22 | BuildRequires: perl(lib) |
---|
23 | BuildRequires: perl(strict) |
---|
24 | BuildRequires: perl(version) |
---|
25 | BuildRequires: perl(warnings) |
---|
26 | |
---|
27 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
28 | |
---|
29 | %{?perl_default_filter} |
---|
30 | |
---|
31 | %description |
---|
32 | Skip test scripts if modules are not available. The requested modules will |
---|
33 | be loaded, and optionally have their versions checked. If the module is |
---|
34 | missing, the test script will be skipped. Modules that are found but fail |
---|
35 | to compile will exit with an error rather than skip. |
---|
36 | |
---|
37 | %prep |
---|
38 | %setup -q -n Test-Needs-%{version} |
---|
39 | |
---|
40 | %build |
---|
41 | %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 |
---|
42 | make %{?_smp_mflags} |
---|
43 | |
---|
44 | %install |
---|
45 | make pure_install DESTDIR=$RPM_BUILD_ROOT |
---|
46 | %{_fixperms} $RPM_BUILD_ROOT/* |
---|
47 | |
---|
48 | %check |
---|
49 | make test |
---|
50 | |
---|
51 | %files |
---|
52 | %doc Changes README |
---|
53 | %{perl_vendorlib}/Test* |
---|
54 | %{_mandir}/man3/Test* |
---|
55 | |
---|
56 | %changelog |
---|
57 | * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.002006-2 |
---|
58 | - initial build for Vine Linux. |
---|
59 | |
---|
60 | * Sun Apr 07 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 0.002006-1 |
---|
61 | - Update to 0.002006 |
---|
62 | |
---|
63 | * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.002005-8 |
---|
64 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
---|
65 | |
---|
66 | * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.002005-7 |
---|
67 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
68 | |
---|
69 | * Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.002005-6 |
---|
70 | - Perl 5.28 rebuild |
---|
71 | |
---|
72 | * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.002005-5 |
---|
73 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
---|
74 | |
---|
75 | * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.002005-4 |
---|
76 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
---|
77 | |
---|
78 | * Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.002005-3 |
---|
79 | - Perl 5.26 rebuild |
---|
80 | |
---|
81 | * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.002005-2 |
---|
82 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
---|
83 | |
---|
84 | * Sun Oct 02 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 0.002005-1 |
---|
85 | - Update to 0.002005 |
---|
86 | |
---|
87 | * Thu Aug 25 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 0.002004-1 |
---|
88 | - Update to 0.002004 |
---|
89 | |
---|
90 | * Fri Jun 10 2016 Emmanuel Seyman <emmanuel@seyman.fr> 0.002002-1 |
---|
91 | - Specfile autogenerated by cpanspec 1.78. |
---|