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

Revision 12120, 2.5 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

Line 
1Name:           perl-Test-NoWarnings
2Version:        1.04
3Release:        2%{?_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)
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%license LICENSE
52%doc Changes README
53%{perl_vendorlib}/*
54%{_mandir}/man3/*
55
56%changelog
57* Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.04-2
58- rebuilt with perl-5.26.
59
60* Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.04-1
61- updated to 1.04
62- built with perl 5.16.3
63- added Vendor and Distribution tag
64
65* Thu Nov 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.084-1
66- updated to 0.084
67- applied new versioning policy
68
69* Wed Sep 26 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.083-2vl1
70- initial build for Vine Linux
71
72* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.083-2
73- BR ExtUtils::MakeMaker.
74
75* Tue Dec 26 2006 Steven Pritchard <steve@kspei.com> 0.083-1
76- Update to 0.083.
77- Use fixperms macro instead of our own chmod incantation.
78
79* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.082-2
80- Fix find option order.
81
82* Sat Apr 08 2006 Steven Pritchard <steve@kspei.com> 0.082-1
83- Specfile autogenerated by cpanspec 1.64.
84- Fix License.
85- Drop explicit dependency on perl(Test::Tester).  (Seems to be bogus.)
Note: See TracBrowser for help on using the repository browser.