rpms/perl-Test-NoWarnings/devel perl-Test-NoWarnings.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Mon Apr 10 18:15:13 UTC 2006


Author: steve

Update of /cvs/extras/rpms/perl-Test-NoWarnings/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16549/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Test-NoWarnings.spec 
Log Message:
auto-import perl-Test-NoWarnings-0.082-1 on branch devel from perl-Test-NoWarnings-0.082-1.src.rpm


--- NEW FILE perl-Test-NoWarnings.spec ---
Name:           perl-Test-NoWarnings
Version:        0.082
Release:        1%{?dist}
Summary:        Make sure you didn't emit any warnings while testing
License:        LGPL
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Test-NoWarnings/
Source0:        http://www.cpan.org/authors/id/F/FD/FDALY/Test-NoWarnings-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(Test::Tester) >= 0.103
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
In general, your tests shouldn't produce warnings. This modules causes any
warnings to be captured and stored. It automatically adds an extra test
that will run when your script ends to check that there were no warnings.
If there were any warings, the test will give a "not ok" and diagnostics of
where, when and what the warning was, including a stack trace of what was
going on when the it occurred.

%prep
%setup -q -n Test-NoWarnings-%{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+rwX,go+rX,go-w $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc CHANGES LGPL README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Sat Apr 08 2006 Steven Pritchard <steve at kspei.com> 0.082-1
- Specfile autogenerated by cpanspec 1.64.
- Fix License.
- Drop explicit dependency on perl(Test::Tester).  (Seems to be bogus.)


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Test-NoWarnings/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	10 Apr 2006 18:14:46 -0000	1.1
+++ .cvsignore	10 Apr 2006 18:15:13 -0000	1.2
@@ -0,0 +1 @@
+Test-NoWarnings-0.082.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Test-NoWarnings/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	10 Apr 2006 18:14:46 -0000	1.1
+++ sources	10 Apr 2006 18:15:13 -0000	1.2
@@ -0,0 +1 @@
+702143eab77ffc335a08beccac47dca4  Test-NoWarnings-0.082.tar.gz




More information about the scm-commits mailing list