perl-Devel-Refcount-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. Summary: Obtain the REFCNT value of a referent
  2. Name: perl-Devel-Refcount
  3. Version: 0.10
  4. Release: 2%{?_dist_release}
  5. Group: programming
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: GPL+ or Artistic
  9. URL: https://metacpan.org/pod/Devel::Refcount
  10. Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Devel-Refcount-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  12. BuildRequires: perl(ExtUtils::CBuilder)
  13. BuildRequires: perl(Module::Build)
  14. BuildRequires: perl(Test::Exception)
  15. BuildRequires: perl(Test::Fatal)
  16. BuildRequires: perl(Test::More)
  17. BuildRequires: perl(Test::Pod)
  18. Requires: perl
  19. %description
  20. This module provides a single function which obtains the reference count of
  21. the object being pointed to by the passed reference value.
  22. %debug_package
  23. %prep
  24. %setup -q -n Devel-Refcount-%{version}
  25. %build
  26. %{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
  27. ./Build
  28. %install
  29. rm -rf %{buildroot}
  30. ./Build install destdir=%{buildroot} create_packlist=0
  31. find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
  32. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  33. %{_fixperms} %{buildroot}/*
  34. %check
  35. ./Build test
  36. %clean
  37. rm -rf %{buildroot}
  38. %files
  39. %defattr(-,root,root,-)
  40. %license LICENSE
  41. %doc Changes README
  42. %{perl_vendorarch}/auto/*
  43. %{perl_vendorarch}/Devel*
  44. %{_mandir}/man3/*
  45. %changelog
  46. * Wed Nov 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10-2
  47. - rebuilt with perl-5.34.0.
  48. * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10-1
  49. - new upstream release.
  50. - rebuilt with perl-5.26.
  51. * Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.09-2
  52. - build with Perl 5.16
  53. * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.09-1
  54. - initial build for Vine Linux
  55. * Tue Jan 17 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.09-1
  56. - Update to 0.09
  57. - Add missing BR
  58. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-7
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  60. * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-6
  61. - Perl mass rebuild
  62. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-5
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  64. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-4
  65. - 661697 rebuild for fixing problems with vendorach/lib
  66. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-3
  67. - Mass rebuild with perl-5.12.0
  68. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-2
  69. - Mass rebuild with perl-5.12.0
  70. * Mon Apr 19 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.07-1
  71. - Update to 0.07
  72. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.06-2
  73. - rebuild against perl 5.10.1
  74. * Tue Jul 21 2009 Nicolas Chauvet (kwizart) 0.06-1
  75. - Specfile autogenerated by cpanspec 1.78.