122 Star 0 Fork 5

src-openEuler/perl-Test-LeakTrace

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Test-LeakTrace.spec 1.50 KB
一键复制 编辑 原始数据 按行查看 历史
renmingshuai 提交于 2021-01-29 10:05 . upgrade version to 0.17
Name: perl-Test-LeakTrace
Summary: Trace memory leaks
Version: 0.17
Release: 1
License: GPL+ or Artistic
URL: https://metacpan.org/release/Test-LeakTrace
Source0: https://cpan.metacpan.org/authors/id/L/LE/LEEJO/Test-LeakTrace-%{version}.tar.gz
BuildRequires: coreutils findutils gcc make perl-interpreter perl-devel perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) sed
Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2))
# Don't provide private perl libs
%{?perl_default_filter}
%description
Test::LeakTrace - Traces memory leaks
Test::LeakTrace::Script - A LeakTrace interface for whole scripts
%package_help
%prep
%autosetup -n Test-LeakTrace-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
# Fix up shellbangs in doc scripts
sed -i -e 's|^#!perl|#!/usr/bin/perl|' benchmark/*.pl example/*.{pl,t} {t,xt}/*.t
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} -c %{buildroot}
%check
make test
%files
%{perl_vendorarch}/auto/Test/
%{perl_vendorarch}/Test/
%files help
%doc Changes README benchmark/ example/
%{_mandir}/man3/Test::LeakTrace.3*
%{_mandir}/man3/Test::LeakTrace::JA.3*
%{_mandir}/man3/Test::LeakTrace::Script.3*
%changelog
* Fri Jan 29 2021 liudabo <liudabo1@huawei.com> - 0.17-1
- upgrade version to 0.17
* Fri Feb 28 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.16-10
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-Test-LeakTrace.git
git@gitee.com:src-openeuler/perl-Test-LeakTrace.git
src-openeuler
perl-Test-LeakTrace
perl-Test-LeakTrace
master

搜索帮助