[perl-IO-Compress] Omit optional Test::Pod and Test::NoWarnings tests on bootstrap

Petr Pisar ppisar at fedoraproject.org
Fri Jun 1 06:59:10 UTC 2012


commit d331a3ce604c69473dcac94f8f2f9e3766c779ef
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Jun 1 08:57:46 2012 +0200

    Omit optional Test::Pod and Test::NoWarnings tests on bootstrap

 perl-IO-Compress.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/perl-IO-Compress.spec b/perl-IO-Compress.spec
index 0ad2ac1..e2f8c91 100644
--- a/perl-IO-Compress.spec
+++ b/perl-IO-Compress.spec
@@ -3,7 +3,7 @@
 
 Name:           perl-IO-Compress
 Version:        2.052
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Read and write compressed data
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -31,8 +31,10 @@ BuildRequires:  perl(POSIX)
 BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(Symbol)
 BuildRequires:  perl(Test::Builder)
+%if !%{defined perl_bootstrap}
 BuildRequires:  perl(Test::NoWarnings)
 BuildRequires:  perl(Test::Pod) >= 1.00
+%endif
 BuildRequires:  perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 # this is wrapper for different Compress modules
@@ -111,6 +113,9 @@ make test %{?with_long_tests:COMPRESS_ZLIB_RUN_ALL=1}
 %{_mandir}/man3/IO::Uncompress::*.3pm*
 
 %changelog
+* Fri Jun 01 2012 Petr Pisar <ppisar at redhat.com> - 2.052-2
+- Omit optional Test::Pod and Test::NoWarnings tests on bootstrap
+
 * Sun Apr 29 2012 Paul Howarth <paul at city-fan.org> - 2.052-1
 - Update to 2.052
   - IO::Compress::Zip: force a ZIP64 archive when it contains ≥ 0xFFFF entries


More information about the scm-commits mailing list