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

Revision 9081, 2.4 KB checked in by inagaki, 9 years ago (diff)

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


Line 
1Name:           perl-Test-NoWarnings
2Version:        1.04
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(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
14
15Vendor:         Project Vine
16Distribution:   Vine Linux
17
18%description
19In general, your tests shouldn't produce warnings. This module causes any
20warnings to be captured and stored. It automatically adds an extra test
21that will run when your script ends to check that there were no warnings.
22If there were any warings, the test will give a "not ok" and diagnostics of
23where, when and what the warning was, including a stack trace of what was
24going on when the it occurred.
25
26%prep
27%setup -q -n Test-NoWarnings-%{version}
28
29%build
30%{__perl} Makefile.PL INSTALLDIRS=vendor
31make %{?_smp_mflags}
32
33%install
34rm -rf $RPM_BUILD_ROOT
35
36make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
37
38find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
39find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
40
41%{_fixperms} $RPM_BUILD_ROOT/*
42
43%check
44make test
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(-,root,root,-)
51%doc Changes LICENSE README
52%{perl_vendorlib}/*
53%{_mandir}/man3/*
54
55%changelog
56* Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.04-1
57- updated to 1.04
58- built with perl 5.16.3
59- added Vendor and Distribution tag
60
61* Thu Nov 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.084-1
62- updated to 0.084
63- applied new versioning policy
64
65* Wed Sep 26 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.083-2vl1
66- initial build for Vine Linux
67
68* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.083-2
69- BR ExtUtils::MakeMaker.
70
71* Tue Dec 26 2006 Steven Pritchard <steve@kspei.com> 0.083-1
72- Update to 0.083.
73- Use fixperms macro instead of our own chmod incantation.
74
75* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.082-2
76- Fix find option order.
77
78* Sat Apr 08 2006 Steven Pritchard <steve@kspei.com> 0.082-1
79- Specfile autogenerated by cpanspec 1.64.
80- Fix License.
81- Drop explicit dependency on perl(Test::Tester).  (Seems to be bogus.)
Note: See TracBrowser for help on using the repository browser.