rpms/perl-Test-LeakTrace/F-12 import.log, NONE, 1.1 perl-Test-LeakTrace.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl cweyl at fedoraproject.org
Mon Apr 12 05:53:56 UTC 2010


Author: cweyl

Update of /cvs/extras/rpms/perl-Test-LeakTrace/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv30981/F-12

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-Test-LeakTrace.spec 
Log Message:
initial import


--- NEW FILE import.log ---
perl-Test-LeakTrace-0_10-1_fc12:F-12:perl-Test-LeakTrace-0.10-1.fc12.src.rpm:1271051626


--- NEW FILE perl-Test-LeakTrace.spec ---
Name:           perl-Test-LeakTrace
Summary:        Traces memory leaks
Version:        0.10
Release:        1%{?dist}
License:        GPL+ or Artistic
Group:          Development/Libraries
Source0:        http://search.cpan.org/CPAN/authors/id/G/GF/GFUJI/Test-LeakTrace-%{version}.tar.gz 
URL:            http://search.cpan.org/dist/Test-LeakTrace
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

BuildRequires:  perl(Exporter) >= 5.57
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires:  perl(Test::More) >= 0.62

Requires:       perl(Exporter) >= 5.57

%{?perl_default_filter}
%{?perl_default_subpackage_tests}

%description
'Test::LeakTrace' provides several functions that trace memory leaks.
This module scans arenas, the memory allocation system, so it can detect
any leaked SVs in given blocks.  *Leaked SVs* are SVs which are not
released after the end of the scope they have been created. These SVs
include global variables and internal caches. For example, if you call a
method in a tracing block, perl might prepare a cache for the method.
Thus, to trace true leaks, 'no_leaks_ok()' and 'leaks_cmp_ok()' executes
a block more than once.

%prep
%setup -q -n Test-LeakTrace-%{version}

find . -type f -exec chmod -c -x {} +

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'

%{_fixperms} %{buildroot}/*

%check
make test


%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorarch}/*
%exclude %dir %{perl_vendorarch}/auto
%{_mandir}/man3/*.3*

%changelog
* Sun Apr 04 2010 Chris Weyl <cweyl at alumni.drew.edu> 0.10-1
- specfile by Fedora::App::MaintainerTools 0.006



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Test-LeakTrace/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	11 Apr 2010 19:23:25 -0000	1.1
+++ .cvsignore	12 Apr 2010 05:53:54 -0000	1.2
@@ -0,0 +1 @@
+Test-LeakTrace-0.10.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Test-LeakTrace/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	11 Apr 2010 19:23:25 -0000	1.1
+++ sources	12 Apr 2010 05:53:56 -0000	1.2
@@ -0,0 +1 @@
+fc732ff0509fb5475f0ccb0710e62878  Test-LeakTrace-0.10.tar.gz




More information about the perl-devel mailing list