perl-Test-MinimumVersion-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. Name: perl-Test-MinimumVersion
  2. Version: 0.101082
  3. Release: 1%{?_dist_release}
  4. Summary: Check whether your code requires a newer perl
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Test-MinimumVersion/
  8. Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Test-MinimumVersion-%{version}.tar.gz
  9. BuildArch: noarch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: perl(Test::Tester)
  12. BuildRequires: perl(Test::Builder)
  13. BuildRequires: perl(YAML::Tiny)
  14. BuildRequires: perl(File::Find::Rule)
  15. BuildRequires: perl(File::Find::Rule::Perl)
  16. BuildRequires: perl(Perl::MinimumVersion)
  17. # For improved tests
  18. BuildRequires: perl(Test::Pod)
  19. BuildRequires: perl(Test::Pod::Coverage)
  20. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. Packager: shaolin
  24. %description
  25. Check whether your code requires a newer perl than you think.
  26. %prep
  27. %setup -q -n Test-MinimumVersion-%{version}
  28. find -type f -exec chmod -x {} \;
  29. %build
  30. %{__perl} Makefile.PL INSTALLDIRS=vendor
  31. make %{?_smp_mflags}
  32. %install
  33. rm -rf ${RPM_BUILD_ROOT}
  34. make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT}
  35. find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} ';'
  36. find ${RPM_BUILD_ROOT} -type d -depth -exec rmdir {} 2>/dev/null ';'
  37. chmod -R u+w ${RPM_BUILD_ROOT}/*
  38. %clean
  39. rm -rf ${RPM_BUILD_ROOT}
  40. %check
  41. make test RELEASE_TESTING=1
  42. %files
  43. %defattr(-,root,root,-)
  44. %license LICENSE
  45. %doc Changes
  46. %{perl_vendorlib}/Test
  47. %{_mandir}/man3/*
  48. %changelog
  49. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.101082-1
  50. - new upstream release.
  51. - rebuilt with perl-5.26.
  52. * Fri Nov 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.101081-1
  53. - updated to 0.101081
  54. - built with perl 5.16.3
  55. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.101080-2
  56. - rebuild
  57. * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.101080-1
  58. - initial build for Vine Linux
  59. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.101080-6
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  61. * Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.101080-5
  62. - Perl mass rebuild
  63. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.101080-4
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  65. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.101080-3
  66. - 661697 rebuild for fixing problems with vendorach/lib
  67. * Sun May 09 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.101080-2
  68. - Rebuild with perl-5.12.0.
  69. * Sun May 09 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.101080-1
  70. - Upstream update.
  71. * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.013-2
  72. - Mass rebuild with perl-5.12.0
  73. * Tue Mar 02 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.013-1
  74. - Upstream update.
  75. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.011-3
  76. - rebuild against perl 5.10.1
  77. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.011-2
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  79. * Mon Jul 20 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.011-1
  80. - Upstream update.
  81. * Wed Jun 17 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.010-1
  82. - Upstream update.
  83. * Tue May 05 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.009-1
  84. - Upstream update.
  85. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.008-2
  86. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  87. * Mon May 26 2008 Ralf Corsépius <rc040203@freenet.de> - 0.008-1
  88. - Upstream update.
  89. * Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.007-4
  90. - Rebuild normally, second pass
  91. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.007-3
  92. - Rebuild for perl 5.10 (again), first pass
  93. * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.007-2
  94. - rebuild normally, second pass
  95. * Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.007-1.1
  96. - rebuild for new perl, first pass, tests and TPC disabled
  97. * Mon Nov 19 2007 Ralf Corsépius <rc040203@freenet.de> - 0.007-1
  98. - Initial version.