source: projects/specs/trunk/p/perl-Test-Taint/perl-Test-Taint-vl.spec @ 9104

Revision 9104, 3.1 KB checked in by inagaki, 9 years ago (diff)

2014-11-19 Ryoichi INAGAKI <ryo1@…>

  • perl-B-Keywords, perl-PadWalker?, perl-Test-{Base, Differences, Taint}, perl-Text-Autoformat, perl-YAML-Tiny: updated
  • perl-Pod-Spell: rebuilt
  • perl-Capture-Tiny: NEW


Line 
1Summary:        Tools to test taintedness
2Name:           perl-Test-Taint
3Version:        1.5
4Release:        1%{?_dist_release}
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Test-Taint/
8Source0:        http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/Test-Taint-%{version}.tar.gz
9
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11BuildRequires:  perl(ExtUtils::MakeMaker)
12BuildRequires:  perl(Test::Pod) >= 1.00
13BuildRequires:  perl(Test::Pod::Coverage) >= 0.08
14Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
15
16Vendor: Project Vine
17Distribution: Vine Linux
18
19%description
20Tainted data is data that comes from an unsafe source, such as the command
21line, or, in the case of web apps, any GET or POST transactions. Read the
22perlsec man page for details on why tainted data is bad, and how to untaint
23the data.
24
25When you're writing unit tests for code that deals with tainted data, you'll
26want to have a way to provide tainted data for your routines to handle, and
27easy ways to check and report on the taintedness of your data, in standard
28Test::More style.
29
30%prep
31%setup -q -n Test-Taint-%{version}
32
33%build
34%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="${RPM_OPT_FLAGS}"
35%{__make} %{?_smp_mflags}
36
37%install
38%{__rm} -rf $RPM_BUILD_ROOT
39%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
40find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
41find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
42find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
43%{__chmod} -R u+w $RPM_BUILD_ROOT/*
44
45%clean
46%{__rm} -rf $RPM_BUILD_ROOT
47
48%check
49%{__make} test
50
51%files
52%defattr(-,root,root,-)
53%doc Changes
54%{perl_vendorarch}/Test
55%{perl_vendorarch}/auto/Test
56%{_mandir}/man3/*
57
58%changelog
59* Wed Nov 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.06-1
60- updated to 1.06
61- built with perl 5.16.3
62
63* Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.04-2
64- build with perl 5.12.3
65- add Vendor and Distribution tags
66
67* Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.04-1
68- initial build for Vine Linux based on fedora development
69
70* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-9
71- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
72
73* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-8
74- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
75
76* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-7
77- Rebuild for perl 5.10 (again)
78
79* Sun Feb 10 2008 Ralf Cors辿pius <rc040203@freenet.de> - 1.04-6
80- Rebuild for gcc43.
81
82* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-5
83- rebuild for new perl
84
85* Fri Aug 17 2007 Ralf Cors辿pius <rc040203@freenet.de> - 1.04-4
86- Reflect perl-package split.
87- Update license tag.
88
89* Tue Sep 05 2006 Ralf Cors辿pius <rc040203@freenet.de> - 1.04-3
90- Mass rebuild.
91
92* Mon Feb 20 2006 Ralf Corsepius <rc040203@freenet.de> - 1.04-2
93- Rebuild.
94
95* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 1.04-1
96- FE submission.
97
98* Sun Mar 20 2005 Ralf Corsepius <ralf@links2linux.de> - 1.04-0.pm.2
99- Initial version.
Note: See TracBrowser for help on using the repository browser.