Name: perl-Test-Warn
Summary: Perl extension to test methods for warnings
Version: 0.30
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Test-Warn/
Description: This module provides a few convenience methods for testing warning based
code.
No build yet for CentOS 7 x86_64.
No build yet for CentOS 6 x86_64.
The spec file used by the build system currently has the following contents:
# $Id$ # Authority: dries # Upstream: Alexandr Ciornii <alexchorny$gmail,com> ### EL6 ships with perl-Test-Warn-0.21-2.el6 %{?el6:# Tag: rfx} %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch) %define real_name Test-Warn Summary: Perl extension to test methods for warnings Name: perl-Test-Warn Version: 0.30 Release: 1%{?dist} License: Artistic/GPL Group: Applications/CPAN URL: http://search.cpan.org/dist/Test-Warn/ Source: http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Test-Warn-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) BuildRequires: perl(Sub::Uplevel) >= 0.12 BuildRequires: perl(Test::Builder) >= 0.13 BuildRequires: perl(Test::Builder::Tester) >= 1.02 BuildRequires: perl(Test::More) BuildRequires: perl(Tree::DAG_Node) >= 1.02 BuildRequires: perl >= 5.006 Requires: perl(Sub::Uplevel) >= 0.12 Requires: perl(Test::Builder) >= 0.13 Requires: perl(Test::Builder::Tester) >= 1.02 Requires: perl(Tree::DAG_Node) >= 1.02 Requires: perl >= 5.006 ### remove autoreq Perl dependencies %filter_from_requires /^perl.*/d %filter_setup %description This module provides a few convenience methods for testing warning based code. %prep %setup -n %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} pure_install ### Clean up buildroot find %{buildroot} -name .packlist -exec %{__rm} {} \; %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc Changes MANIFEST META.yml README %doc %{_mandir}/man3/Test::Warn.3pm* %dir %{perl_vendorlib}/Test/ #%{perl_vendorlib}/Test/Warn/ %{perl_vendorlib}/Test/Warn.pm %changelog * Sat Aug 29 2015 Dries Verachtert <dries.verachtert@dries.eu> - 0.30-1 - Updated to release 0.30. * Tue Feb 8 2011 Christoph Maser <cmaser@gmx.de> - 0.22-1 - Updated to version 0.22. * Thu Dec 09 2009 Christoph Maser <cmr@financial.com> - 0.21-2 - remove version on dependency perl(Test::Builder::Tester) * Tue Sep 1 2009 Christoph Maser <cmr@financial.com> - 0.21-1 - Updated to version 0.21. * Wed Nov 26 2008 Dag Wieers <dag@wieers.com> - 0.11-1 - Updated to release 0.11. * Wed Jun 11 2008 Dries Verachtert <dries@ulyssis.org> - 0.10-2 - Added Tree::DAG_Node requirement, thanks to Sven Sternberger. * Mon Jun 18 2007 Dries Verachtert <dries@ulyssis.org> - 0.10-1 - Updated to release 0.10. * Sun Apr 29 2007 Dries Verachtert <dries@ulyssis.org> - 0.09-1 - Updated to release 0.09. * Wed Mar 22 2006 Dries Verachtert <dries@ulyssis.org> - 0.08-1.2 - Rebuild for Fedora Core 5. * Sat Apr 9 2005 Dries Verachtert <dries@ulyssis.org> - 0.08-1 - Initial package.