%define upstream_name Test-Taint %define upstream_version 1.06 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Tools to test taintedness License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Test/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::More) BuildRequires: perl(Tie::Array) BuildRequires: perl(Tie::Hash) BuildRequires: perl(Tie::Scalar) BuildRequires: perl(overload) BuildRequires: perl-devel %description Tainted data is data that comes from an unsafe source, such as the command line, or, in the case of web apps, any GET or POST transactions. Read the the perlsec manpage man page for details on why tainted data is bad, and how to untaint the data. When you're writing unit tests for code that deals with tainted data, you'll want to have a way to provide tainted data for your routines to handle, and easy ways to check and report on the taintedness of your data, in standard the Test::More manpage style. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes META.json META.yml MYMETA.yml %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.60.0-2.mga3 + Revision: 373827 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Nov 07 2012 jquelin <jquelin> 1.60.0-1.mga3 + Revision: 315880 - update to 1.06 * Wed May 30 2012 jquelin <jquelin> 1.40.0-4.mga3 + Revision: 251206 - rebuild for perl 5.16 * Sun Jun 12 2011 sander85 <sander85> 1.40.0-3.mga2 + Revision: 105026 - Rebuild for perl 5.14 * Sat Jan 22 2011 jquelin <jquelin> 1.40.0-2.mga1 + Revision: 32474 - mageia rebuild - imported package perl-Test-Taint