perl-Package-Stash-XS-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. Name: perl-Package-Stash-XS
  2. Version: 0.25
  3. Release: 1%{?_dist_release}
  4. Summary: Faster and more correct implementation of the Package::Stash API
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/Package-Stash-XS/
  8. Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-XS-%{version}.tar.gz
  9. Patch0: Package-Stash-XS-0.23-old-eumm.patch
  10. Patch1: Package-Stash-XS-0.24-old-Test::More.patch
  11. Patch2: Package-Stash-XS-0.24-no-Test::LeakTrace.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
  13. BuildRequires: perl >= 2:5.8.1
  14. BuildRequires: perl(ExtUtils::MakeMaker)
  15. BuildRequires: perl(Pod::Coverage::TrustPod)
  16. BuildRequires: perl(Test::EOL)
  17. BuildRequires: perl(Test::Fatal)
  18. BuildRequires: perl(Test::More)
  19. BuildRequires: perl(Test::NoTabs)
  20. BuildRequires: perl(Test::Pod)
  21. BuildRequires: perl(Test::Pod::Coverage)
  22. BuildRequires: perl(Test::LeakTrace) >= 0.11
  23. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  24. # Don't "provide" private Perl libs
  25. %{?perl_default_filter}
  26. %description
  27. This is a back-end for Package::Stash, which provides the functionality in a
  28. way that's less buggy and much faster. It will be used by default if it's
  29. installed, and should be preferred in all environments with a compiler.
  30. %prep
  31. %setup -q -n Package-Stash-XS-%{version}
  32. %build
  33. perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
  34. make %{?_smp_mflags}
  35. %install
  36. rm -rf %{buildroot}
  37. make pure_install DESTDIR=%{buildroot}
  38. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  39. find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
  40. find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
  41. %{_fixperms} %{buildroot}
  42. %check
  43. make test AUTHOR_TESTING=1 RELEASE_TESTING=1
  44. %clean
  45. rm -rf %{buildroot}
  46. %files
  47. %defattr(-,root,root,-)
  48. %doc Changes LICENSE README
  49. %{perl_vendorarch}/auto/Package/
  50. %{perl_vendorarch}/Package/
  51. %{_mandir}/man3/Package::Stash::XS.3pm*
  52. %changelog
  53. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.25-1
  54. - initial build for Vine Linux
  55. * Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> - 0.25-2
  56. - Use %%{_fixperms} macro instead of our own chmod incantation
  57. * Tue Sep 6 2011 Paul Howarth <paul@city-fan.org> - 0.25-1
  58. - Update to 0.25
  59. - Invalid package names (for instance, Foo:Bar) are not allowed
  60. - Invalid stash entry names (anything containing ::) are not allowed
  61. - Update patches to apply cleanly
  62. * Tue Aug 9 2011 Paul Howarth <paul@city-fan.org> - 0.23-1
  63. - Update to 0.23
  64. - Fix the test for scalar values, again
  65. - Disallow assigning globrefs to scalar glob slots (this doesn't actually
  66. make any sense)
  67. - Update patches for old ExtUtils::MakeMaker and Test::More versions
  68. - perl(Pod::Coverage::TrustPod) now available in EPEL-4 too
  69. - Don't use macros for commands
  70. * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.22-2
  71. - Perl mass rebuild
  72. * Sat Mar 5 2011 Paul Howarth <paul@city-fan.org> - 0.22-1
  73. - Update to 0.22
  74. - Make the namespace cache lazy and weak, in case the stash is deleted
  75. - However, this doesn't work on 5.8, so disable the namespace caching
  76. entirely there
  77. - Update patches to apply cleanly
  78. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-2
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  80. * Tue Jan 25 2011 Paul Howarth <paul@city-fan.org> - 0.21-1
  81. - Update to 0.21
  82. - Make the leak tests author-only, since some smokers run release tests
  83. - Fix some XS forward compat stuff
  84. - Update patches to apply cleanly
  85. * Wed Jan 12 2011 Paul Howarth <paul@city-fan.org> - 0.20-1
  86. - Update to 0.20
  87. - Lower perl prereq to 5.8.1
  88. - Make the leak tests release-only
  89. - Update patches to apply cleanly
  90. - Drop no-Test::Requires patch, no longer needed
  91. - Drop buildreq perl(Test::Requires), no longer needed
  92. - Add patch to skip memory leak tests if we don't have Test::LeakTrace
  93. * Thu Jan 6 2011 Paul Howarth <paul@city-fan.org> - 0.19-1
  94. - Update to 0.19 (more correct validity test for scalars)
  95. - Update patch for old Test::More versions
  96. * Wed Nov 17 2010 Paul Howarth <paul@city-fan.org> - 0.17-2
  97. - Sanitize spec for Fedora submission
  98. * Wed Nov 17 2010 Paul Howarth <paul@city-fan.org> - 0.17-1
  99. - Initial RPM build