123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- %define pkgname Test-MockModule
- Name: perl-%{pkgname}
- Version: 0.170.0
- Release: 1%{?_dist_release}
- Group: Development/Libraries
- License: Artistic or GPL+
- URL: http://search.cpan.org/dist/Test-MockModule/
- Source0: http://search.cpan.org/CPAN/authors/id/S/SI/SIMONFLK/Test-MockModule-v%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildArch: noarch
- BuildRequires: perl-Module-Build
- BuildRequires: perl(strict)
- BuildRequires: perl(warnings)
- # Run-time:
- BuildRequires: perl(Carp)
- BuildRequires: perl(Scalar::Util)
- BuildRequires: perl(SUPER)
- BuildRequires: perl(vars)
- # Tests:
- BuildRequires: perl(lib)
- BuildRequires: perl(Test::More)
- BuildRequires: perl(Test::Warnings)
- #if %{with perl_Test_MockModule_enables_optional_test}
- # Optional tests:
- BuildRequires: perl(Test::Pod)
- BuildRequires: perl(Test::Pod::Coverage)
- #endif
- Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: shaolin
- Summary: Override subroutines in a module for unit testing
- %description
- %{summary}.
- %prep
- %setup -q -n Test-MockModule-v%{version}
- %build
- %{__perl} Build.PL installdirs=vendor
- ./Build
- %install
- ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
- chmod -R u+w $RPM_BUILD_ROOT/*
- %check
- ./Build test
- %files
- %doc Changes README.md
- %license LICENSE
- %{perl_vendorlib}/Test
- %{_mandir}/man3/*.3*
- %changelog
- * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.170.0-1
- - new upstream release.
- - rebuilt with perl-5.26.
- * Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.05-3
- - rebuilt with perl 5.16.3
- * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.05-2
- - rebuild
- * Mon Feb 20 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.05-1
- - initial build for Vine Linux
- * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-9
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-8
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.05-7
- - Rebuild for perl 5.10 (again)
- * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-6
- - rebuild for new perl
- * Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-5
- - license tag fix
- * Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-4
- - bump for fc6
- * Wed Jul 27 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-3
- - add missing BuildRequires
- * Fri Jul 8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-2
- - cleanups
- * Wed Jul 6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.05-1
- - Initial package for Fedora Extras
|