perl-Pod-Tests-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. Name: perl-Pod-Tests
  2. Version: 1.19
  3. Release: 2%{?_dist_release}
  4. Summary: Extract embedded tests and code examples from POD
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Pod-Tests/
  8. Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Pod-Tests-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  11. BuildArch: noarch
  12. BuildRequires: perl(ExtUtils::MakeMaker)
  13. BuildRequires: perl(Test::Harness) >= 1.22
  14. BuildRequires: perl(Test::More) >= 0.33
  15. # for improved tests
  16. BuildRequires: perl(Test::CPAN::Meta) >= 0.12
  17. BuildRequires: perl(Test::Pod) >= 1.26
  18. BuildRequires: perl(Test::MinimumVersion) >= 0.008
  19. # N/A in Fedora
  20. # BuildRequires: perl(Pod::Simple) >= 3.07
  21. BuildRequires: perl(Pod::Simple)
  22. %description
  23. Pod::Tests extracts embedded tests and code examples from POD.
  24. pod2test convert embedded tests and code examples to .t files.
  25. %prep
  26. %setup -q -n Pod-Tests-%{version}
  27. %build
  28. %{__perl} Makefile.PL INSTALLDIRS=vendor
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf %{buildroot}
  32. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  33. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  34. find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
  35. chmod -R u+w %{buildroot}/*
  36. %clean
  37. rm -rf %{buildroot}
  38. %check
  39. # remove test until Perl-MinimumVersion will be fixed
  40. rm -rf t/99_pmv.t
  41. make test AUTOMATED_TESTING=1
  42. %files
  43. %defattr(-,root,root,-)
  44. %doc Changes LICENSE
  45. %{_bindir}/*
  46. %{perl_vendorlib}/Pod
  47. %{_mandir}/man1/*
  48. %{_mandir}/man3/*
  49. %changelog
  50. * Thu Dec 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.19-2
  51. - rebuilt with perl 5.16.3
  52. * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.19-1
  53. - initial build for Vine Linux
  54. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-9
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  56. * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 1.19-8
  57. - Perl mass rebuild
  58. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-7
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  60. * Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.19-6
  61. - 661697 rebuild for fixing problems with vendorach/lib
  62. * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.19-5
  63. - Mass rebuild with perl-5.12.0
  64. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.19-4
  65. - rebuild against perl 5.10.1
  66. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-3
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  68. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-2
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  70. * Wed Sep 10 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.19-1
  71. - Upstream update.
  72. * Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.18-6
  73. - rebuild for new perl
  74. * Tue Sep 04 2007 Ralf Corsépius <rc040203@freenet.de> - 0.18-5
  75. - Update license tag.
  76. - BR: perl(ExtUtils::MakeMaker).
  77. * Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.18-4
  78. - Mass rebuild.
  79. * Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 0.18-3
  80. - Rebuild for perl-5.8.8.
  81. * Sun Oct 02 2005 Ralf Corsepius <rc040203@freenet.de> - 0.18-2
  82. - Pollute the spec file with dos2unix to accommodate PR 169112.
  83. * Fri Sep 23 2005 Ralf Corsepius <rc040203@freenet.de> - 0.18-1
  84. - FE submission.