perl-Test-Warn-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. Name: perl-Test-Warn
  2. Version: 0.11
  3. Release: 1%{?_dist_release}
  4. Summary: Perl extension to test methods for warnings
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/Test-Warn/
  8. Source0: http://www.cpan.org/authors/id/C/CH/CHORNY/Test-Warn-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildArch: noarch
  11. BuildRequires: perl(Array::Compare)
  12. BuildRequires: perl(ExtUtils::MakeMaker)
  13. BuildRequires: perl(File::Spec)
  14. BuildRequires: perl(Sub::Uplevel) >= 0.12
  15. BuildRequires: perl(Test::Builder) >= 0.13
  16. BuildRequires: perl(Test::Builder::Tester)
  17. BuildRequires: perl(Test::Exception)
  18. BuildRequires: perl(Test::More)
  19. BuildRequires: perl(Test::Pod)
  20. BuildRequires: perl(Tree::DAG_Node)
  21. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  22. Requires: perl(Test::Builder) >= 0.13
  23. Requires: perl(Test::Builder::Tester)
  24. Requires: perl(Tree::DAG_Node)
  25. %description
  26. This module provides a few convenience methods for testing warning
  27. based code.
  28. %prep
  29. %setup -q -n Test-Warn-%{version}
  30. %build
  31. %{__perl} Makefile.PL INSTALLDIRS=vendor
  32. make %{?_smp_mflags}
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  36. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  37. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
  38. chmod -R u+w $RPM_BUILD_ROOT/*
  39. %check
  40. make test
  41. %clean
  42. rm -rf $RPM_BUILD_ROOT
  43. %files
  44. %defattr(-,root,root,-)
  45. %doc Changes README
  46. %{perl_vendorlib}/Test/
  47. %{_mandir}/man3/*.3pm*
  48. %changelog
  49. * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.11-1
  50. - initial build for Vine Linux based on fedora development
  51. - drop version specfied for BR: perl(Sub::Uplevel) >= 0.12
  52. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
  53. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  54. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-2
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  56. * Sat Dec 20 2008 Paul Howarth <paul@city-fan.org> - 0.11-1
  57. - Update to 0.11 (#477298)
  58. - Buildreq ExtUtils::MakeMaker, File::Spec, Test::Builder,
  59. Test::Builder::Tester, and Test::More (from upstream Makefile.PL)
  60. - Add runtime dependencies on Test::Builder and Test::Builder::Tester
  61. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.10-3
  62. - Rebuild for perl 5.10 (again)
  63. * Thu Jan 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.10-2
  64. - rebuild for new perl
  65. * Sat May 5 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.10-1
  66. - Update to 0.10.
  67. * Sun Mar 18 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.09-1
  68. - Update to 0.09.
  69. - New upstream maintainer.
  70. - New BR: perl(Test::Pod).
  71. * Sun Sep 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.08-4
  72. - Rebuild for FC6.
  73. * Fri Feb 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.08-3
  74. - Rebuild for FC5 (perl 5.8.8).
  75. * Fri Jul 1 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.08-2
  76. - Dist tag.
  77. * Sun Jul 04 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.08-0.fdr.1
  78. - First build.