Skip DBIx::Class tests on boostrap
This commit is contained in:
parent
4ab1d94b7b
commit
68f2fa45ed
@ -1,6 +1,6 @@
|
||||
Name: perl-SQL-Abstract
|
||||
Version: 1.81
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Generate SQL from Perl data structures
|
||||
Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
@ -19,8 +19,10 @@ BuildRequires: perl(base)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
%if !%{defined perl_bootstrap}
|
||||
# DBIx::Class::Storage::Statistic used only with optional tests
|
||||
BuildRequires: perl(DBIx::Class::Storage::Statistics)
|
||||
%endif
|
||||
BuildRequires: perl(Exporter) >= 5.57
|
||||
BuildRequires: perl(Hash::Merge) >= 0.12
|
||||
BuildRequires: perl(List::Util)
|
||||
@ -45,8 +47,10 @@ BuildRequires: perl(Storable)
|
||||
BuildRequires: perl(Test::Exception) >= 0.31
|
||||
BuildRequires: perl(Test::More) >= 0.92
|
||||
BuildRequires: perl(Test::Warn)
|
||||
%if !%{defined perl_bootstrap}
|
||||
# Optional tests:
|
||||
BuildRequires: perl(DBIx::Class) >= 0.08124
|
||||
%endif
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(Data::Dumper)
|
||||
Requires: perl(Exporter) >= 5.57
|
||||
@ -95,7 +99,7 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
SQLATEST_TESTER=1 make test
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes
|
||||
@ -110,6 +114,9 @@ SQLATEST_TESTER=1 make test
|
||||
%{_mandir}/man3/DBIx::Class::Storage::Debug::PrettyPrint.3pm*
|
||||
|
||||
%changelog
|
||||
* Thu Feb 05 2015 Petr Pisar <ppisar@redhat.com> - 1.81-3
|
||||
- Skip DBIx::Class tests on boostrap
|
||||
|
||||
* Wed Dec 03 2014 Petr Pisar <ppisar@redhat.com> - 1.81-2
|
||||
- Specify all dependencies (bug #1168882)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user