Projects
Eulaceura:Mainline:GA
perl-Module-Pluggable
_service:obs_scm:perl-Module-Pluggable.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-Module-Pluggable.spec of Package perl-Module-Pluggable
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
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2