perl-Taint-Runtime-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. Name: perl-Taint-Runtime
  2. Version: 0.03
  3. Release: 2%{?_dist_release}
  4. Summary: Runtime enable taint checking
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/Taint-Runtime
  8. Source0: http://search.cpan.org/CPAN/authors/id/R/RH/RHANDOM/Taint-Runtime-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildRequires: perl(Test::More)
  11. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  12. %description
  13. This module enables runtime taint checking, for cases where the -T
  14. switch on the commandline is not appropriate or viable. There are
  15. a somewhat limited number of legitimate use cases where you should
  16. use this module instead of the -T switch. Unless you have a specific and
  17. good reason for not using the -T option, you should use the -T option.
  18. %prep
  19. %setup -q -n Taint-Runtime-%{version}
  20. chmod +x is_taint_bench.pl
  21. %build
  22. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="${RPM_OPT_FLAGS}"
  23. make %{?_smp_mflags}
  24. %install
  25. rm -rf ${RPM_BUILD_ROOT}
  26. make pure_install DESTDIR=${RPM_BUILD_ROOT}
  27. find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} ';'
  28. find ${RPM_BUILD_ROOT} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
  29. find ${RPM_BUILD_ROOT} -type d -depth -exec rmdir {} 2>/dev/null ';'
  30. chmod -R u+w ${RPM_BUILD_ROOT}/*
  31. %check
  32. make test
  33. %clean
  34. rm -rf ${RPM_BUILD_ROOT}
  35. %files
  36. %defattr(-,root,root,-)
  37. %doc Changes README
  38. %{perl_vendorarch}/auto/Taint/
  39. %{perl_vendorarch}/Taint/
  40. %{_mandir}/man3/*.3*
  41. %changelog
  42. * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.03-2
  43. - build with Perl 5.16
  44. * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.03-1
  45. - initial build for Vine Linux
  46. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-14
  47. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  48. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.03-13
  49. - Perl mass rebuild
  50. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-12
  51. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  52. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-11
  53. - 661697 rebuild for fixing problems with vendorach/lib
  54. * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.03-10
  55. - Mass rebuild with perl-5.12.0
  56. * Thu Feb 25 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.03-9
  57. - add readme
  58. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.03-8
  59. - rebuild against perl 5.10.1
  60. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-7
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  62. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-6
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  64. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.03-5
  65. - Rebuild for perl 5.10 (again)
  66. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.03-4
  67. - Autorebuild for GCC 4.3
  68. * Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.03-3
  69. - rebuild for new perl
  70. * Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.03-2
  71. - license tag fix, rebuild for ppc32
  72. * Tue Jul 24 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.03-1.1
  73. - BR: perl(Test::More)
  74. * Thu Jul 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.03-1
  75. - bump to 0.03
  76. * Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.02-2
  77. - bump for FC-6
  78. * Fri Mar 31 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.02-1
  79. - Initial package for Fedora Extras