perl-Test-Exception-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. Name: perl-Test-Exception
  2. Version: 0.31
  3. Release: 1%{?_dist_release}
  4. Summary: Library of test functions for exception based Perl code
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Test-Exception/
  8. Source0: http://www.cpan.org/authors/id/A/AD/ADIE/Test-Exception-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. # BuildRequires: perl, perl-Pod-Coverage, perl-Sub-Uplevel, perl-Test-Tester
  12. BuildRequires: perl(Module::Build)
  13. BuildRequires: perl(Pod::Coverage)
  14. BuildRequires: perl(Sub::Uplevel) >= 0.18
  15. BuildRequires: perl(Test::Pod)
  16. BuildRequires: perl(Test::Builder)
  17. BuildRequires: perl(Test::Builder::Tester)
  18. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. %description
  22. This module provides a few convenience methods for testing exception
  23. based code. It is built with Test::Builder and plays happily with
  24. Test::More and friends.
  25. %prep
  26. %setup -q -n Test-Exception-%{version}
  27. find . -type f -perm +100 -exec chmod a-x {} \;
  28. %build
  29. %{__perl} Build.PL installdirs=vendor
  30. ./Build
  31. %install
  32. rm -rf $RPM_BUILD_ROOT
  33. ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
  34. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  35. %{_fixperms} $RPM_BUILD_ROOT/*
  36. %check
  37. ./Build test
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %files
  41. %defattr(-,root,root,-)
  42. %doc Changes README
  43. %{perl_vendorlib}/*
  44. %{_mandir}/man3/*
  45. %changelog
  46. * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 0.31-1
  47. - new upstream release
  48. - add Vendor and Distribution tags
  49. * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.27-3
  50. - Initial build for Vine Linux
  51. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.27-2
  52. - Rebuild for perl 5.10 (again)
  53. * Wed Feb 20 2008 Steven Pritchard <steve@kspei.com> 0.27-1
  54. - Update to 0.27.
  55. * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.26-2
  56. - rebuild for new perl
  57. * Sat Jan 12 2008 Steven Pritchard <steve@kspei.com> 0.26-1
  58. - Update to 0.26.
  59. - Update License tag.
  60. - Use fixperms macro instead of our own chmod incantation.
  61. - Reformat to match cpanspec output.
  62. - Drop executable bits.
  63. * Thu Sep 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-3
  64. - Rebuild for FC6.
  65. * Fri Feb 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-2
  66. - Rebuild for FC5 (perl 5.8.8).
  67. * Tue Jun 7 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-1
  68. - Update to 0.21.
  69. * Thu May 12 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-4
  70. - Add dist tag.
  71. * Sat Apr 16 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.20-3
  72. - Avoid .packlist creation with Module::Build >= 0.2609.
  73. - Trust that %%{perl_vendorlib} is defined.
  74. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.20-2
  75. - rebuilt
  76. * Fri Nov 5 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1
  77. - Update to 0.20.
  78. * Sun Jul 04 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.15-0.fdr.1
  79. - First build.