perl-Test-Taint-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Summary: Tools to test taintedness
  2. Name: perl-Test-Taint
  3. Version: 1.5
  4. Release: 1%{?_dist_release}
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Test-Taint/
  8. Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/Test-Taint-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: perl(ExtUtils::MakeMaker)
  11. BuildRequires: perl(Test::Pod) >= 1.00
  12. BuildRequires: perl(Test::Pod::Coverage) >= 0.08
  13. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. Tainted data is data that comes from an unsafe source, such as the command
  18. line, or, in the case of web apps, any GET or POST transactions. Read the
  19. perlsec man page for details on why tainted data is bad, and how to untaint
  20. the data.
  21. When you're writing unit tests for code that deals with tainted data, you'll
  22. want to have a way to provide tainted data for your routines to handle, and
  23. easy ways to check and report on the taintedness of your data, in standard
  24. Test::More style.
  25. %prep
  26. %setup -q -n Test-Taint-%{version}
  27. %build
  28. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="${RPM_OPT_FLAGS}"
  29. %{__make} %{?_smp_mflags}
  30. %install
  31. %{__rm} -rf $RPM_BUILD_ROOT
  32. %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  33. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  34. find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
  35. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  36. %{__chmod} -R u+w $RPM_BUILD_ROOT/*
  37. %clean
  38. %{__rm} -rf $RPM_BUILD_ROOT
  39. %check
  40. %{__make} test
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc Changes
  44. %{perl_vendorarch}/Test
  45. %{perl_vendorarch}/auto/Test
  46. %{_mandir}/man3/*
  47. %changelog
  48. * Wed Nov 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.06-1
  49. - updated to 1.06
  50. - built with perl 5.16.3
  51. * Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.04-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> 1.04-1
  55. - initial build for Vine Linux based on fedora development
  56. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-9
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  58. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-8
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  60. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-7
  61. - Rebuild for perl 5.10 (again)
  62. * Sun Feb 10 2008 Ralf Cors辿pius <rc040203@freenet.de> - 1.04-6
  63. - Rebuild for gcc43.
  64. * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-5
  65. - rebuild for new perl
  66. * Fri Aug 17 2007 Ralf Cors辿pius <rc040203@freenet.de> - 1.04-4
  67. - Reflect perl-package split.
  68. - Update license tag.
  69. * Tue Sep 05 2006 Ralf Cors辿pius <rc040203@freenet.de> - 1.04-3
  70. - Mass rebuild.
  71. * Mon Feb 20 2006 Ralf Corsepius <rc040203@freenet.de> - 1.04-2
  72. - Rebuild.
  73. * Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 1.04-1
  74. - FE submission.
  75. * Sun Mar 20 2005 Ralf Corsepius <ralf@links2linux.de> - 1.04-0.pm.2
  76. - Initial version.