1 Star 0 Fork 3

woody2918/perl-Test-Directory

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Test-Directory.spec 1.91 KB
一键复制 编辑 原始数据 按行查看 历史
woody2918 提交于 2024-02-04 13:18 . update version to 0.052
Name: perl-Test-Directory
Version: 0.052
Release: 1
Summary: Perl extension for maintaining test directories
License: GPL+ or Artistic
URL: https://metacpan.org/release/Test-Directory
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Directory-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.6.2
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Run-time:
BuildRequires: perl(Carp)
BuildRequires: perl(Fcntl)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp)
BuildRequires: perl(strict)
BuildRequires: perl(Test::Builder::Module)
BuildRequires: perl(warnings)
# Tests:
BuildRequires: perl(constant)
BuildRequires: perl(lib)
BuildRequires: perl(Test::Builder::Tester)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
Testing code can involve making sure that files are created and deleted as
expected. Doing this manually can be error prone, as it's easy to forget a
file, or miss that some unexpected file was added. This module simplifies
maintaining test directories by tracking their status as they are modified
or tested with this API, making it simple to test both individual files, as
well as to verify that there are no missing or unknown files.
%prep
%setup -q -n Test-Directory-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sun Feb 04 2024 woody2918 <wudi1@uniontech.com> - 0.052-1
- update version to 0.052
- Package the tests
* Mon Jun 28 2021 Xu Jin <jinxu@kylinos.cn> - 0.051-1
- Initial package for openEuler
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/woody2918/perl-Test-Directory.git
git@gitee.com:woody2918/perl-Test-Directory.git
woody2918
perl-Test-Directory
perl-Test-Directory
master

搜索帮助