source: spec/trunk/SPECS/perl-Taint-Runtime.spec@ 1330

Last change on this file since 1330 was 1327, checked in by tellie, 8 years ago

spec: perl-Taint-Runtime: Release version 0.03-1.

File size: 1.7 KB
Line 
1Name: perl-Taint-Runtime
2Version: 0.03
3Release: 1%{?dist}
4Summary: Runtime enable taint checking
5Group: Development/Libraries
6License: GPL+ or Artistic
7URL: http://search.cpan.org/dist/Taint-Runtime
8Source0: http://search.cpan.org/CPAN/authors/id/R/RH/RHANDOM/Taint-Runtime-%{version}.tar.gz
9BuildRequires: perl-devel
10BuildRequires: perl-generators
11BuildRequires: perl(ExtUtils::MakeMaker)
12# Run-time:
13BuildRequires: perl(Carp)
14BuildRequires: perl(Exporter)
15BuildRequires: perl(XSLoader)
16# Tests:
17BuildRequires: perl(Test::More)
18Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
19Requires: perl(Carp)
20
21%{?perl_default_filter}
22
23%description
24This module enables run-time taint checking, for cases where the -T
25switch on the command line is not appropriate or viable. There are
26a somewhat limited number of legitimate use cases where you should
27use this module instead of the -T switch. Unless you have a specific and
28good reason for not using the -T option, you should use the -T option.
29
30%prep
31%setup -q -n Taint-Runtime-%{version}
32chmod +x is_taint_bench.pl
33
34%build
35%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
36make %{?_smp_mflags}
37make manifypods
38
39%install
40make pure_install DESTDIR=$RPM_BUILD_ROOT
41find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
42find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
43chmod -R u+w $RPM_BUILD_ROOT/*
44
45%check
46#make test
47
48%files
49%doc Changes README
50%{perl_vendorarch}/auto/Taint/
51%{perl_vendorarch}/Taint/
52%{_mandir}/man3/*.3*
53
54%changelog
55* Thu Mar 06 2018 Elbert Pol <elbert.pol@gmail.com> - 0.03-1
56- initial rpm for OS2
Note: See TracBrowser for help on using the repository browser.