auto-import perl-Taint-Runtime-0.02-1 on branch devel from

perl-Taint-Runtime-0.02-1.src.rpm
This commit is contained in:
Tom Callaway 2006-03-31 22:41:04 +00:00
parent 3d0326eba3
commit 3068e65081
3 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1 @@
Taint-Runtime-0.02.tar.gz

50
perl-Taint-Runtime.spec Normal file
View File

@ -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 <tcallawa@redhat.com> 0.02-1
- Initial package for Fedora Extras

View File

@ -0,0 +1 @@
f956b5abaae6925beb0c6fc335f214de Taint-Runtime-0.02.tar.gz