commit c000768a1d5fa0f257956f5843be38cc905c6eed Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:11:50 2019 -0400 Package init diff --git a/CPAN-Meta-Requirements-2.140.tar.gz b/CPAN-Meta-Requirements-2.140.tar.gz new file mode 100644 index 0000000..698d1f3 Binary files /dev/null and b/CPAN-Meta-Requirements-2.140.tar.gz differ diff --git a/perl-CPAN-Meta-Requirements.spec b/perl-CPAN-Meta-Requirements.spec new file mode 100644 index 0000000..ae22008 --- /dev/null +++ b/perl-CPAN-Meta-Requirements.spec @@ -0,0 +1,64 @@ +Name: perl-CPAN-Meta-Requirements +Version: 2.140 +Release: 419 +Summary: A set of version requirements for a CPAN dist +License: GPL+ or Artistic +URL: https://metacpan.org/release/CPAN-Meta-Requirements +Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-Requirements-%{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 CPAN-Meta-Requirements-%{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 Sep 3 2019 openEuler Buildteam - 2.140-419 +- Package init