perl-Devel-Leak-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: shaolin
  16. %description
  17. This module provides a basic way to discover if a piece of perl code
  18. is allocating perl data and not releasing them again.
  19. %prep
  20. %setup -q -n Devel-Leak-%{version}
  21. %build
  22. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
  23. make %{?_smp_mflags}
  24. %install
  25. rm -rf ${RPM_BUILD_ROOT}
  26. make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT}
  27. find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} \;
  28. find ${RPM_BUILD_ROOT} -type f -name '*.bs' -size 0 -exec rm -f {} \;
  29. find ${RPM_BUILD_ROOT} -depth -type d -exec rmdir {} 2>/dev/null \;
  30. %{_fixperms} ${RPM_BUILD_ROOT}/*
  31. %check
  32. make test
  33. %clean
  34. rm -rf ${RPM_BUILD_ROOT}
  35. %files
  36. %defattr(-,root,root,-)
  37. %doc README
  38. %{perl_vendorarch}/auto/*
  39. %{perl_vendorarch}/Devel*
  40. %{_mandir}/man3/*
  41. %changelog
  42. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.03-3
  43. - rebuilt with perl-5.26.
  44. - added BR:libxcrypt-devel.
  45. * Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.03-2
  46. - rebuilt with perl-5.16.3.
  47. * Thu Feb 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.03-1
  48. - initial build for Vine Linux
  49. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-16
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  51. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.03-15
  52. - Perl mass rebuild
  53. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-14
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  55. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-13
  56. - 661697 rebuild for fixing problems with vendorach/lib
  57. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-12
  58. - Mass rebuild with perl-5.12.0
  59. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-11
  60. - Mass rebuild with perl-5.12.0
  61. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.03-10
  62. - rebuild against perl 5.10.1
  63. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-9
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  65. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-8
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  67. * Mon Mar 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.03-7
  68. - rebuild for new perl (again)
  69. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.03-6
  70. - Autorebuild for GCC 4.3
  71. * Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.03-5
  72. - rebuild for new perl
  73. * Tue Jan 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.03-4
  74. - fix license
  75. * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.03-3
  76. - BR ExtUtils::MakeMaker instead of perl-devel.
  77. * Fri Mar 09 2007 Steven Pritchard <steve@kspei.com> 0.03-2
  78. - BR perl-devel.
  79. * Thu Feb 01 2007 Steven Pritchard <steve@kspei.com> 0.03-1
  80. - Specfile autogenerated by cpanspec 1.69.1.
  81. - Fix License and description.