122 Star 0 Fork 8

src-openEuler / perl-Class-Method-Modifiers

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Class-Method-Modifiers.spec 1.61 KB
一键复制 编辑 原始数据 按行查看 历史
syyhao 提交于 2020-01-12 15:14 . Package init
Name: perl-Class-Method-Modifiers
Version: 2.12
Release: 12
Summary: Provides Moose-like method modifiers
License: GPL+ or Artistic
URL: https://metacpan.org/release/Class-Method-Modifiers
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Class-Method-Modifiers-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils findutils make perl-interpreter perl(Test::Requires) perl(Test::Fatal)
BuildRequires: perl-generators perl(ExtUtils::MakeMaker) perl(Test::More) >= 0.88
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(B) perl(Carp) perl(Exporter)
%{?perl_default_filter}
%description
Method modifiers are a powerful feature from the CLOS (Common Lisp Object
System) world.
'Class::Method::Modifiers' provides three modifiers: 'before', 'around',
and 'after'. 'before' and 'after' are run just before and after the method
they modify, but can not really affect that original method. 'around' is
run in place of the original method, with a hook to easily call that
original method. See the 'MODIFIERS' section for more details on how the
particular modifiers work.
%package_help
%prep
%setup -q -n Class-Method-Modifiers-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
%make_build
%install
%make_install
%{_fixperms} -c %{buildroot}
%check
make test
%files
%license LICENSE
%doc Changes CONTRIBUTING README t/
%{perl_vendorlib}/Class/
%files help
%{_mandir}/man3/Class::Method::Modifiers.3*
%changelog
* Wed Jan 8 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.12-12
- Package init
1
https://gitee.com/src-openeuler/perl-Class-Method-Modifiers.git
git@gitee.com:src-openeuler/perl-Class-Method-Modifiers.git
src-openeuler
perl-Class-Method-Modifiers
perl-Class-Method-Modifiers
openEuler-22.03-LTS

搜索帮助