perl-List-MoreUtils-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. # define bootstrap for initial build
  2. %define perl_bootstrap 1
  3. Name: perl-List-MoreUtils
  4. Version: 0.428
  5. Release: 1%{?_dist_release}
  6. Summary: Provide the stuff missing in List::Util
  7. Group: Development/Libraries
  8. License: GPL+ or Artistic
  9. URL: http://search.cpan.org/dist/List-MoreUtils/
  10. Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/List-MoreUtils-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
  12. BuildArch: noarch
  13. BuildRequires: perl(Exporter::Tiny)
  14. BuildRequires: perl(ExtUtils::MakeMaker)
  15. BuildRequires: perl(List::MoreUtils::XS)
  16. BuildRequires: perl(Pod::Simple)
  17. #BuildRequires: perl(Test::CPAN::Meta)
  18. BuildRequires: perl(Test::LeakTrace)
  19. # Test::MinimumVersion -> Perl::MinimumVersion -> PPI -> List::MoreUtils
  20. %if 0%{!?perl_bootstrap:1}
  21. BuildRequires: perl(Test::MinimumVersion)
  22. %endif
  23. BuildRequires: perl(Test::More)
  24. BuildRequires: perl(Test::Pod)
  25. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  26. # Don't "provide" private Perl libs
  27. %{?perl_default_filter}
  28. Vendor: Project Vine
  29. Distribution: Vine Linux
  30. Packager: shaolin
  31. %description
  32. List::MoreUtils provides some trivial but commonly needed functionality
  33. on lists that is not going to go into List::Util.
  34. %prep
  35. %setup -q -n List-MoreUtils-%{version}
  36. %build
  37. perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
  38. make %{?_smp_mflags}
  39. %install
  40. rm -rf %{buildroot}
  41. make pure_install DESTDIR=%{buildroot}
  42. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  43. find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
  44. find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
  45. %{_fixperms} %{buildroot}
  46. %check
  47. make test
  48. make test TEST_FILES="xt/*.t" AUTOMATED_TESTING=1
  49. %clean
  50. rm -rf %{buildroot}
  51. %files
  52. %defattr(-,root,root,-)
  53. %license LICENSE
  54. %doc Changes README
  55. %{perl_vendorlib}/List/
  56. %{_mandir}/man3/*
  57. %changelog
  58. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.428-1
  59. - new upstream release.
  60. - rebuilt with perl-5.26.
  61. * Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.33-2
  62. - rebuilt with perl-5.16.3.
  63. * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.33-1
  64. - initial build for Vine Linux
  65. * Tue Jan 24 2012 Paul Howarth <paul@city-fan.org> - 0.33-1
  66. - Update to 0.33
  67. - Updated can_xs to fix a bug in it
  68. - Reinstate compatibility with old distributions like EL-5
  69. - Drop Test::More version requirement to 0.42
  70. - BR: perl(ExtUtils::MakeMaker)
  71. - BR: perl(Test::LeakTrace) except on EL-4/EL-5 where it's not available
  72. - BR: perl(Pod::Simple), perl(Test::CPAN::Meta), perl(Test::MinimumVersion)
  73. (if we're not bootstrapping) and perl(Test::Pod), and run the developer tests
  74. too
  75. - Don't use macros for commands
  76. - Use %%{_fixperms} macro rather than our own chmod incantation
  77. - Make %%files list more specific
  78. - Use tabs
  79. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-4
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  81. * Mon Jul 18 2011 Petr Sabata <contyk@redhat.com> - 0.32-3
  82. - Perl mass rebuild
  83. * Tue Jul 12 2011 Tom Callaway <spot@fedoraproject.org> - 0.32-2
  84. - Rebuild to fix broken rawhide deps
  85. * Sat Jul 02 2011 Iain Arnell <iarnell@gmail.com> - 0.32-1
  86. - Update to latest upstream version
  87. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.30-3
  88. - Perl mass rebuild
  89. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-2
  90. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  91. * Mon Jan 03 2011 Iain Arnell <iarnell@gmail.com> - 0.30-1
  92. - Update to latest upstream version
  93. - Clean up spec for modern rpmbuild
  94. - Use perl_default_filter
  95. - Remove unnecessary buildrequires
  96. * Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-12
  97. - Rebuild to fix problems with vendorarch/lib (#661697)
  98. * Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-11
  99. - Mass rebuild with perl-5.12.0
  100. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.22-10
  101. - Rebuild against perl 5.10.1
  102. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-9
  103. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  104. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-8
  105. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  106. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-7
  107. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  108. * Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-6
  109. - Rebuild normally, second pass
  110. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-5
  111. - Rebuild for perl 5.10 (again), tests disabled for first pass
  112. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.22-4
  113. - Autorebuild for GCC 4.3
  114. * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-3
  115. - Rebuild normally, second pass
  116. * Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-2.1
  117. - Rebuild for new perl, first pass, disable TPC and tests
  118. * Sun Sep 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-2
  119. - Rebuild for FC6
  120. * Mon Jul 3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-1
  121. - Update to 0.22
  122. * Mon Jun 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-1
  123. - Update to 0.21
  124. * Sat Jun 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1
  125. - Update to 0.20
  126. * Sat Apr 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.19-1
  127. - First build