diff --git a/perl-DBIx-Class.spec b/perl-DBIx-Class.spec index 0a0ce3a..36640d0 100644 --- a/perl-DBIx-Class.spec +++ b/perl-DBIx-Class.spec @@ -2,7 +2,7 @@ Name: perl-DBIx-Class Version: 0.08102 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Extensible and flexible object <-> relational mapper License: GPL+ or Artistic Group: Development/Libraries @@ -53,7 +53,15 @@ BuildRequires: perl(SQL::Translator) BuildRequires: perl(DateTime) BuildRequires: perl(DateTime::Format::Oracle) BuildRequires: perl(DBIx::ContextualFetch) - +# optional tests as of 0.08102 +BuildRequires: perl(Clone) +BuildRequires: perl(Time::Piece) +BuildRequires: perl(Time::Piece::MySQL) +# .. the following are also needed as a requires for replicated dbd support +BuildRequires: perl(MooseX::AttributeHelpers) >= 0.12 +BuildRequires: perl(Class::MOP) >= 0.63 +BuildRequires: perl(Moose) >= 0.54 +BuildRequires: perl(Moose::Util::TypeConstraints) >= 0.54 # not picked up... Requires: perl(Class::Accessor::Grouped) >= 0.05002 @@ -128,6 +136,10 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %check # note this test suite is noisy! +export DBICTEST_THREAD_STRESS=1 +export DBICTEST_FORK_STRESS=1 +export DBICTEST_STORAGE_STRESS=1 +export DATA_DUMPER_TEST=1 make test %clean @@ -142,6 +154,9 @@ rm -rf %{buildroot} %changelog +* Sun May 24 2009 Chris Weyl 0.08102-2 +- additional BR's for optional tests + * Sun May 24 2009 Chris Weyl 0.08102-1 - drop verbose.patch: largely supersceded - auto-update to 0.08102 (by cpan-spec-update 0.01)