perl 5.16 mass rebuild [release 0.03-2mamba;Mon Nov 12 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 09:39:43 +01:00
parent 74e774cc18
commit 8102aa8ad3
2 changed files with 69 additions and 0 deletions

View File

@ -1,2 +1,8 @@
# perl-Taint-Runtime
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.

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

@ -0,0 +1,63 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Taint-Runtime
Version: 0.03
Release: 2mamba
Summary: Taint::Runtime - Runtime enable taint checking
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/R/RH/RHANDOM/Taint-Runtime-%{version}.tar.gz
License: GPL, Artistic
BuildRequires: perl(Test::More)
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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 PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{perl_vendorarch}/Taint/
%{perl_vendorarch}/auto/Taint/
%{_mandir}/man3/*.3pm.gz
%doc Changes README
%changelog
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.03-2mamba
- perl 5.16 mass rebuild
* Thu Feb 17 2011 gil <puntogil@libero.it> 0.03-1mamba
- package created by autospec