Projects
home:pandora:RobinOS23
perl-Carp
_service:download_src_package:perl-Carp.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_src_package:perl-Carp.spec of Package perl-Carp
%define anolis_release 2 Name: perl-Carp Version: 1.50 Release: %{anolis_release}%{?dist} Summary: Alternative warn and die for modules License: GPL+ or Artistic URL: http://search.cpan.org/dist/Carp/ Source0: https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX/Carp-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(warnings) BuildRequires: perl(strict) # Run-time: BuildRequires: perl(Exporter) # Tests: BuildRequires: perl(B) BuildRequires: perl(Config) BuildRequires: perl(Data::Dumper) # IPC::Open3 >= 1.0103 in reality, but the provides is 2-digit number only BuildRequires: perl(IPC::Open3) BuildRequires: perl(overload) BuildRequires: perl(Test::More) >= 0.47 Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) # Do not export private DB module stub %global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(DB\\) %description The Carp routines are useful in your own modules because they act like die() or warn(), but with a message which is more likely to be useful to a user of your module. In the case of cluck, confess, and longmess that context is a summary of every call in the call-stack. For a shorter message you can use carp or croak which report the error as being from where your module was called. There is no guarantee that that is where the error was, but it is a good educated guess. %package doc Summary: Documentation files for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc The %{name}-doc package contains documentation files for %{name}. %prep %autosetup -n Carp-%{version} -p1 %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %{perl_vendorlib}/* %{_mandir}/man3/* %files doc %doc Changes README %changelog * Fri Oct 14 2022 mgb01105731 <mgb01105731@alibaba-inc.com> - 1.50-2 - add doc package * Tue Mar 08 2022 Jacob Wang <yungao.jacob@linux.alibaba.com> - 1.50-1 - Initial version from upstream 1.50
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