1 | Name: perl-Test-Inter |
---|
2 | Version: 1.09 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Framework for more readable interactive test scripts |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Test-Inter/ |
---|
8 | Source0: http://www.cpan.org/authors/id/S/SB/SBECK/Test-Inter-%{version}.tar.gz |
---|
9 | BuildArch: noarch |
---|
10 | BuildRequires: perl(File::Basename) |
---|
11 | BuildRequires: perl(File::Find::Rule) |
---|
12 | BuildRequires: perl(IO::File) |
---|
13 | BuildRequires: perl(Module::Build) |
---|
14 | # Tests only: |
---|
15 | BuildRequires: perl(Test::Pod) |
---|
16 | BuildRequires: perl(Test::Pod::Coverage) |
---|
17 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
18 | |
---|
19 | Vendor: Project Vine |
---|
20 | Distribution: Vine Linux |
---|
21 | |
---|
22 | %description |
---|
23 | This is another framework for writing test scripts. It is loosely inspired |
---|
24 | by Test::More, and has most of it's functionality, but it is not a drop-in |
---|
25 | replacement. |
---|
26 | |
---|
27 | %prep |
---|
28 | %setup -q -n Test-Inter-%{version} |
---|
29 | chmod -x examples/* |
---|
30 | |
---|
31 | %build |
---|
32 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
33 | make %{?_smp_mflags} |
---|
34 | |
---|
35 | %install |
---|
36 | rm -rf %{buildroot} |
---|
37 | |
---|
38 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
39 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
40 | find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
41 | |
---|
42 | %{_fixperms} %{buildroot}/* |
---|
43 | |
---|
44 | %clean |
---|
45 | rm -rf %{buildroot} |
---|
46 | |
---|
47 | %check |
---|
48 | make test |
---|
49 | |
---|
50 | %files |
---|
51 | %defattr(-,root,root,-) |
---|
52 | %license LICENSE |
---|
53 | %doc ChangeLog README TODO examples |
---|
54 | %{perl_vendorlib}/* |
---|
55 | %{_mandir}/man3/* |
---|
56 | |
---|
57 | %changelog |
---|
58 | * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.09-1 |
---|
59 | - new upstream release. |
---|
60 | - rebuilt with perl-5.26. |
---|
61 | |
---|
62 | * Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.05-1 |
---|
63 | - new upstream release. |
---|
64 | |
---|
65 | * Mon Mar 19 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.03-1 |
---|
66 | - updated to 1.03 |
---|
67 | |
---|
68 | * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 1.01-4 |
---|
69 | - build for Vine Linux |
---|
70 | |
---|
71 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-3 |
---|
72 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
73 | |
---|
74 | * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.01-2 |
---|
75 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
76 | |
---|
77 | * Tue Sep 14 2010 Petr Pisar <ppisar@redhat.com> 1.01-1 |
---|
78 | - Specfile autogenerated by cpanspec 1.78. |
---|
79 | - Add BuildRequires covered by perl package |
---|
80 | - Distribute examples |
---|
81 | - Install into perl core (i.e. do not use vendor paths) |
---|