source: projects/specs/trunk/p/perl-Test-NoWarnings/perl-Test-NoWarnings-vl.spec @ 521

Revision 521, 2.2 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Name:           perl-Test-NoWarnings
2Version:        0.084
3Release:        1%{?_dist_release}
4Summary:        Make sure you didn't emit any warnings while testing
5License:        LGPL
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Test-NoWarnings/
8Source0:        http://www.cpan.org/authors/id/F/FD/FDALY/Test-NoWarnings-%{version}.tar.gz
9BuildRoot:      %{_tmppath}/%{name}-%{version}-root
10BuildArch:      noarch
11BuildRequires:  perl(ExtUtils::MakeMaker)
12BuildRequires:  perl(Test::Tester) >= 0.103
13Requires:       perl >= %(eval "`%{__perl} -V:version`"; echo $version)
14
15%description
16In general, your tests shouldn't produce warnings. This module causes any
17warnings to be captured and stored. It automatically adds an extra test
18that will run when your script ends to check that there were no warnings.
19If there were any warings, the test will give a "not ok" and diagnostics of
20where, when and what the warning was, including a stack trace of what was
21going on when the it occurred.
22
23%prep
24%setup -q -n Test-NoWarnings-%{version}
25
26%build
27%{__perl} Makefile.PL INSTALLDIRS=vendor
28make %{?_smp_mflags}
29
30%install
31rm -rf $RPM_BUILD_ROOT
32
33make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
34
35find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
36find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
37
38%{_fixperms} $RPM_BUILD_ROOT/*
39
40%check
41make test
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%files
47%defattr(-,root,root,-)
48%doc CHANGES LGPL README
49%{perl_vendorlib}/*
50%{_mandir}/man3/*
51
52%changelog
53* Thu Nov 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.084-1
54- updated to 0.084
55- applied new versioning policy
56
57* Wed Sep 26 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.083-2vl1
58- initial build for Vine Linux
59
60* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.083-2
61- BR ExtUtils::MakeMaker.
62
63* Tue Dec 26 2006 Steven Pritchard <steve@kspei.com> 0.083-1
64- Update to 0.083.
65- Use fixperms macro instead of our own chmod incantation.
66
67* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.082-2
68- Fix find option order.
69
70* Sat Apr 08 2006 Steven Pritchard <steve@kspei.com> 0.082-1
71- Specfile autogenerated by cpanspec 1.64.
72- Fix License.
73- Drop explicit dependency on perl(Test::Tester).  (Seems to be bogus.)
Note: See TracBrowser for help on using the repository browser.