Disable tests on bootstrap
This commit is contained in:
parent
71e9edcb06
commit
a832c6fdc4
@ -1,7 +1,7 @@
|
|||||||
%global real_version 2.135_07
|
%global real_version 2.135_07
|
||||||
Name: perl-Data-Dumper
|
Name: perl-Data-Dumper
|
||||||
Version: 2.135.07
|
Version: 2.135.07
|
||||||
Release: 240%{?dist}
|
Release: 241%{?dist}
|
||||||
Summary: Stringify perl data structures, suitable for printing and eval
|
Summary: Stringify perl data structures, suitable for printing and eval
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -13,10 +13,13 @@ BuildRequires: perl(Carp)
|
|||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(Scalar::Util)
|
BuildRequires: perl(Scalar::Util)
|
||||||
BuildRequires: perl(XSLoader)
|
BuildRequires: perl(XSLoader)
|
||||||
|
# perl-Test-Simple is in cycle with perl-Data-Dumper
|
||||||
|
%if !%{defined perl_bootstrap}
|
||||||
# Tests only:
|
# Tests only:
|
||||||
BuildRequires: perl(Test::More) >= 0.60
|
BuildRequires: perl(Test::More) >= 0.60
|
||||||
# Optional tests:
|
# Optional tests:
|
||||||
BuildRequires: perl(Encode)
|
BuildRequires: perl(Encode)
|
||||||
|
%endif
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
Requires: perl(Scalar::Util)
|
Requires: perl(Scalar::Util)
|
||||||
Requires: perl(XSLoader)
|
Requires: perl(XSLoader)
|
||||||
@ -45,7 +48,9 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if !%{defined perl_bootstrap}
|
||||||
make test
|
make test
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Changes Todo
|
%doc Changes Todo
|
||||||
@ -54,6 +59,9 @@ make test
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- update the version to override the module from perl.srpm
|
||||||
- bump release to override sub-package from perl.spec
|
- bump release to override sub-package from perl.spec
|
||||||
|
Loading…
Reference in New Issue
Block a user