!1 Init package with version 1.9022

From: @desert-sailor 
Reviewed-by: @wk333 
Signed-off-by: @wk333
This commit is contained in:
openeuler-ci-bot 2024-02-20 07:24:12 +00:00 committed by Gitee
commit f4c6b6df0f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 96 additions and 0 deletions

BIN
Menlo-Legacy-1.9022.tar.gz Normal file

Binary file not shown.

96
perl-Menlo-Legacy.spec Normal file
View File

@ -0,0 +1,96 @@
Name: perl-Menlo-Legacy
Version: 1.9022
Release: 1
Summary: Legacy internal and client support for Menlo
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Menlo-Legacy
Source0: https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/Menlo-Legacy-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.8.1
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time
BuildRequires: perl(Config)
BuildRequires: perl(constant)
BuildRequires: perl(Cwd)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp)
BuildRequires: perl(File::Which)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Menlo) >= 1.9018
BuildRequires: perl(Menlo::Dependency)
BuildRequires: perl(Menlo::Util)
BuildRequires: perl(Symbol)
BuildRequires: perl(version) >= 0.9905
# Tests
BuildRequires: perl(Test::More) >= 0.96
Requires: perl(Archive::Tar)
Requires: perl(Archive::Zip)
Requires: perl(Capture::Tiny)
Requires: perl(CPAN::Common::Index::LocalPackage)
Requires: perl(CPAN::DistnameInfo)
Requires: perl(CPAN::Meta)
Requires: perl(CPAN::Meta::Check)
Requires: perl(CPAN::Meta::Requirements)
Requires: perl(CPAN::Meta::YAML)
Requires: perl(Digest::SHA)
Requires: perl(ExtUtils::Manifest)
Requires: perl(File::HomeDir)
Requires: perl(File::pushd)
Requires: perl(HTTP::Tinyish)
Requires: perl(JSON::PP)
Requires: perl(local::lib)
Requires: perl(Menlo) >= 1.9018
Requires: perl(Menlo::Builder::Static)
Requires: perl(Menlo::Index::MetaCPAN)
Requires: perl(Menlo::Index::MetaDB)
Requires: perl(Menlo::Index::Mirror)
Requires: perl(Module::CoreList)
Requires: perl(Module::CPANfile)
Requires: perl(Module::Metadata)
Requires: perl(Module::Signature)
Requires: perl(Parse::PMFile)
Requires: perl(Safe)
Requires: perl(version::vpp)
Conflicts: perl-Menlo < 1.9019
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Menlo\\)$
%description
Menlo::Legacy is a package to install Menlo::CLI::Compat which is a
compatibility library that implements the classic version of cpanminus
internals and behavios. This is so that existing users of cpanm and API
clients such as Carton, Carmel and App::cpm) can rely on the stable
features and specific behaviors of cpanm.
%prep
%setup -q -n Menlo-Legacy-%{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
%license LICENSE
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Tue Feb 6 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.9022-1
- Initial package