Projects
Eulaceura:Mainline
perl-Class-C3
_service:obs_scm:perl-Class-C3.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-Class-C3.spec of Package perl-Class-C3
Name: perl-Class-C3 Version: 0.35 Release: 1 Summary: Pragma to use the C3 method resolution order algorithm License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/Class-C3 Source0: https://cpan.metacpan.org/modules/by-module/Class/Class-C3-%{version}.tar.gz BuildArch: noarch # Build BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Text::ParseWords) # Build (dependencies of bundled ExtUtils::HasCompiler) BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(Config) BuildRequires: perl(DynaLoader) BuildRequires: perl(Exporter) BuildRequires: perl(File::Basename) BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(File::Temp) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Module BuildRequires: perl(Algorithm::C3) >= 0.07 BuildRequires: perl(Scalar::Util) >= 1.10 # Test Suite BuildRequires: perl(Cwd) BuildRequires: perl(File::Glob) BuildRequires: perl(lib) BuildRequires: perl(NEXT) BuildRequires: perl(Sub::Name) BuildRequires: perl(Test::Exception) >= 0.15 BuildRequires: perl(Test::More) >= 0.88 # MRO::Compat itself requires Class::C3 %if 0%{!?perl_bootstrap:1} BuildRequires: perl(MRO::Compat) %endif # Dependencies Requires: perl(Algorithm::C3) >= 0.07 Requires: perl(Scalar::Util) >= 1.10 # Let people "use c3;" Provides: perl(c3) = %{version} %description This is a pragma to change Perl 5's standard method resolution order from depth-first left-to-right (a.k.a - pre-order) to the more sophisticated C3 method resolution order. %prep %setup -q -n Class-C3-%{version} %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete cp -p opt/c3.pm %{buildroot}%{perl_vendorlib}/ %{_fixperms} -c %{buildroot} %check make test %files %doc Changes README %{perl_vendorlib}/c3.pm %{perl_vendorlib}/Class/ %{_mandir}/man3/Class::C3.3* %{_mandir}/man3/Class::C3::next.3* %changelog * Mon Jul 10 2023 leeffo <liweiganga@uniontech.com> - 0.35-1 - init package
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