diff --git a/find_optional_deps b/find_optional_deps index 74e31f6..b4c1ec3 100755 --- a/find_optional_deps +++ b/find_optional_deps @@ -15,13 +15,15 @@ use lib "$ARGV[0]/lib"; use DBIx::Class::Optional::Dependencies; # for use starting with DBIC 0.08120 -#my %reqs = -# %{ DBIx::Class::Optional::Dependencies::_all_optional_requirements() }; -# +my %reqs = + %{ DBIx::Class::Optional::Dependencies::_all_optional_requirements() }; + # output our found deps :) -#say '# from DBIx::Class::Optional::Dependencies'; -#say "BuildRequires: perl($_)" . ($reqs{$_} ? " >= $reqs{$_}" : q{}) -# for sort keys %reqs; +say '# from DBIx::Class::Optional::Dependencies'; +say "BuildRequires: perl($_)" . ($reqs{$_} ? " >= $reqs{$_}" : q{}) + for sort keys %reqs; + +exit; my @groups = qw{ core cdbicompat deploy admin replicated }; diff --git a/perl-DBIx-Class.spec b/perl-DBIx-Class.spec index c323d35..ce5d0a2 100644 --- a/perl-DBIx-Class.spec +++ b/perl-DBIx-Class.spec @@ -1,7 +1,7 @@ Name: perl-DBIx-Class Summary: Extensible and flexible object <-> relational mapper -Version: 0.08119 -Release: 3%{?dist} +Version: 0.08120 +Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/DBIx-Class-%{version}.tar.gz @@ -19,6 +19,7 @@ BuildRequires: perl(Class::Inspector) >= 1.24 BuildRequires: perl(Class::MOP) >= 0.63 BuildRequires: perl(Class::Trigger) BuildRequires: perl(Clone) +BuildRequires: perl(Context::Preserve) >= 0.01 BuildRequires: perl(CPAN) BuildRequires: perl(Data::Dumper::Concise) >= 1.000 BuildRequires: perl(Data::Page) >= 2.00 @@ -30,24 +31,21 @@ BuildRequires: perl(DBI) >= 1.609 BuildRequires: perl(DBIx::ContextualFetch) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(File::Temp) >= 0.22 -BuildRequires: perl(List::Util) >= 1.19 BuildRequires: perl(Module::Find) >= 0.06 -BuildRequires: perl(Moose) >= 0.54 +BuildRequires: perl(Moose) >= 0.98 BuildRequires: perl(Moose::Util::TypeConstraints) >= 0.54 BuildRequires: perl(MooseX::AttributeHelpers) >= 0.12 BuildRequires: perl(MRO::Compat) >= 0.09 BuildRequires: perl(Path::Class) >= 0.18 -BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scope::Guard) >= 0.03 BuildRequires: perl(SQL::Abstract) >= 1.61 BuildRequires: perl(SQL::Abstract::Limit) >= 0.13 -BuildRequires: perl(SQL::Translator) -BuildRequires: perl(Storable) +BuildRequires: perl(SQL::Translator) >= 0.11002 BuildRequires: perl(Sub::Name) >= 0.04 BuildRequires: perl(Test::Builder) >= 0.33 -BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::Memory::Cycle) +BuildRequires: perl(Test::Moose) BuildRequires: perl(Test::More) >= 0.92 BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) @@ -60,56 +58,56 @@ Requires: perl(Carp::Clan) >= 6.0 Requires: perl(Class::Accessor::Grouped) >= 0.09002 Requires: perl(Class::C3::Componentised) >= 1.0005 Requires: perl(Class::Inspector) >= 1.24 +Requires: perl(Context::Preserve) >= 0.01 Requires: perl(Data::Dumper::Concise) >= 1.000 Requires: perl(Data::Page) >= 2.00 Requires: perl(DBI) >= 1.609 -Requires: perl(List::Util) >= 1.19 Requires: perl(Module::Find) >= 0.06 Requires: perl(MRO::Compat) >= 0.09 Requires: perl(Path::Class) >= 0.18 -Requires: perl(Scalar::Util) Requires: perl(Scope::Guard) >= 0.03 Requires: perl(SQL::Abstract) >= 1.61 Requires: perl(SQL::Abstract::Limit) >= 0.13 -Requires: perl(Storable) Requires: perl(Sub::Name) >= 0.04 ### Additional generated deps. These deps are regenerated from scratch every ### time this spec file is updated. -# optional deps for group: core -BuildRequires: perl(DateTime::Format::SQLite) -BuildRequires: perl(DateTime::Format::Strptime) -BuildRequires: perl(Devel::Cycle) >= 1.10 -BuildRequires: perl(Test::Memory::Cycle) -# optional deps for group: cdbicompat +# from DBIx::Class::Optional::Dependencies BuildRequires: perl(Class::DBI::Plugin::DeepAbstractSearch) BuildRequires: perl(Class::Trigger) BuildRequires: perl(Clone) BuildRequires: perl(DBIx::ContextualFetch) BuildRequires: perl(Date::Simple) >= 3.03 -BuildRequires: perl(Time::Piece::MySQL) -# optional deps for group: deploy -BuildRequires: perl(SQL::Translator) >= 0.11002 -# optional deps for group: admin +BuildRequires: perl(DateTime::Format::MySQL) +BuildRequires: perl(DateTime::Format::Pg) +BuildRequires: perl(DateTime::Format::SQLite) +BuildRequires: perl(DateTime::Format::Strptime) +BuildRequires: perl(Devel::Cycle) >= 1.10 +BuildRequires: perl(Getopt::Long::Descriptive) >= 0.081 +BuildRequires: perl(Hash::Merge) >= 0.12 BuildRequires: perl(JSON::Any) >= 1.22 BuildRequires: perl(Moose) >= 0.98 BuildRequires: perl(MooseX::Types) >= 0.21 BuildRequires: perl(MooseX::Types::JSON) >= 0.02 BuildRequires: perl(MooseX::Types::Path::Class) >= 0.05 +BuildRequires: perl(Pod::Coverage) >= 0.20 +BuildRequires: perl(SQL::Translator) >= 0.11005 +BuildRequires: perl(Test::Memory::Cycle) +BuildRequires: perl(Test::Pod) >= 1.41 +BuildRequires: perl(Test::Pod::Coverage) >= 1.08 +BuildRequires: perl(Text::CSV) >= 1.16 +BuildRequires: perl(Time::Piece::MySQL) BuildRequires: perl(namespace::autoclean) >= 0.09 -BuildRequires: perl(ok) -# optional deps for group: replicated -BuildRequires: perl(Hash::Merge) >= 0.11 -BuildRequires: perl(Moose) >= 0.98 -BuildRequires: perl(MooseX::Types) >= 0.21 BuildRequires: perl(namespace::clean) >= 0.11 -# the package intentionally hides some package declarations -# from automatic parser; avoid requiring any of these: - +%{?filter_from_requires: %filter_from_requires /^perl(DBD::Pg)$/d } %{?perl_default_filter: -%filter_from_requires /^perl(DBIx::Class::\(Admin\|CDBICompat\|ClassResolver\|Storage\)/d -%filter_from_requires /^perl(DBD::Pg)/d +%filter_provides_in %{perl_vendorlib}/DBIx/Class/Admin +%filter_provides_in %{perl_vendorlib}/DBIx/Class/CDBICompat +%filter_provides_in %{perl_vendorlib}/DBIx/Class/PK/Auto +%filter_provides_in %{perl_vendorlib}/DBIx/Class/SQLAHacks +%filter_from_provides /^perl(DBIx::Class::SQLAHacks)/d +%filter_from_provides /^perl(DBIx::Class::Storage::DBIHacks)/d %perl_default_filter } %{?perl_default_subpackage_tests} @@ -171,6 +169,17 @@ rm -rf %{buildroot} %changelog +* Sat Mar 06 2010 Chris Weyl 0.08120-1 +- update by Fedora::App::MaintainerTools 0.004 +- updating to latest GA CPAN version (0.08120) +- added a new br on perl(Context::Preserve) (version 0.01) +- added manual BR on perl(Test::Moose) +- added a new req on perl(Context::Preserve) (version 0.01) +- dropped old requires on perl(List::Util) +- dropped old requires on perl(Scalar::Util) +- dropped old requires on perl(Storable) +- additional deps script run; 27 deps found + * Fri Mar 5 2010 Stepan Kasal 0.08119-3 - filter also requires for "hidden" package declarations diff --git a/sources b/sources index 39c2feb..fb97599 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8159c0841f9d21fbec368d038c1fdf65 DBIx-Class-0.08119.tar.gz +ebed5ed315618e783ac048767aed90a5 DBIx-Class-0.08120.tar.gz