perl-Test-Warn-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. Name: perl-Test-Warn
  2. Version: 0.11
  3. Release: 2%{?_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. Vendor: Project Vine
  26. Distribution: Vine Linux
  27. %description
  28. This module provides a few convenience methods for testing warning
  29. based code.
  30. %prep
  31. %setup -q -n Test-Warn-%{version}
  32. %build
  33. %{__perl} Makefile.PL INSTALLDIRS=vendor
  34. make %{?_smp_mflags}
  35. %install
  36. rm -rf $RPM_BUILD_ROOT
  37. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  38. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  39. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
  40. chmod -R u+w $RPM_BUILD_ROOT/*
  41. %check
  42. make test
  43. %clean
  44. rm -rf $RPM_BUILD_ROOT
  45. %files
  46. %defattr(-,root,root,-)
  47. %doc Changes README
  48. %{perl_vendorlib}/Test/
  49. %{_mandir}/man3/*.3pm*
  50. %changelog
  51. * Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.11-2
  52. - build with perl 5.12.3
  53. - add Vendor and Distribution tags
  54. * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.11-1
  55. - initial build for Vine Linux based on fedora development
  56. - drop version specfied for BR: perl(Sub::Uplevel) >= 0.12
  57. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  59. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-2
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  61. * Sat Dec 20 2008 Paul Howarth <paul@city-fan.org> - 0.11-1
  62. - Update to 0.11 (#477298)
  63. - Buildreq ExtUtils::MakeMaker, File::Spec, Test::Builder,
  64. Test::Builder::Tester, and Test::More (from upstream Makefile.PL)
  65. - Add runtime dependencies on Test::Builder and Test::Builder::Tester
  66. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.10-3
  67. - Rebuild for perl 5.10 (again)
  68. * Thu Jan 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.10-2
  69. - rebuild for new perl
  70. * Sat May 5 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.10-1
  71. - Update to 0.10.
  72. * Sun Mar 18 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.09-1
  73. - Update to 0.09.
  74. - New upstream maintainer.
  75. - New BR: perl(Test::Pod).
  76. * Sun Sep 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.08-4
  77. - Rebuild for FC6.
  78. * Fri Feb 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.08-3
  79. - Rebuild for FC5 (perl 5.8.8).
  80. * Fri Jul 1 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.08-2
  81. - Dist tag.
  82. * Sun Jul 04 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.08-0.fdr.1
  83. - First build.