1 Star 0 Fork 6

Venland/perl-Any-Moose

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Any-Moose.spec 1.73 KB
一键复制 编辑 原始数据 按行查看 历史
Venland 提交于 2023-07-05 10:12 . init package
Name: perl-Any-Moose
Summary: Use Moose or Mouse automagically (DEPRECATED)
Version: 0.27
Release: 1
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/dist/Any-Moose
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Any-Moose-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Moose)
# Runtime
BuildRequires: perl(Carp)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(File::Spec)
BuildRequires: perl(Mouse) >= 0.40
BuildRequires: perl(Test::More) >= 0.88
%if !0%{?perl_bootstrap}
BuildRequires: perl(MooseX::Types)
BuildRequires: perl(MouseX::Types)
%endif
# Dependencies
# Virtual provides in perl-Moose and perl-Mouse
Requires: perl(Any-Moose) >= 0.40
Requires: perl(Carp)
%description
Any::Moose is deprecated - please use Moo for new code.
This module allows one to take advantage of the features Moose/Mouse
provides, while allowing one to let the program author determine if Moose
or Mouse should be used; when use'd, we load Mouse if Moose isn't already
loaded, otherwise we go with Moose.
%prep
%setup -q -n Any-Moose-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
%{_fixperms} -c %{buildroot}
%check
make test
%files
%license LICENSE
%doc Changes CONTRIBUTING README
%{perl_vendorlib}/Any/
%changelog
* Wed Jul 05 2023 leeffo <liweiganga@uniontech.com> - 0.27-1
- init package
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Venland/perl-Any-Moose.git
git@gitee.com:Venland/perl-Any-Moose.git
Venland
perl-Any-Moose
perl-Any-Moose
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385