perl-Package-Stash-vl.spec 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. Name: perl-Package-Stash
  2. Version: 0.38
  3. Release: 1%{?_dist_release}
  4. Summary: Routines for manipulating stashes
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/Package-Stash/
  8. Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-%{version}.tar.gz
  9. Patch0: Package-Stash-0.32-EU::MM-version.patch
  10. Patch1: Package-Stash-0.32-old-Test::More.patch
  11. Patch2: Package-Stash-0.31-no-Test::Requires.patch
  12. Patch3: Package-Stash-0.32-no-Test::LeakTrace.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. BuildArch: noarch
  17. #BuildRequires: perl(Carp)
  18. #BuildRequires: perl(Dist::CheckConflicts) >= 0.02
  19. #BuildRequires: perl(ExtUtils::MakeMaker)
  20. #BuildRequires: perl(Scalar::Util)
  21. #BuildRequires: perl(Package::DeprecationManager)
  22. #BuildRequires: perl(Package::Stash::XS) >= 0.24
  23. #BuildRequires: perl(Pod::Coverage::TrustPod)
  24. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  25. # For performance and consistency
  26. #Requires: perl(Package::Stash::XS)
  27. # Not found by rpm auto-provides
  28. Provides: perl(Package::Stash::Conflicts) = 0
  29. %description
  30. Manipulating stashes (Perl's symbol tables) is occasionally necessary, but
  31. incredibly messy, and easy to get wrong. This module hides all of that behind
  32. a simple API.
  33. %prep
  34. %setup -q -n Package-Stash-%{version}
  35. %build
  36. perl Makefile.PL INSTALLDIRS=vendor
  37. make %{?_smp_mflags}
  38. %install
  39. rm -rf %{buildroot}
  40. make pure_install DESTDIR=%{buildroot}
  41. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  42. find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
  43. %{_fixperms} %{buildroot}
  44. %check
  45. #make test AUTHOR_TESTING=1 RELEASE_TESTING=1
  46. %clean
  47. rm -rf %{buildroot}
  48. %files
  49. %defattr(-,root,root,-)
  50. %license LICENSE
  51. %doc Changes README
  52. %{_bindir}/package-stash-conflicts
  53. %{perl_vendorlib}/Package/
  54. %{_mandir}/man1/*
  55. %{_mandir}/man3/Package::Stash.3pm*
  56. %{_mandir}/man3/Package::Stash::PP.3pm*
  57. %changelog
  58. * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.38-1
  59. - new upstream release.
  60. - rebuilt with perl-5.26.
  61. * Mon Jun 30 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.36-1
  62. - update to 0.36
  63. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.33-1
  64. - initial build for Vine Linux
  65. * Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> - 0.33-2
  66. - Fedora 17 mass rebuild
  67. * Thu Sep 29 2011 Paul Howarth <paul@city-fan.org> - 0.33-1
  68. - Update to 0.33
  69. - Add conflict on MooseX::Method::Signatures 0.36
  70. - BR: perl(Carp)
  71. * Tue Sep 6 2011 Paul Howarth <paul@city-fan.org> - 0.32-1
  72. - Update to 0.32
  73. - Bring the behavior of has_symbol for nonexistant scalars into line with the
  74. XS version
  75. - Invalid package names (for instance, Foo:Bar) are not allowed
  76. - Invalid stash entry names (anything containing ::) are not allowed
  77. - Update patches to apply cleanly
  78. - Bump perl(Package::Stash::XS) version requirement to 0.24
  79. * Tue Aug 9 2011 Paul Howarth <paul@city-fan.org> - 0.31-1
  80. - Update to 0.31
  81. - Fix ->add_symbol('$foo', qr/sdlfk/) on 5.12+
  82. - Fix ->add_symbol('$foo', \v1.2.3) on 5.10+
  83. - Update patch for old Test::More versions
  84. - Update patch for no Test::Requires
  85. * Thu Jul 21 2011 Paul Howarth <paul@city-fan.org> - 0.30-2
  86. - Perl mass rebuild
  87. * Thu Jul 21 2011 Paul Howarth <paul@city-fan.org> - 0.30-1
  88. - Update to 0.30
  89. - Fix compiler detection in Makefile.PL
  90. - Update patch for old ExtUtils::MakeMaker versions
  91. - Drop usage of macros for commands
  92. - Drop redundant %%{?perl_default_filter}
  93. - perl(Pod::Coverage::TrustPod) now available everywhere
  94. * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.29-2
  95. - Perl mass rebuild
  96. * Wed Apr 6 2011 Paul Howarth <paul@city-fan.org> - 0.29-1
  97. - Update to 0.29
  98. - Really skip the package-stash-conflict script in the compile test
  99. * Wed Mar 30 2011 Paul Howarth <paul@city-fan.org> - 0.28-1
  100. - Update to 0.28
  101. - META.json fixes
  102. - Update patch for old ExtUtils::MakeMaker versions to apply cleanly
  103. * Mon Mar 28 2011 Paul Howarth <paul@city-fan.org> - 0.27-1
  104. - Update to 0.27
  105. - Skip the package-stash-conflicts script in the compile test
  106. * Sat Mar 5 2011 Paul Howarth <paul@city-fan.org> - 0.26-1
  107. - Update to 0.26
  108. - Make the namespace cache lazy and weak, in case the stash is deleted
  109. - However, this doesn't work on 5.8, so disable the namespace caching
  110. entirely there
  111. - Update patches to apply cleanly
  112. - Bump perl(Package::Stash::XS) version requirement to 0.22
  113. - Bump perl(Dist::CheckConflicts) version requirement to 0.02
  114. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-2
  115. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  116. * Tue Jan 25 2011 Paul Howarth <paul@city-fan.org> - 0.25-1
  117. - Update to 0.25 (make the leak tests author-only, since some smokers run
  118. release tests)
  119. - Update patches to apply cleanly
  120. - Bump perl(Package::Stash::XS) version requirement to 0.21
  121. - Drop buildreq perl(Test::Exception), no longer needed
  122. * Tue Jan 18 2011 Paul Howarth <paul@city-fan.org> - 0.24-1
  123. - Update to 0.24 (reinstate Test::Requires dependency)
  124. * Wed Jan 12 2011 Paul Howarth <paul@city-fan.org> - 0.23-1
  125. - Update to 0.23
  126. - Lower perl prereq to 5.8.1
  127. - Make the leak tests release-only
  128. - Update patches to apply cleanly
  129. - Add patch to skip memory leak tests if we don't have Test::LeakTrace
  130. * Thu Jan 6 2011 Paul Howarth <paul@city-fan.org> - 0.22-1
  131. - Update to 0.22 (bump Package::Stash::XS version requirement since a bug was
  132. fixed there)
  133. - Update patches for old ExtUtils::MakeMaker and Test::More versions
  134. - BR/R perl(Package::Stash::XS) >= 0.19
  135. - Content-free manpages for package-stash-conflicts and
  136. Package::Stash::Conflicts dropped upstream
  137. * Tue Jan 4 2011 Paul Howarth <paul@city-fan.org> - 0.20-1
  138. - Update to 0.20
  139. - Methods were renamed for brevity: s/_package//
  140. - Convert Package::Stash into a module which loads either the XS or pure perl
  141. implementation, depending on what's available
  142. - Use Test::Fatal instead of Test::Exception
  143. - Use Dist::CheckConflicts
  144. - Silence deprecation warnings for the method renaming for now
  145. - New script and manpage: package-stash-conflicts
  146. - New modules and manpages: Package::Stash::Conflicts and Package::Stash::PP
  147. - New build requirements:
  148. - perl(Dist::CheckConflicts)
  149. - perl(Package::DeprecationManager)
  150. - perl(Package::Stash::XS)
  151. - perl(Test::LeakTrace)
  152. - perl(Test::Requires)
  153. - perl(Test::Script)
  154. - Update patches for old ExtUtils::MakeMaker and Test::More versions
  155. - Add new patch to work around absence of Test::Requires in EPEL-4
  156. - Require perl(Package::Stash::XS) for performance and consistency
  157. - Manually provide perl(Package::Stash::Conflicts), hidden from auto-provides
  158. * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-2
  159. - Rebuild to fix problems with vendorarch/lib (#661697)
  160. * Mon Sep 20 2010 Paul Howarth <paul@city-fan.org> - 0.08-1
  161. - Update to 0.08 (re-enable the caching of the stash)
  162. - Update patch for old ExtUtils::MakeMaker and Test::More versions
  163. * Wed Jun 16 2010 Paul Howarth <paul@city-fan.org> - 0.05-1
  164. - Update to 0.05
  165. - Bump Test::More requirement for done_testing
  166. - Update packaging stuff
  167. - BR: perl(Test::EOL) and perl(Test::NoTabs)
  168. - Unify spec for all active branches, adding patches for back-compatibility
  169. * Mon Jun 14 2010 Paul Howarth <paul@city-fan.org> - 0.04-1
  170. - Update to 0.04 (get_package_symbol now doesn't autovivify stash entries; a
  171. new method get_or_add_package_symbol can now be used for that behavior)
  172. * Mon Jun 14 2010 Paul Howarth <paul@city-fan.org> - 0.03-2
  173. - Incorporate package review suggestions (#602597)
  174. - Use %%{?perl_default_filter}
  175. - Use DESTDIR instead of PERL_INSTALL_ROOT
  176. * Mon Jun 7 2010 Paul Howarth <paul@city-fan.org> - 0.03-1
  177. - Initial RPM version