Disable tests on bootstrap
This commit is contained in:
parent
71e9edcb06
commit
a832c6fdc4
|
@ -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@redhat.com> - 2.135.07-241
|
||||
- Disable tests on bootstrap
|
||||
|
||||
* Mon Aug 13 2012 Marcela Mašláňová <mmaslano@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
|
||||
|
|
Loading…
Reference in New Issue