package created by autospec [release 1.04-1mamba;Fri Feb 18 2011]
This commit is contained in:
parent
a787a5a467
commit
1bdf9236b6
@ -1,2 +1,8 @@
|
||||
# perl-Test-Memory-Cycle
|
||||
|
||||
Perl's garbage collection has one big problem: Circular references
|
||||
can't get cleaned up. A circular reference can be as simple as two
|
||||
objects that refer to each other.
|
||||
"Test::Memory::Cycle" is built on top of "Devel::Cycle" to give you an
|
||||
easy way to check for these circular references.
|
||||
|
||||
|
60
perl-Test-Memory-Cycle.spec
Normal file
60
perl-Test-Memory-Cycle.spec
Normal file
@ -0,0 +1,60 @@
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
|
||||
Name: perl-Test-Memory-Cycle
|
||||
Version: 1.04
|
||||
Release: 1mamba
|
||||
Summary: Test::Memory::Cycle - Check for memory leaks and circular memory references
|
||||
Group: System/Libraries/Perl
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: gil <puntogil@libero.it>
|
||||
URL: http://www.cpan.org
|
||||
Source: http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-%{version}.tar.gz
|
||||
License: GPL, Artistic
|
||||
BuildRequires: perl(CGI)
|
||||
BuildRequires: perl(Devel::Cycle)
|
||||
BuildRequires: perl(PadWalker)
|
||||
BuildRequires: perl(Test::Builder::Tester)
|
||||
BuildRequires: perl(Test::Simple)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
BuildRequires: perl-devel
|
||||
Requires: perl >= %perl_major_ver
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Perl's garbage collection has one big problem: Circular references
|
||||
can't get cleaned up. A circular reference can be as simple as two
|
||||
objects that refer to each other.
|
||||
"Test::Memory::Cycle" is built on top of "Devel::Cycle" to give you an
|
||||
easy way to check for these circular references.
|
||||
|
||||
%prep
|
||||
%setup -q -n Test-Memory-Cycle-%{version}
|
||||
|
||||
|
||||
%build
|
||||
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
||||
%make
|
||||
%make test
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall_perl
|
||||
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w %{buildroot}/*
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{perl_vendorlib}/Test/
|
||||
%{_mandir}/man3/*.3pm.gz
|
||||
%doc Changes README
|
||||
|
||||
%changelog
|
||||
* Fri Feb 18 2011 gil <puntogil@libero.it> 1.04-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user