Projects
Eulaceura:Factory
perl-Mock-Sub
_service:obs_scm:perl-Mock-Sub.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-Mock-Sub.spec of Package perl-Mock-Sub
%global _empty_manifest_terminate_build 0 Name: perl-Mock-Sub Version: 1.09 Release: 1 Summary: Mock package, object and standard subroutines, with unit testing in mind. License: GPL-1.0-only or Artistic-1.0-Perl Group: Development/Libraries URL: https://metacpan.org/dist/Mock-Sub Source0: https://www.cpan.org/authors/id/S/ST/STEVEB/Mock-Sub-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-generators BuildRequires: perl(strict) BuildRequires: perl(warnings) BuildRequires: perl(Test::More) BuildRequires: perl(Carp) BuildRequires: perl(Scalar::Util) BuildRequires: perl(ExtUtils::MakeMaker) 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. %package help Summary: Mock package, object and standard subroutines, with unit testing in mind. Provides: perl-Mock-Sub %description help 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 NO_PACKLIST=1 NO_PERLLOCAL=1 make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete %check make test %files %doc Changes META.yml README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Feb 20 2024 woody2918 <wudi1@uniontech.com> - 1.09-1 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2