代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/perl-autodie 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: perl-autodie
Version: 2.34
Release: 1
Summary: Replace functions with ones that succeed or die with lexical scope
License: GPL or Artistic
URL: https://metacpan.org/release/autodie
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/autodie-%{version}.tar.gz
#prereqs
BuildRequires: gcc perl(ExtUtils::MakeMaker) perl-interpreter perl-generators
#for test
BuildRequires: perl(Test::More) perl(IPC::System::Simple) >= 0.12
Requires: perl(B) perl(Fcntl) perl(POSIX) perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2)) perl(IPC::System::Simple) >= 0.12
BuildArch: noarch
%global __requires_exclude ^perl\\(lib\\)$
%description
The autodie pragma provides a convenient way to replace functions that normally return
false on failure with equivalents that throw an exception on failure.
The autodie pragma has lexical scope, meaning that functions and subroutines altered with
autodie will only change their behaviour until the end of the enclosing block, file, or eval.
%package_help
%prep
%autosetup -n autodie-%{version} -p1
find -type f -exec chmod -x {} \;
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
make test TEST_VERBOSE=1
%files
%license LICENSE AUTHORS README.md
%{perl_vendorlib}/*
%files help
%doc Changes
%{_mandir}/man3/*
%changelog
* Fri Nov 19 2021 yuanxin <yuanxin24@huawei.com> - 2.34-1
- update version to 2.34
* Sat Jul 25 2020 shixuantong <shixuantong@huawei.com> - 2.32-1
- Type:NA
- ID:NA
- SUG:NA
- DESC:update to 2.32-1
* Mon Oct 28 2019 shenyangyang <shenyangyang4@huawei.com> - 2.29-398
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:delete unneeded build requires of perl(BSD::Resource)
perl(Import::Into) >= 1.002004 and perl(Sub::Identify)
* Tue Aug 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.29-397
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。