perl-Test-Exception-vl.spec 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. Name: perl-Test-Exception
  2. Version: 0.27
  3. Release: 3%{?_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. %description
  20. This module provides a few convenience methods for testing exception
  21. based code. It is built with Test::Builder and plays happily with
  22. Test::More and friends.
  23. %prep
  24. %setup -q -n Test-Exception-%{version}
  25. find . -type f -perm +100 -exec chmod a-x {} \;
  26. %build
  27. %{__perl} Build.PL installdirs=vendor
  28. ./Build
  29. %install
  30. rm -rf $RPM_BUILD_ROOT
  31. ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
  32. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  33. %{_fixperms} $RPM_BUILD_ROOT/*
  34. %check
  35. ./Build test
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc Changes README
  41. %{perl_vendorlib}/*
  42. %{_mandir}/man3/*
  43. %changelog
  44. * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.27-3
  45. - Initial build for Vine Linux
  46. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.27-2
  47. - Rebuild for perl 5.10 (again)
  48. * Wed Feb 20 2008 Steven Pritchard <steve@kspei.com> 0.27-1
  49. - Update to 0.27.
  50. * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.26-2
  51. - rebuild for new perl
  52. * Sat Jan 12 2008 Steven Pritchard <steve@kspei.com> 0.26-1
  53. - Update to 0.26.
  54. - Update License tag.
  55. - Use fixperms macro instead of our own chmod incantation.
  56. - Reformat to match cpanspec output.
  57. - Drop executable bits.
  58. * Thu Sep 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-3
  59. - Rebuild for FC6.
  60. * Fri Feb 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-2
  61. - Rebuild for FC5 (perl 5.8.8).
  62. * Tue Jun 7 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-1
  63. - Update to 0.21.
  64. * Thu May 12 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-4
  65. - Add dist tag.
  66. * Sat Apr 16 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.20-3
  67. - Avoid .packlist creation with Module::Build >= 0.2609.
  68. - Trust that %%{perl_vendorlib} is defined.
  69. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.20-2
  70. - rebuilt
  71. * Fri Nov 5 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1
  72. - Update to 0.20.
  73. * Sun Jul 04 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.15-0.fdr.1
  74. - First build.