From a832c6fdc4c2ecbf7f98cbb7b3dfb750a809218b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 27 Aug 2012 09:17:57 +0200 Subject: [PATCH] Disable tests on bootstrap --- perl-Data-Dumper.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 - 2.135.07-241 +- Disable tests on bootstrap + * Mon Aug 13 2012 Marcela Mašláňová - 2.135.07-240 - update the version to override the module from perl.srpm - bump release to override sub-package from perl.spec