source: projects/specs/trunk/p/perl-Test-MockModule/perl-Test-MockModule-vl.spec @ 12120

Revision 12120, 2.8 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

Line 
1%define pkgname Test-MockModule
2
3Name:           perl-%{pkgname}
4Version:        0.170.0
5Release:        1%{?_dist_release}
6Group:          Development/Libraries
7License:        Artistic or GPL+
8URL:            http://search.cpan.org/dist/Test-MockModule/
9Source0:        http://search.cpan.org/CPAN/authors/id/S/SI/SIMONFLK/Test-MockModule-v%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11
12BuildArch:      noarch
13BuildRequires:  perl-Module-Build
14BuildRequires:  perl(strict)
15BuildRequires:  perl(warnings)
16# Run-time:
17BuildRequires:  perl(Carp)
18BuildRequires:  perl(Scalar::Util)
19BuildRequires:  perl(SUPER)
20BuildRequires:  perl(vars)
21# Tests:
22BuildRequires:  perl(lib)
23BuildRequires:  perl(Test::More)
24BuildRequires:  perl(Test::Warnings)
25#if %{with perl_Test_MockModule_enables_optional_test}
26# Optional tests:
27BuildRequires:  perl(Test::Pod)
28BuildRequires:  perl(Test::Pod::Coverage)
29#endif
30Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
31
32Vendor:         Project Vine
33Distribution:   Vine Linux
34Packager:       shaolin
35
36Summary:        Override subroutines in a module for unit testing
37
38%description
39%{summary}.
40
41%prep
42%setup -q -n Test-MockModule-v%{version}
43
44%build
45%{__perl} Build.PL installdirs=vendor
46./Build
47
48%install
49./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
50chmod -R u+w $RPM_BUILD_ROOT/*
51
52%check
53./Build test
54
55%files
56%doc Changes README.md
57%license LICENSE
58%{perl_vendorlib}/Test
59%{_mandir}/man3/*.3*
60
61%changelog
62* Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.170.0-1
63- new upstream release.
64- rebuilt with perl-5.26.
65
66* Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.05-3
67- rebuilt with perl 5.16.3
68
69* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.05-2
70- rebuild
71
72* Mon Feb 20 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.05-1
73- initial build for Vine Linux
74
75* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-9
76- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
77
78* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-8
79- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
80
81* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.05-7
82- Rebuild for perl 5.10 (again)
83
84* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-6
85- rebuild for new perl
86
87* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-5
88- license tag fix
89
90* Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-4
91- bump for fc6
92
93* Wed Jul 27 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-3
94- add missing BuildRequires
95
96* Fri Jul  8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-2
97- cleanups
98
99* Wed Jul  6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-1
100- Initial package for Fedora Extras
Note: See TracBrowser for help on using the repository browser.