Name: perl-Mock-Sub Version: 1.09 Release: 17%{?dist} Summary: Mock package, object and standard subroutines, with unit testing in mind License: GPL+ or Artistic URL: https://metacpan.org/release/Mock-Sub Source0: https://cpan.metacpan.org/authors/id/S/ST/STEVEB/Mock-Sub-%{version}.tar.gz BuildArch: noarch BuildRequires: findutils BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time BuildRequires: perl(Carp) BuildRequires: perl(Scalar::Util) # Testing BuildRequires: perl(Data::Dumper) BuildRequires: perl(Pod::Coverage) >= 0.18 BuildRequires: perl(Test::CheckManifest) >= 0.9 BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) >= 1.22 BuildRequires: perl(Test::Pod::Coverage) >= 1.08 BuildRequires: perl(lib) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Easy to use and very lightweight module for mocking out sub calls. Very useful for testing areas of your own modules where getting coverage may be difficult due to nothing to test against, and/or to reduce test run time by eliminating the need to call subs that you really don't want or need to test. %prep %setup -q -n Mock-Sub-%{version} %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -delete %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.09-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 1.09-16 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.09-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.09-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1.09-13 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.09-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.09-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 1.09-10 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.09-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.09-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 1.09-7 - Perl 5.30 rebuild * Sat Mar 30 2019 Denis Fateyev - 1.09-6 - Dropped RELEASE tests * Fri Feb 01 2019 Fedora Release Engineering - 1.09-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.09-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 1.09-3 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.09-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 15 2018 Jitka Plesnikova - 1.09-1 - 1.09 bump * Mon Dec 25 2017 Denis Fateyev - 1.08-1 - Update to 1.08 release * Thu Jul 27 2017 Fedora Release Engineering - 1.07-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jun 05 2017 Jitka Plesnikova - 1.07-3 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.07-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Oct 07 2016 Denis Fateyev - 1.07-1 - Update to 1.07 release * Sun May 15 2016 Jitka Plesnikova - 1.06-3 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.06-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Jan 24 2016 Denis Fateyev - 1.06-1 - Initial release