5 Star 0 Fork 8

src-openEuler/perl-Test-MockModule

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Test-MockModule.spec 1.83 KB
一键复制 编辑 原始数据 按行查看 历史
dfh 提交于 2024-09-25 15:21 . Upgrade to version 0.179.0
%bcond_with perl_Test_MockModule_enables_optional_test
Name: perl-Test-MockModule
Version: 0.179.0
Release: 1
Summary: Override subroutines in a module for unit testing
License: GPL+ or Artistic
URL: https://metacpan.org/release/Test-MockModule
Source0: https://cpan.metacpan.org/authors/id/G/GF/GFRANKS/Test-MockModule-v%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils perl-generators perl-interpreter perl(Module::Build) perl(strict)
BuildRequires: perl(warnings) perl(Carp) perl(Scalar::Util) perl(SUPER) perl(vars) perl(lib)
BuildRequires: perl(Test::More) perl(Test::Warnings)
%if %{with perl_Test_MockModule_enables_optional_test}
BuildRequires: perl(Test::Pod) >= 1.00 perl(Test::Pod::Coverage) >= 1.00
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
%{summary}.
%prep
%autosetup -n Test-MockModule-v%{version} -p1
%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
* Wed Sep 25 2024 dfh <dufuhang@kylinos.cn> - 0.179.0-1
- Upgrade to version 0.179.0
- 82881df - Bump Module::Build requirement by @atoomic in #65
* Mon Jun 17 2024 guoshengsheng <guoshengsheng@kylinos.cn> - 0.178.0-1
- Upgrade to version 0.178.0
- 6724a30 - Simplify CI workflow - Nicolas R
- 1801372 - Multiple improvements - Nicolas R
- e97e316 - Add protection to _replace_sub - Nicolas R
* Tue Jun 14 2022 SimpleUpdate Robot <tc@openeuler.org> - 0.177.0-1
- Upgrade to version 0.177.0
* Thu Jul 2 2020 huanghaitao <huanghaitao8@huawei.com> - 0.170.0-2
- package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-Test-MockModule.git
git@gitee.com:src-openeuler/perl-Test-MockModule.git
src-openeuler
perl-Test-MockModule
perl-Test-MockModule
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385