125 Star 0 Fork 3

src-openEuler / perl-Module-Install-AuthorTests

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Module-Install-AuthorTests.spec 1.33 KB
一键复制 编辑 原始数据 按行查看 历史
HukunaMatata 提交于 2020-01-13 19:00 . Package init
Name: perl-Module-Install-AuthorTests
Version: 0.002
Release: 18
Summary: Assign tests only run by module authors
License: GPL+ or Artistic
URL: https://metacpan.org/release/Module-Install-AuthorTests
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Module-Install-AuthorTests-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-generators perl(inc::Module::Install) perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec) perl(Carp) perl(Module::Install::Base) perl(Module::Install)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(Module::Install)
%description
This package is used to assign tests in ./xt directory should be run
only if the module is being built by an author.
%package_help
%prep
%autosetup -n Module-Install-AuthorTests-%{version} -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
chmod -Rf a+rX,u+w,g-w,o-w $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README
%{perl_vendorlib}/*
%files help
%{_mandir}/man3/*
%changelog
* Wed Jan 8 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.002-18
- Package init
1
https://gitee.com/src-openeuler/perl-Module-Install-AuthorTests.git
git@gitee.com:src-openeuler/perl-Module-Install-AuthorTests.git
src-openeuler
perl-Module-Install-AuthorTests
perl-Module-Install-AuthorTests
openEuler-20.03-LTS

搜索帮助