diff --git a/.cvsignore b/.cvsignore index e69de29..5dba9f8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Taint-Runtime-0.02.tar.gz diff --git a/perl-Taint-Runtime.spec b/perl-Taint-Runtime.spec new file mode 100644 index 0000000..c479278 --- /dev/null +++ b/perl-Taint-Runtime.spec @@ -0,0 +1,50 @@ +Name: perl-Taint-Runtime +Version: 0.02 +Release: 1%{?dist} +Summary: Runtime enable taint checking +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Taint-Runtime +Source0: http://search.cpan.org/CPAN/authors/id/R/RH/RHANDOM/Taint-Runtime-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module enables runtime taint checking, for cases where the -T +switch on the commandline is not appropriate or viable. There are +a somewhat limited number of legitimate use cases where you should +use this module instead of the -T switch. Unless you have a specific and +good reason for not using the -T option, you should use the -T option. + +%prep +%setup -q -n Taint-Runtime-%{version} +chmod +x is_taint_bench.pl + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes +%{perl_vendorarch}/auto/Taint/ +%{perl_vendorarch}/Taint/ +%{_mandir}/man3/*.3* + +%changelog +* Fri Mar 31 2006 Tom "spot" Callaway 0.02-1 +- Initial package for Fedora Extras diff --git a/sources b/sources index e69de29..7d11e57 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f956b5abaae6925beb0c6fc335f214de Taint-Runtime-0.02.tar.gz