[perl-Data-Dumper] Disable tests on bootstrap

Petr Pisar ppisar at fedoraproject.org
Mon Aug 27 07:18:28 UTC 2012


commit a832c6fdc4c2ecbf7f98cbb7b3dfb750a809218b
Author: Petr Písař <ppisar at redhat.com>
Date:   Mon Aug 27 09:17:57 2012 +0200

    Disable tests on bootstrap

 perl-Data-Dumper.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/perl-Data-Dumper.spec b/perl-Data-Dumper.spec
index b112157..4e10251 100644
--- a/perl-Data-Dumper.spec
+++ b/perl-Data-Dumper.spec
@@ -1,7 +1,7 @@
 %global real_version 2.135_07
 Name:           perl-Data-Dumper
 Version:        2.135.07
-Release:        240%{?dist}
+Release:        241%{?dist}
 Summary:        Stringify perl data structures, suitable for printing and eval
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -13,10 +13,13 @@ BuildRequires:  perl(Carp)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(XSLoader)
+# perl-Test-Simple is in cycle with perl-Data-Dumper
+%if !%{defined perl_bootstrap}
 # Tests only:
 BuildRequires:  perl(Test::More) >= 0.60
 # Optional tests:
 BuildRequires:  perl(Encode)
+%endif
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:       perl(Scalar::Util)
 Requires:       perl(XSLoader)
@@ -45,7 +48,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
+%if !%{defined perl_bootstrap}
 make test
+%endif
 
 %files
 %doc Changes Todo
@@ -54,6 +59,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Fri Aug 24 2012 Petr Pisar <ppisar at redhat.com> - 2.135.07-241
+- Disable tests on bootstrap
+
 * Mon Aug 13 2012 Marcela Mašláňová <mmaslano at redhat.com> - 2.135.07-240
 - update the version to override the module from perl.srpm
 - bump release to override sub-package from perl.spec 



More information about the perl-devel mailing list