perl-Test-NoWarnings-vl.spec 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. Name: perl-Test-NoWarnings
  2. Version: 1.04
  3. Release: 2%{?_dist_release}
  4. Summary: Make sure you didn't emit any warnings while testing
  5. License: LGPL
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Test-NoWarnings/
  8. Source0: http://www.cpan.org/authors/id/F/FD/FDALY/Test-NoWarnings-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(Test::Tester)
  13. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. In general, your tests shouldn't produce warnings. This module causes any
  18. warnings to be captured and stored. It automatically adds an extra test
  19. that will run when your script ends to check that there were no warnings.
  20. If there were any warings, the test will give a "not ok" and diagnostics of
  21. where, when and what the warning was, including a stack trace of what was
  22. going on when the it occurred.
  23. %prep
  24. %setup -q -n Test-NoWarnings-%{version}
  25. %build
  26. %{__perl} Makefile.PL INSTALLDIRS=vendor
  27. make %{?_smp_mflags}
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  31. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
  32. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  33. %{_fixperms} $RPM_BUILD_ROOT/*
  34. %check
  35. make test
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %defattr(-,root,root,-)
  40. %license LICENSE
  41. %doc Changes README
  42. %{perl_vendorlib}/*
  43. %{_mandir}/man3/*
  44. %changelog
  45. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.04-2
  46. - rebuilt with perl-5.26.
  47. * Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.04-1
  48. - updated to 1.04
  49. - built with perl 5.16.3
  50. - added Vendor and Distribution tag
  51. * Thu Nov 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.084-1
  52. - updated to 0.084
  53. - applied new versioning policy
  54. * Wed Sep 26 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.083-2vl1
  55. - initial build for Vine Linux
  56. * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.083-2
  57. - BR ExtUtils::MakeMaker.
  58. * Tue Dec 26 2006 Steven Pritchard <steve@kspei.com> 0.083-1
  59. - Update to 0.083.
  60. - Use fixperms macro instead of our own chmod incantation.
  61. * Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.082-2
  62. - Fix find option order.
  63. * Sat Apr 08 2006 Steven Pritchard <steve@kspei.com> 0.082-1
  64. - Specfile autogenerated by cpanspec 1.64.
  65. - Fix License.
  66. - Drop explicit dependency on perl(Test::Tester). (Seems to be bogus.)