10 Star 0 Fork 4

src-openEuler / perl-CPAN-Meta-Requirements

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-CPAN-Meta-Requirements.spec 1.77 KB
一键复制 编辑 原始数据 按行查看 历史
%define mod_name CPAN-Meta-Requirements
Name: perl-%{mod_name}
Version: 2.140
Release: 420
Summary: A set of version requirements for a CPAN dist
License: GPL+ or Artistic
URL: https://metacpan.org/release/%{mod_name}
Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/%{mod_name}-%{version}.tar.gz
BuildArch: noarch
Provides: perl(CPAN::Meta::Requirements) = 2.140000
BuildRequires: perl-interpreter perl-generators perl(ExtUtils::MakeMaker) perl(Test::More) coreutils findutils make
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(B) perl(version) >= 0.88
%description
A CPAN::Meta::Requirements object models a set of version constraints like those specified in the META.yml
or META.json files in CPAN distributions, and as defined by CPAN::Meta::Spec; It can be built up by adding
more and more constraints, and it will reduce them to the simplest representation.
Logically impossible constraints will be identified immediately by thrown exceptions.
%package help
Summary: Documents for %{name}
Buildarch: noarch
Requires: man info
%description help
Man page and other related documents for %{name}.
%prep
%autosetup -n %{mod_name}-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 UNINST=0
%make_build
%install
%make_install
%{_fixperms} -c %{buildroot}
%check
make test
%pre
%preun
%post
%postun
%files
%defattr(-,root,root)
%license LICENSE
%doc Changes perlcritic.rc README
%{perl_vendorlib}/*
%files help
%defattr(-,root,root)
%doc CONTRIBUTING.mkdn
%{_mandir}/*/*
%changelog
* Tue Oct 25 2022 huyubiao <huyubiao@huawei.com> - 2.140-420
- define mod_name to opitomize the specfile
* Tue Sep 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.140-419
- Package init
1
https://gitee.com/src-openeuler/perl-CPAN-Meta-Requirements.git
git@gitee.com:src-openeuler/perl-CPAN-Meta-Requirements.git
src-openeuler
perl-CPAN-Meta-Requirements
perl-CPAN-Meta-Requirements
openEuler-22.03-LTS

搜索帮助