代码拉取完成,页面将自动刷新
Name: perl-Module-Pluggable
Epoch: 2
Version: 6.2
Release: 1
Summary: Automatically give your module the ability to have plugins
License: GPL+ or Artistic
URL: https://metacpan.org/release/Module-Pluggable
Source0: https://cpan.metacpan.org/authors/id/S/SI/SIMONW/Module-Pluggable-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils findutils make perl-interpreter perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) perl(File::Spec::Functions) >= 3.00 perl(strict)
BuildRequires: perl(warnings) perl(Carp) perl(deprecate) perl(Exporter) >= 5.57
BuildRequires: perl(File::Basename) perl(File::Find) perl(if) perl(vars)
BuildRequires: perl(Module::Runtime) >= 0.012 perl(base) perl(Data::Dumper) perl(FindBin)
BuildRequires: perl(lib) perl(Test::More) >= 0.62
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(File::Spec::Functions) >= 3.00 perl(deprecate)
Recommends: perl(Module::Runtime) >= 0.012
%description
Provides a simple but, hopefully, extensible way of having 'plugins' for your module.
obviously this isn't going to be the be all and end all of solutions but is works for me
Essentially all it does is export a method into your namespace that looks.
through a search path for .pm files and turn those into class names.
Optionally it instantiates those classes for you.
%prep
%autosetup -n Module-Pluggable-%{version} -p1
find -type f -exec chmod -x {} +
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%exclude %{_libdir}/perl5/vendor_perl/auto/Module/pluggable/.packlist
%changelog
* Thu Nov 07 2024 shenzhongwei <shenzhongwei@kylinos.cn> - 2:6.2-1
- Update to version 6.2
- Fix typo in examples
- Fix spelling of "FatPacker"
- Add before_instantiate and after_instantiate hooks
- Use explicit test plan instead of done_testing
- Skip unreadable files
- Fix behaviour of File::Find and symlinks on certain versions of Win32
- Improve vim swapfile patterns
- Ignore the .AppleDouble
- Don't use vars, use our
* Fri Apr 24 2020 yanan li <liyanan032@huawei.com> - 2:5.2-10
- package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。