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

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