/[packages]/cauldron/perl-Test-Some/current/SPECS/perl-Test-Some.spec
ViewVC logotype

Contents of /cauldron/perl-Test-Some/current/SPECS/perl-Test-Some.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1813555 - (show annotations) (download)
Mon Mar 21 11:17:06 2022 UTC (2 years, 1 month ago) by umeabot
File size: 1501 byte(s)
Mageia 9 Mass Rebuild
1 %define upstream_name Test-Some
2 %define upstream_version 0.2.1
3
4 %{?perl_default_filter}
5
6 Name: perl-%{upstream_name}
7 Version: %perl_convert_version %{upstream_version}
8 Release: %mkrel 2
9
10 Summary: Test a subset of tests
11 License: GPLv1+ or Artistic
12 Group: Development/Perl
13 Url: https://metacpan.org/release/%{upstream_name}
14 Source0: https://www.cpan.org/modules/by-module/Test/%{upstream_name}-%{upstream_version}.tar.gz
15
16 BuildRequires: perl(ExtUtils::MakeMaker)
17 BuildRequires: perl(ExtUtils::MakeMaker)
18 BuildRequires: perl(File::Spec)
19 BuildRequires: perl(IO::Handle)
20 BuildRequires: perl(IPC::Open3)
21 BuildRequires: perl(List::MoreUtils)
22 BuildRequires: perl(Package::Stash)
23 BuildRequires: perl(Scalar::Util)
24 BuildRequires: perl(Test::More)
25 BuildRequires: perl(strict)
26 BuildRequires: perl(warnings)
27 BuildArch: noarch
28
29 %description
30 This module allows to run a subset of the 'subtest' tests given in a test
31 file.
32
33 The module declaration takes a whitelist of the subtests we want to run.
34 Any subtest that doesn't match any of the whitelist items will be skipped
35 (or potentially bypassed).
36
37 The test files don't even need to be modified, as the module can also be
38 invoked from the command-line. E.g.,
39
40 %prep
41 %setup -q -n %{upstream_name}-%{upstream_version}
42
43 %build
44 %{__perl} Makefile.PL INSTALLDIRS=vendor
45
46 %make_build
47
48 %check
49 %make_build test
50
51 %install
52 %make_install
53
54 %files
55 %doc Changes LICENSE SIGNATURE INSTALL META.json META.yml
56 %{_mandir}/man3/*
57 %perl_vendorlib/*
58
59

  ViewVC Help
Powered by ViewVC 1.1.30