commit 7988635268a0097e407b1a817f8d1b1354693cd0 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Sat Jan 5 12:20:01 2013 -0700 update to 1.04 .gitignore | 1 + perl-Test-NoWarnings.spec | 20 ++++++++------------ sources | 2 +- 3 files changed, 10 insertions(+), 13 deletions(-) --- diff --git a/.gitignore b/.gitignore index 9ba1de0..f077aad 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ Test-NoWarnings-0.084.tar.gz /Test-NoWarnings-1.02.tar.gz +/Test-NoWarnings-1.04.tar.gz diff --git a/perl-Test-NoWarnings.spec b/perl-Test-NoWarnings.spec index fdf720f..8690971 100644 --- a/perl-Test-NoWarnings.spec +++ b/perl-Test-NoWarnings.spec @@ -1,12 +1,11 @@ Name: perl-Test-NoWarnings -Version: 1.02 -Release: 7%{?dist} +Version: 1.04 +Release: 1%{?dist} Summary: Make sure you didn't emit any warnings while testing License: LGPLv2+ Group: Development/Libraries URL: http://search.cpan.org/dist/Test-NoWarnings/ Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Test-NoWarnings-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Carp) BuildRequires: perl(Devel::StackTrace) @@ -21,7 +20,7 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi In general, your tests shouldn't produce warnings. This module 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 +If there were any warnings, 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. @@ -33,28 +32,25 @@ going on when the it occurred. make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT - -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) %doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Sat Jan 05 2013 Iain Arnell <iarnell@xxxxxxxxx> 1.04-1 +- update to latest upstream version +- clean up spec for modern rpmbuild + * Thu Nov 08 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.02-7 - Update dependencies diff --git a/sources b/sources index bff6d38..353dbe7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6c5ae5613c66d6b5e4f0799085571a64 Test-NoWarnings-1.02.tar.gz +682ed043f7d3e38f3dfd8745fd21c49a Test-NoWarnings-1.04.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel