perl-Test-Refcount-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. Name: perl-Test-Refcount
  2. Version: 0.08
  3. Release: 1%{?_dist_release}
  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. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. BuildArch: noarch
  12. BuildRequires: perl(ExtUtils::MakeMaker)
  13. BuildRequires: perl(Devel::Refcount)
  14. BuildRequires: perl(Devel::FindRef)
  15. BuildRequires: perl(Test::Builder)
  16. BuildRequires: perl(Test::Builder::Tester)
  17. BuildRequires: perl(Test::More)
  18. BuildRequires: perl(Test::Pod)
  19. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  20. %description
  21. The Perl garbage collector uses simple reference counting during the normal
  22. execution of a program. This means that cycles or unweakened references in
  23. other parts of code can keep an object around for longer than intended. To
  24. help avoid this problem, the reference count of a new object from its class
  25. constructor ought to be 1. This way, the caller can know the object will be
  26. properly DESTROYed when it drops all of its references to it.
  27. %prep
  28. %setup -q -n Test-Refcount-%{version}
  29. %build
  30. %{__perl} Makefile.PL INSTALLDIRS=vendor
  31. make %{?_smp_mflags}
  32. %install
  33. rm -rf %{buildroot}
  34. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  35. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  36. %{_fixperms} %{buildroot}/*
  37. %check
  38. make test
  39. %clean
  40. rm -rf %{buildroot}
  41. %files
  42. %license LICENSE
  43. %doc Changes README
  44. %{perl_vendorlib}/Test
  45. %{_mandir}/man3/Test*.3*
  46. %changelog
  47. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.08-1
  48. - updated to 0.07.
  49. - rebuilt with perl-5.26.
  50. * Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.07-2
  51. - build with Perl 5.16
  52. * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.07-1
  53. - initial build for Vine Linux
  54. * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-1
  55. - update to 0.07
  56. * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.06-5
  57. - Perl mass rebuild
  58. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-4
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  60. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-3
  61. - 661697 rebuild for fixing problems with vendorach/lib
  62. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-2
  63. - Mass rebuild with perl-5.12.0
  64. * Sun Dec 27 2009 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.06-1
  65. - Update to 0.06
  66. - Remove workaround at make test for perl with debug - rhbz#514942
  67. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.05-3
  68. - rebuild against perl 5.10.1
  69. * Fri Jul 31 2009 kwizart < kwizart at gmail.com > - 0.05-2
  70. - Add missing BR
  71. - Use %%{_fixperms}
  72. - Fix %%files section
  73. - Add comment about why it fails
  74. * Thu Jul 9 2009 kwizart < kwizart at gmail.com > - 0.05-1
  75. - Initial spec