auto-import perl-Test-Warn-0.08-2 on branch devel from
perl-Test-Warn-0.08-2.src.rpm
This commit is contained in:
parent
9d5fc010f8
commit
bc7aa5472f
@ -0,0 +1 @@
|
||||
Test-Warn-0.08.tar.gz
|
||||
61
perl-Test-Warn.spec
Normal file
61
perl-Test-Warn.spec
Normal file
@ -0,0 +1,61 @@
|
||||
Name: perl-Test-Warn
|
||||
Version: 0.08
|
||||
Release: 2%{?dist}
|
||||
Summary: Perl extension to test methods for warnings
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL or Artistic
|
||||
URL: http://search.cpan.org/dist/Test-Warn/
|
||||
Source0: http://www.cpan.org/authors/id/B/BI/BIGJ/Test-Warn-0.08.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl >= 1:5.6.1
|
||||
BuildRequires: perl(Test::Builder::Tester), perl(Test::Exception)
|
||||
BuildRequires: perl(Array::Compare), perl(Tree::DAG_Node)
|
||||
Requires: perl(Tree::DAG_Node)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
This module provides a few convenience methods for testing warning
|
||||
based code.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n Test-Warn-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
|
||||
%check || :
|
||||
make test
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/Test/
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 1 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.08-2
|
||||
- Dist tag.
|
||||
|
||||
* Sun Jul 04 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.08-0.fdr.1
|
||||
- First build.
|
||||
Loading…
Reference in New Issue
Block a user