| 1 | Name: perl-Devel-Leak |
|---|
| 2 | Version: 0.03 |
|---|
| 3 | Release: 3%{?_dist_release} |
|---|
| 4 | Summary: Utility for looking for perl objects that are not reclaimed |
|---|
| 5 | License: GPL+ or Artistic |
|---|
| 6 | Group: Development/Libraries |
|---|
| 7 | URL: http://search.cpan.org/dist/Devel-Leak/ |
|---|
| 8 | Source0: http://www.cpan.org/authors/id/N/NI/NI-S/Devel-Leak-%{version}.tar.gz |
|---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
|---|
| 10 | BuildRequires: libxcrypt-devel |
|---|
| 11 | BuildRequires: perl(ExtUtils::MakeMaker) |
|---|
| 12 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
|---|
| 13 | |
|---|
| 14 | Vendor: Project Vine |
|---|
| 15 | Distribution: Vine Linux |
|---|
| 16 | Packager: shaolin |
|---|
| 17 | |
|---|
| 18 | %description |
|---|
| 19 | This module provides a basic way to discover if a piece of perl code |
|---|
| 20 | is allocating perl data and not releasing them again. |
|---|
| 21 | |
|---|
| 22 | %prep |
|---|
| 23 | %setup -q -n Devel-Leak-%{version} |
|---|
| 24 | |
|---|
| 25 | %build |
|---|
| 26 | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" |
|---|
| 27 | make %{?_smp_mflags} |
|---|
| 28 | |
|---|
| 29 | %install |
|---|
| 30 | rm -rf ${RPM_BUILD_ROOT} |
|---|
| 31 | |
|---|
| 32 | make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT} |
|---|
| 33 | |
|---|
| 34 | find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} \; |
|---|
| 35 | find ${RPM_BUILD_ROOT} -type f -name '*.bs' -size 0 -exec rm -f {} \; |
|---|
| 36 | find ${RPM_BUILD_ROOT} -depth -type d -exec rmdir {} 2>/dev/null \; |
|---|
| 37 | |
|---|
| 38 | %{_fixperms} ${RPM_BUILD_ROOT}/* |
|---|
| 39 | |
|---|
| 40 | %check |
|---|
| 41 | make test |
|---|
| 42 | |
|---|
| 43 | %clean |
|---|
| 44 | rm -rf ${RPM_BUILD_ROOT} |
|---|
| 45 | |
|---|
| 46 | %files |
|---|
| 47 | %defattr(-,root,root,-) |
|---|
| 48 | %doc README |
|---|
| 49 | %{perl_vendorarch}/auto/* |
|---|
| 50 | %{perl_vendorarch}/Devel* |
|---|
| 51 | %{_mandir}/man3/* |
|---|
| 52 | |
|---|
| 53 | %changelog |
|---|
| 54 | * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.03-3 |
|---|
| 55 | - rebuilt with perl-5.26. |
|---|
| 56 | - added BR:libxcrypt-devel. |
|---|
| 57 | |
|---|
| 58 | * Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.03-2 |
|---|
| 59 | - rebuilt with perl-5.16.3. |
|---|
| 60 | |
|---|
| 61 | * Thu Feb 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.03-1 |
|---|
| 62 | - initial build for Vine Linux |
|---|
| 63 | |
|---|
| 64 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-16 |
|---|
| 65 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
|---|
| 66 | |
|---|
| 67 | * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.03-15 |
|---|
| 68 | - Perl mass rebuild |
|---|
| 69 | |
|---|
| 70 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-14 |
|---|
| 71 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
|---|
| 72 | |
|---|
| 73 | * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-13 |
|---|
| 74 | - 661697 rebuild for fixing problems with vendorach/lib |
|---|
| 75 | |
|---|
| 76 | * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-12 |
|---|
| 77 | - Mass rebuild with perl-5.12.0 |
|---|
| 78 | |
|---|
| 79 | * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-11 |
|---|
| 80 | - Mass rebuild with perl-5.12.0 |
|---|
| 81 | |
|---|
| 82 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.03-10 |
|---|
| 83 | - rebuild against perl 5.10.1 |
|---|
| 84 | |
|---|
| 85 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-9 |
|---|
| 86 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
|---|
| 87 | |
|---|
| 88 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-8 |
|---|
| 89 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|---|
| 90 | |
|---|
| 91 | * Mon Mar 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.03-7 |
|---|
| 92 | - rebuild for new perl (again) |
|---|
| 93 | |
|---|
| 94 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.03-6 |
|---|
| 95 | - Autorebuild for GCC 4.3 |
|---|
| 96 | |
|---|
| 97 | * Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.03-5 |
|---|
| 98 | - rebuild for new perl |
|---|
| 99 | |
|---|
| 100 | * Tue Jan 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.03-4 |
|---|
| 101 | - fix license |
|---|
| 102 | |
|---|
| 103 | * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.03-3 |
|---|
| 104 | - BR ExtUtils::MakeMaker instead of perl-devel. |
|---|
| 105 | |
|---|
| 106 | * Fri Mar 09 2007 Steven Pritchard <steve@kspei.com> 0.03-2 |
|---|
| 107 | - BR perl-devel. |
|---|
| 108 | |
|---|
| 109 | * Thu Feb 01 2007 Steven Pritchard <steve@kspei.com> 0.03-1 |
|---|
| 110 | - Specfile autogenerated by cpanspec 1.69.1. |
|---|
| 111 | - Fix License and description. |
|---|