perl-Test-Distribution-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. Name: perl-Test-Distribution
  2. Version: 2.00
  3. Release: 19%{?_dist_release}
  4. Summary: Perform tests on all modules of a distribution
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Test-Distribution/
  8. Source0: http://search.cpan.org/CPAN/authors/id/S/SR/SRSHAH/Test-Distribution-%{version}.tar.gz
  9. Patch0: Test-Distribution-2.00-utf8.patch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildArch: noarch
  12. BuildRequires: perl(ExtUtils::Manifest)
  13. BuildRequires: perl(File::Find::Rule) >= 0.03
  14. BuildRequires: perl(Module::Build)
  15. BuildRequires: perl(Module::CoreList) >= 1.93
  16. BuildRequires: perl(Pod::Coverage) >= 0.17
  17. BuildRequires: perl(Test::More)
  18. BuildRequires: perl(Test::Pod) >= 0.95
  19. BuildRequires: perl(Test::Pod::Coverage)
  20. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  21. # these are considered "optional"; autoreq doesn't pick them up
  22. Requires: perl(File::Find::Rule) >= 0.03
  23. Requires: perl(Module::CoreList) >= 1.93
  24. Requires: perl(Module::Signature)
  25. Requires: perl(Pod::Coverage) >= 0.17
  26. Requires: perl(Test::Pod) >= 0.95
  27. Requires: perl(Test::Pod::Coverage)
  28. Vendor: Project Vine
  29. Distribution: Vine Linux
  30. %description
  31. When using this module in a test script, it goes through all the modules in
  32. your distribution, checks their POD, checks that they compile OK and checks
  33. that they all define a $VERSION.
  34. %prep
  35. %setup -q -n Test-Distribution-%{version}
  36. # Fix character encoding of documentation
  37. %patch0
  38. %build
  39. perl Build.PL installdirs=vendor
  40. ./Build
  41. %install
  42. rm -rf %{buildroot}
  43. ./Build install destdir=%{buildroot} create_packlist=0
  44. %{_fixperms} %{buildroot}
  45. %check
  46. ./Build test
  47. %clean
  48. rm -rf %{buildroot}
  49. %files
  50. %doc Changes.pod README
  51. %{perl_vendorlib}/Test/
  52. %{_mandir}/man3/Test::Distribution.3pm*
  53. %changelog
  54. * Sat Jan 31 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.00-19
  55. - Initial build for Vine Linux
  56. * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.00-18
  57. - Perl 5.20 rebuild
  58. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.00-17
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  60. * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.00-16
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  62. * Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 2.00-15
  63. - Perl 5.18 rebuild
  64. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.00-14
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  66. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.00-13
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  68. * Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 2.00-12
  69. - Perl 5.16 rebuild
  70. * Sat Mar 10 2012 Paul Howarth <paul@city-fan.org> - 2.00-11
  71. - BR:perl(ExtUtils::Manifest) and perl(Test::More)
  72. - Drop workarounds for no-longer-shipped signature test
  73. - Drop BR: perl(Module::Signature)
  74. - Don't need to remove empty directories from buildroot
  75. - Don't use macros for commands
  76. - Drop %%defattr, redundant since rpm 4.4
  77. - Make %%files list more explicit
  78. - Use tabs
  79. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.00-10
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  81. * Fri Jun 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.00-9
  82. - Perl mass rebuild
  83. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.00-8
  84. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  85. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.00-7
  86. - Rebuild to fix problems with vendorarch/lib (#661697)
  87. * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.00-6
  88. - Mass rebuild with perl-5.12.0
  89. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 2.00-5
  90. - Rebuild against perl 5.10.1
  91. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.00-4
  92. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  93. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.00-3
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  95. * Sun Oct 26 2008 Chris Weyl <cweyl@alumni.drew.edu> - 2.00-2
  96. - Changes -> Changes.pod in doc
  97. * Sun Oct 26 2008 Chris Weyl <cweyl@alumni.drew.edu> - 2.00-1
  98. - Update to 2.00
  99. * Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.26-5
  100. - Rebuild for new perl
  101. * Sat Mar 10 2007 Chris Weyl <cweyl@alumni.drew.edu> - 1.26-4
  102. - Don't mess with debuginfo, just disable it
  103. - Appease Module::Signature/gpg
  104. * Thu Mar 01 2007 Chris Weyl <cweyl@alumni.drew.edu> - 1.26-3
  105. - Cause rm to not fail on non-existance of debug*list in %%check
  106. * Wed Dec 06 2006 Chris Weyl <cweyl@alumni.drew.edu> - 1.26-2
  107. - Bump
  108. * Wed Dec 06 2006 Chris Weyl <cweyl@alumni.drew.edu> - 1.26-1
  109. - Specfile autogenerated by cpanspec 1.69.1