perl-Devel-Leak-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. Summary: Utility for looking for perl objects that are not reclaimed
  2. Name: perl-Devel-Leak
  3. Version: 0.03
  4. Release: 4%{?_dist_release}
  5. Group: programming
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. Packager: shaolin
  9. License: GPL+ or Artistic
  10. URL: https://metacpan.org/pod/Devel::Leak
  11. Source0: https://cpan.metacpan.org/authors/id/N/NI/NI-S/Devel-Leak-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  13. BuildRequires: libxcrypt-devel
  14. BuildRequires: perl(ExtUtils::MakeMaker)
  15. Requires: perl >= 2:5.34.0
  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. %debug_package
  20. %prep
  21. %setup -q -n Devel-Leak-%{version}
  22. %build
  23. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1 NO_PERLLOCAL=1
  24. make %{?_smp_mflags}
  25. %install
  26. rm -rf ${RPM_BUILD_ROOT}
  27. make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT}
  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. * Thu Nov 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.03-4
  43. - new upstream release.
  44. - built with perl-5.34.0.
  45. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.03-3
  46. - rebuilt with perl-5.26.
  47. - added BR:libxcrypt-devel.
  48. * Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.03-2
  49. - rebuilt with perl-5.16.3.
  50. * Thu Feb 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.03-1
  51. - initial build for Vine Linux
  52. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-16
  53. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  54. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.03-15
  55. - Perl mass rebuild
  56. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-14
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  58. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-13
  59. - 661697 rebuild for fixing problems with vendorach/lib
  60. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-12
  61. - Mass rebuild with perl-5.12.0
  62. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-11
  63. - Mass rebuild with perl-5.12.0
  64. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.03-10
  65. - rebuild against perl 5.10.1
  66. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-9
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  68. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-8
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  70. * Mon Mar 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.03-7
  71. - rebuild for new perl (again)
  72. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.03-6
  73. - Autorebuild for GCC 4.3
  74. * Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.03-5
  75. - rebuild for new perl
  76. * Tue Jan 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.03-4
  77. - fix license
  78. * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.03-3
  79. - BR ExtUtils::MakeMaker instead of perl-devel.
  80. * Fri Mar 09 2007 Steven Pritchard <steve@kspei.com> 0.03-2
  81. - BR perl-devel.
  82. * Thu Feb 01 2007 Steven Pritchard <steve@kspei.com> 0.03-1
  83. - Specfile autogenerated by cpanspec 1.69.1.
  84. - Fix License and description.