PageRenderTime 56ms CodeModel.GetById 22ms RepoModel.GetById 1ms app.codeStats 0ms

/perl-Test-Refcount.spec

#
Unknown | 101 lines | 72 code | 29 blank | 0 comment | 0 complexity | 658fa556ac2ad85be2fde31677cbe676 MD5 | raw file
Possible License(s): AGPL-1.0
  1. Name: perl-Test-Refcount
  2. Version: 0.07
  3. Release: 7%{?dist}
  4. Summary: Assert reference counts on objects
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/Test-Refcount/
  8. Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Test-Refcount-%{version}.tar.gz
  9. BuildArch: noarch
  10. BuildRequires: perl(ExtUtils::MakeMaker)
  11. BuildRequires: perl(Devel::Refcount)
  12. BuildRequires: perl(Devel::FindRef)
  13. BuildRequires: perl(Test::Builder)
  14. BuildRequires: perl(Test::Builder::Tester)
  15. BuildRequires: perl(Test::More)
  16. BuildRequires: perl(Test::Pod)
  17. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  18. %description
  19. The Perl garbage collector uses simple reference counting during the normal
  20. execution of a program. This means that cycles or unweakened references in
  21. other parts of code can keep an object around for longer than intended. To
  22. help avoid this problem, the reference count of a new object from its class
  23. constructor ought to be 1. This way, the caller can know the object will be
  24. properly DESTROYed when it drops all of its references to it.
  25. %prep
  26. %setup -q -n Test-Refcount-%{version}
  27. %build
  28. %{__perl} Makefile.PL INSTALLDIRS=vendor
  29. make %{?_smp_mflags}
  30. %install
  31. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  32. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  33. %{_fixperms} $RPM_BUILD_ROOT/*
  34. %check
  35. make test
  36. %files
  37. %doc Changes LICENSE README
  38. %{perl_vendorlib}/Test
  39. %{_mandir}/man3/Test*.3*
  40. %changelog
  41. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-7
  42. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  43. * Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 0.07-6
  44. - Perl 5.16 rebuild
  45. * Sun Apr 22 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.07-5
  46. - Rebuilt for f17
  47. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-3
  48. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  49. * Mon Jul 18 2011 Petr Sabata <contyk@redhat.com> - 0.07-2
  50. - Perl mass rebuild
  51. * Tue Jun 21 2011 Marcela Mašlá?ová <mmaslano@redhat.com> - 0.07-1
  52. - update to 0.07
  53. * Tue Jun 21 2011 Marcela Mašlá?ová <mmaslano@redhat.com> - 0.06-5
  54. - Perl mass rebuild
  55. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-4
  56. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  57. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-3
  58. - 661697 rebuild for fixing problems with vendorach/lib
  59. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-2
  60. - Mass rebuild with perl-5.12.0
  61. * Sun Dec 27 2009 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.06-1
  62. - Update to 0.06
  63. - Remove workaround at make test for perl with debug - rhbz#514942
  64. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.05-3
  65. - rebuild against perl 5.10.1
  66. * Fri Jul 31 2009 kwizart < kwizart at gmail.com > - 0.05-2
  67. - Add missing BR
  68. - Use %%{_fixperms}
  69. - Fix %%files section
  70. - Add comment about why it fails
  71. * Thu Jul 9 2009 kwizart < kwizart at gmail.com > - 0.05-1
  72. - Initial spec