source: projects/specs/branches/6/p/perl-Test-Taint/perl-Test-Taint-vl.spec @ 3699

Revision 3699, 3.0 KB checked in by kazutaka, 13 years ago (diff)

shutter の依存物を更新。

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