Projects
Eulaceura:Mainline
perl-PPIx-Utilities
_service:obs_scm:perl-PPIx-Utilities.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-PPIx-Utilities.spec of Package perl-PPIx-Utilities
%bcond_with perl_PPIx_Utilities_enables_extra_test Name: perl-PPIx-Utilities Version: 1.001000 Release: 1 Summary: Extensions to PPI License: GPL+ or Artistic URL: https://metacpan.org/release/PPIx-Utilities Source0: https://cpan.metacpan.org/authors/id/E/EL/ELLIOTJS/PPIx-Utilities-%{version}.tar.gz BuildArch: noarch # Build: BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: sed # Run-time: BuildRequires: perl(base) BuildRequires: perl(Exception::Class) BuildRequires: perl(Exporter) BuildRequires: perl(PPI) >= 1.208 BuildRequires: perl(PPI::Document::Fragment) >= 1.208 BuildRequires: perl(Readonly) BuildRequires: perl(Scalar::Util) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Tests: BuildRequires: perl(Data::Dumper) BuildRequires: perl(PPI::Document) >= 1.208 BuildRequires: perl(PPI::Dumper) >= 1.208 BuildRequires: perl(Task::Weaken) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) # Extra tests: %if %{with perl_PPIx_Utilities_enables_extra_test} BuildRequires: aspell-en BuildRequires: perl(File::Find) BuildRequires: perl(File::Slurp) BuildRequires: perl(Perl::Critic::Policy::Miscellanea::RequireRcsKeywords) BuildRequires: perl(Test::Perl::Critic) BuildRequires: perl(Test::Distribution) BuildRequires: perl(Test::Kwalitee) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) %endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This is a collection of functions for dealing with PPI objects, many of which originated in Perl::Critic. They are organized into modules by the kind of PPI class they relate to, by replacing the "PPI" at the front of the module name with "PPIx::Utilities", e.g. functionality related to PPI::Nodes is in PPIx::Utilities::Node. %prep %setup -q -n PPIx-Utilities-%{version} rm xt/author/copyright.t sed -i -e '/copyright\.t/d' MANIFEST %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete %{_fixperms} -c %{buildroot} %check make test %if %{with perl_PPIx_Utilities_enables_extra_test} make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" %endif %files %if 0%{?_licensedir:1} %license LICENSE %else %doc LICENSE %endif %doc Changes README %{perl_vendorlib}/PPIx/ %{_mandir}/man3/PPIx::Utilities.3* %{_mandir}/man3/PPIx::Utilities::Exception::Bug.3* %{_mandir}/man3/PPIx::Utilities::Node.3* %{_mandir}/man3/PPIx::Utilities::Statement.3* %changelog * Wed Jul 06 2022 misaka00251 <misaka00251@misakanet.cn> - 1.001000-1 - Init package (Thanks to fedora team)
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