%define upstream_name Devel-Leak-Object %define upstream_version 1.01 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 7 Summary: Detect leaks of objects License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Devel/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::More) BuildArch: noarch %description This module provides tracking of objects, for the purpose of detecting memory leaks due to circular references or innappropriate caching schemes. Object tracking can be enabled on a per object basis. Any objects thus tracked are remembered until DESTROYed; details of any objects left are printed out to stderr at END-time. use Devel::Leak::Object qw(GLOBAL_bless); %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{make} %check %{make} test %install %makeinstall_std %files %doc README LICENSE Changes META.yml %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jun 19 2016 pterjan <pterjan> 1.10.0-7.mga6 + Revision: 1025523 - Rebuild for perl 5.22.2 * Sat Feb 06 2016 umeabot <umeabot> 1.10.0-6.mga6 + Revision: 941577 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 1.10.0-5.mga5 + Revision: 750645 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.10.0-4.mga5 + Revision: 684320 - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 1.10.0-3.mga4 + Revision: 510783 - Mageia 4 Mass Rebuild * Sun Jan 13 2013 umeabot <umeabot> 1.10.0-2.mga3 + Revision: 365774 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Jan 22 2011 jquelin <jquelin> 1.10.0-1.mga1 + Revision: 31918 - mageia rebuild - imported package perl-Devel-Leak-Object