代码拉取完成,页面将自动刷新
%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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。