[5699] | 1 | %define pkgname Test-MockModule |
---|
| 2 | |
---|
| 3 | Name: perl-%{pkgname} |
---|
[12120] | 4 | Version: 0.170.0 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
[5699] | 6 | Group: Development/Libraries |
---|
| 7 | License: Artistic or GPL+ |
---|
| 8 | URL: http://search.cpan.org/dist/Test-MockModule/ |
---|
[12120] | 9 | Source0: http://search.cpan.org/CPAN/authors/id/S/SI/SIMONFLK/Test-MockModule-v%{version}.tar.gz |
---|
[9109] | 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[5699] | 11 | |
---|
| 12 | BuildArch: noarch |
---|
[12120] | 13 | BuildRequires: perl-Module-Build |
---|
| 14 | BuildRequires: perl(strict) |
---|
| 15 | BuildRequires: perl(warnings) |
---|
| 16 | # Run-time: |
---|
| 17 | BuildRequires: perl(Carp) |
---|
| 18 | BuildRequires: perl(Scalar::Util) |
---|
| 19 | BuildRequires: perl(SUPER) |
---|
| 20 | BuildRequires: perl(vars) |
---|
| 21 | # Tests: |
---|
| 22 | BuildRequires: perl(lib) |
---|
[9109] | 23 | BuildRequires: perl(Test::More) |
---|
[12120] | 24 | BuildRequires: perl(Test::Warnings) |
---|
| 25 | #if %{with perl_Test_MockModule_enables_optional_test} |
---|
| 26 | # Optional tests: |
---|
[9109] | 27 | BuildRequires: perl(Test::Pod) |
---|
| 28 | BuildRequires: perl(Test::Pod::Coverage) |
---|
[12120] | 29 | #endif |
---|
[5699] | 30 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 31 | |
---|
| 32 | Vendor: Project Vine |
---|
| 33 | Distribution: Vine Linux |
---|
| 34 | Packager: shaolin |
---|
| 35 | |
---|
| 36 | Summary: Override subroutines in a module for unit testing |
---|
| 37 | |
---|
| 38 | %description |
---|
| 39 | %{summary}. |
---|
| 40 | |
---|
| 41 | %prep |
---|
[12120] | 42 | %setup -q -n Test-MockModule-v%{version} |
---|
[5699] | 43 | |
---|
| 44 | %build |
---|
[12120] | 45 | %{__perl} Build.PL installdirs=vendor |
---|
| 46 | ./Build |
---|
[5699] | 47 | |
---|
| 48 | %install |
---|
[12120] | 49 | ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 |
---|
| 50 | chmod -R u+w $RPM_BUILD_ROOT/* |
---|
[5699] | 51 | |
---|
| 52 | %check |
---|
[12120] | 53 | ./Build test |
---|
[5699] | 54 | |
---|
| 55 | %files |
---|
[12120] | 56 | %doc Changes README.md |
---|
| 57 | %license LICENSE |
---|
| 58 | %{perl_vendorlib}/Test |
---|
[5699] | 59 | %{_mandir}/man3/*.3* |
---|
| 60 | |
---|
[12120] | 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. |
---|
[5699] | 65 | |
---|
[9109] | 66 | * Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.05-3 |
---|
| 67 | - rebuilt with perl 5.16.3 |
---|
| 68 | |
---|
[5798] | 69 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.05-2 |
---|
| 70 | - rebuild |
---|
| 71 | |
---|
[5699] | 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 |
---|