perl-Taint-Runtime-vl.spec 3.8 KB

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