perl-Test-Exception-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. Name: perl-Test-Exception
  2. Version: 0.43
  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)
  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} Makefile.PL INSTALLDIRS=vendor
  30. make %{?_smp_mflags}
  31. %install
  32. rm -rf $RPM_BUILD_ROOT
  33. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  34. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
  35. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  36. %{_fixperms} $RPM_BUILD_ROOT/*
  37. %check
  38. make test
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc Changes README
  44. %{perl_vendorlib}/*
  45. %{_mandir}/man3/*
  46. %changelog
  47. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.43-1
  48. - new upstream release.
  49. - rebuilt with perl-5.26.
  50. * Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.31-2
  51. - build with Perl 5.16
  52. * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 0.31-1
  53. - new upstream release
  54. - add Vendor and Distribution tags
  55. * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.27-3
  56. - Initial build for Vine Linux
  57. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.27-2
  58. - Rebuild for perl 5.10 (again)
  59. * Wed Feb 20 2008 Steven Pritchard <steve@kspei.com> 0.27-1
  60. - Update to 0.27.
  61. * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.26-2
  62. - rebuild for new perl
  63. * Sat Jan 12 2008 Steven Pritchard <steve@kspei.com> 0.26-1
  64. - Update to 0.26.
  65. - Update License tag.
  66. - Use fixperms macro instead of our own chmod incantation.
  67. - Reformat to match cpanspec output.
  68. - Drop executable bits.
  69. * Thu Sep 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-3
  70. - Rebuild for FC6.
  71. * Fri Feb 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-2
  72. - Rebuild for FC5 (perl 5.8.8).
  73. * Tue Jun 7 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-1
  74. - Update to 0.21.
  75. * Thu May 12 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-4
  76. - Add dist tag.
  77. * Sat Apr 16 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.20-3
  78. - Avoid .packlist creation with Module::Build >= 0.2609.
  79. - Trust that %%{perl_vendorlib} is defined.
  80. * Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.20-2
  81. - rebuilt
  82. * Fri Nov 5 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1
  83. - Update to 0.20.
  84. * Sun Jul 04 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.15-0.fdr.1
  85. - First build.