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 - 0.17-1 - upgrade version to 0.17 * Fri Feb 28 2020 openEuler Buildteam - 0.16-10 - Package init