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:
parent
3d0326eba3
commit
3068e65081
@ -0,0 +1 @@
|
||||
Taint-Runtime-0.02.tar.gz
|
||||
50
perl-Taint-Runtime.spec
Normal file
50
perl-Taint-Runtime.spec
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user