|
|
|
@ -1,135 +1,253 @@
|
|
|
|
|
Name: perl-DBIx-Class
|
|
|
|
|
Summary: Extensible and flexible object <-> relational mapper
|
|
|
|
|
Version: 0.08250
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Version: 0.082810
|
|
|
|
|
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
|
|
|
|
|
# Adapt to new sqlite-3.8.2 exception messages, bug #1085336, CPAN RT#91947,
|
|
|
|
|
# in upstream version 0.08260
|
|
|
|
|
Patch0: DBIx-Class-0.08250-SQLite-changed-their-exception-text-again.patch
|
|
|
|
|
# Adapt to changes in SQL-Abstract-1.77, bug #1099741, CPAN RT#92331,
|
|
|
|
|
# in upstream version 0.08260
|
|
|
|
|
Patch1: DBIx-Class-0.08250-Fix-ridiculous-regex-anchor-mistake-from-66137dffe.patch
|
|
|
|
|
# Fix ::Ordered in combination with delete_all visible with sqlite 3.8.5,
|
|
|
|
|
# bug #1110272, CPAN RT#96499
|
|
|
|
|
Patch2: DBIx-Class-0.08270-Fix-Ordered-in-combination-with-delete_all.patch
|
|
|
|
|
URL: http://search.cpan.org/dist/DBIx-Class/
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(Class::Accessor::Grouped) >= 0.10010
|
|
|
|
|
BuildRequires: perl(Class::C3::Componentised) >= 1.0009
|
|
|
|
|
BuildRequires: perl(Class::Inspector) >= 1.24
|
|
|
|
|
BuildRequires: perl(Class::ISA)
|
|
|
|
|
BuildRequires: perl(Config::Any) >= 0.20
|
|
|
|
|
BuildRequires: perl(Context::Preserve) >= 0.01
|
|
|
|
|
# Build
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
BuildRequires: perl(CPAN)
|
|
|
|
|
BuildRequires: perl(Data::Compare) >= 1.22
|
|
|
|
|
BuildRequires: perl(Data::Dumper::Concise) >= 2.020
|
|
|
|
|
BuildRequires: perl(Data::Page) >= 2.00
|
|
|
|
|
BuildRequires: perl(DBD::SQLite) >= 1.29
|
|
|
|
|
BuildRequires: perl(DBI) >= 1.609
|
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
BuildRequires: perl(ExtUtils::MM_Unix)
|
|
|
|
|
BuildRequires: perl(Fcntl)
|
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Runtime
|
|
|
|
|
BuildRequires: perl(B)
|
|
|
|
|
BuildRequires: perl(B::Deparse)
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Class::Accessor::Grouped)
|
|
|
|
|
BuildRequires: perl(Class::C3::Componentised)
|
|
|
|
|
BuildRequires: perl(Class::Data::Inheritable)
|
|
|
|
|
BuildRequires: perl(Class::Inspector)
|
|
|
|
|
BuildRequires: perl(Class::Trigger)
|
|
|
|
|
BuildRequires: perl(Clone)
|
|
|
|
|
BuildRequires: perl(Config::Any)
|
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
|
BuildRequires: perl(Context::Preserve)
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
|
BuildRequires: perl(Data::Dumper::Concise)
|
|
|
|
|
BuildRequires: perl(Data::Page)
|
|
|
|
|
BuildRequires: perl(DateTime::Format::Strptime) >= 1.2
|
|
|
|
|
BuildRequires: perl(DBI)
|
|
|
|
|
BuildRequires: perl(DBI::Const::GetInfoReturn)
|
|
|
|
|
BuildRequires: perl(DBI::Const::GetInfoType)
|
|
|
|
|
%if !0%{?perl_bootstrap}
|
|
|
|
|
BuildRequires: perl(DBIx::Class::Storage::Debug::PrettyPrint)
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: perl(Devel::GlobalDestruction) >= 0.09
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
|
|
|
|
BuildRequires: perl(File::Spec) >= 3.30
|
|
|
|
|
BuildRequires: perl(File::Temp) >= 0.22
|
|
|
|
|
BuildRequires: perl(Math::Base36) >= 0.07
|
|
|
|
|
BuildRequires: perl(Math::BigInt) >= 1.89
|
|
|
|
|
BuildRequires: perl(Module::Find) >= 0.07
|
|
|
|
|
BuildRequires: perl(Moo) >= 1.000006
|
|
|
|
|
BuildRequires: perl(MRO::Compat) >= 0.12
|
|
|
|
|
BuildRequires: perl(Package::Stash) >= 0.28
|
|
|
|
|
BuildRequires: perl(Path::Class) >= 0.18
|
|
|
|
|
BuildRequires: perl(Scope::Guard) >= 0.03
|
|
|
|
|
BuildRequires: perl(SQL::Abstract) >= 1.77
|
|
|
|
|
BuildRequires: perl(strictures) >= 1.003001
|
|
|
|
|
BuildRequires: perl(Sub::Name) >= 0.04
|
|
|
|
|
BuildRequires: perl(Test::Builder) >= 0.94
|
|
|
|
|
BuildRequires: perl(Test::Deep) >= 0.101
|
|
|
|
|
BuildRequires: perl(Test::Exception) >= 0.31
|
|
|
|
|
BuildRequires: perl(Test::Moose)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.94
|
|
|
|
|
BuildRequires: perl(Test::Warn) >= 0.21
|
|
|
|
|
BuildRequires: perl(Text::Balanced) >= 2.00
|
|
|
|
|
BuildRequires: perl(Text::CSV_XS)
|
|
|
|
|
BuildRequires: perl(Try::Tiny) >= 0.07
|
|
|
|
|
|
|
|
|
|
Requires: perl(Class::Accessor::Grouped) >= 0.10007
|
|
|
|
|
Requires: perl(Class::C3::Componentised) >= 1.0009
|
|
|
|
|
Requires: perl(Class::Inspector) >= 1.24
|
|
|
|
|
Requires: perl(Config::Any) >= 0.20
|
|
|
|
|
Requires: perl(Context::Preserve) >= 0.01
|
|
|
|
|
Requires: perl(Data::Compare) >= 1.22
|
|
|
|
|
Requires: perl(Data::Dumper::Concise) >= 2.020
|
|
|
|
|
Requires: perl(Data::Page) >= 2.00
|
|
|
|
|
Requires: perl(DBI) >= 1.609
|
|
|
|
|
Requires: perl(Module::Find) >= 0.06
|
|
|
|
|
Requires: perl(MRO::Compat) >= 0.09
|
|
|
|
|
Requires: perl(Path::Class) >= 0.18
|
|
|
|
|
Requires: perl(Scope::Guard) >= 0.03
|
|
|
|
|
Requires: perl(SQL::Abstract) >= 1.77
|
|
|
|
|
Requires: perl(Sub::Name) >= 0.04
|
|
|
|
|
|
|
|
|
|
### Additional generated deps. These deps are regenerated from scratch every
|
|
|
|
|
### time this spec file is updated.
|
|
|
|
|
# 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(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(Devel::GlobalDestruction)
|
|
|
|
|
BuildRequires: perl(Digest::MD5)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(File::Copy)
|
|
|
|
|
BuildRequires: perl(Getopt::Long::Descriptive) >= 0.081
|
|
|
|
|
BuildRequires: perl(Hash::Merge) >= 0.12
|
|
|
|
|
BuildRequires: perl(JSON::Any) >= 1.22
|
|
|
|
|
BuildRequires: perl(Getopt::Long::Descriptive::Usage)
|
|
|
|
|
BuildRequires: perl(Hash::Merge)
|
|
|
|
|
BuildRequires: perl(IO::Handle)
|
|
|
|
|
BuildRequires: perl(JSON::Any) >= 1.23
|
|
|
|
|
BuildRequires: perl(List::Util)
|
|
|
|
|
BuildRequires: perl(Math::Base36) >= 0.07
|
|
|
|
|
BuildRequires: perl(Math::BigInt) >= 1.80
|
|
|
|
|
BuildRequires: perl(Method::Generate::Accessor)
|
|
|
|
|
BuildRequires: perl(Method::Generate::Constructor)
|
|
|
|
|
BuildRequires: perl(Module::Find)
|
|
|
|
|
BuildRequires: perl(Moo)
|
|
|
|
|
BuildRequires: perl(Moo::Object)
|
|
|
|
|
BuildRequires: perl(Moose) >= 0.98
|
|
|
|
|
BuildRequires: perl(Moose::Role)
|
|
|
|
|
BuildRequires: perl(MooseX::Types) >= 0.21
|
|
|
|
|
BuildRequires: perl(MooseX::Types::JSON) >= 0.02
|
|
|
|
|
BuildRequires: perl(MooseX::Types::LoadableClass) > 0.011
|
|
|
|
|
BuildRequires: perl(MooseX::Types::Moose)
|
|
|
|
|
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(mro)
|
|
|
|
|
BuildRequires: perl(namespace::clean)
|
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
|
BuildRequires: perl(Path::Class)
|
|
|
|
|
BuildRequires: perl(POSIX)
|
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
|
BuildRequires: perl(Scope::Guard)
|
|
|
|
|
BuildRequires: perl(SQL::Abstract)
|
|
|
|
|
BuildRequires: perl(SQL::Translator::Diff)
|
|
|
|
|
BuildRequires: perl(SQL::Translator::Schema::Constants)
|
|
|
|
|
BuildRequires: perl(SQL::Translator::Utils)
|
|
|
|
|
BuildRequires: perl(Storable)
|
|
|
|
|
BuildRequires: perl(Sub::Defer)
|
|
|
|
|
BuildRequires: perl(Sub::Name)
|
|
|
|
|
BuildRequires: perl(Sub::Quote)
|
|
|
|
|
BuildRequires: perl(Text::Balanced)
|
|
|
|
|
BuildRequires: perl(Time::HiRes)
|
|
|
|
|
BuildRequires: perl(Try::Tiny)
|
|
|
|
|
# Tests only
|
|
|
|
|
BuildRequires: perl(Benchmark)
|
|
|
|
|
BuildRequires: perl(Class::Accessor::Fast)
|
|
|
|
|
BuildRequires: perl(Class::DBI)
|
|
|
|
|
BuildRequires: perl(Class::DBI::Column)
|
|
|
|
|
BuildRequires: perl(Class::DBI::Plugin::DeepAbstractSearch)
|
|
|
|
|
BuildRequires: perl(Class::Unload)
|
|
|
|
|
BuildRequires: perl(Cpanel::JSON::XS)
|
|
|
|
|
BuildRequires: perl(Data::GUID)
|
|
|
|
|
BuildRequires: perl(Date::Simple)
|
|
|
|
|
BuildRequires: perl(DateTime)
|
|
|
|
|
BuildRequires: perl(DateTime::Format::MySQL)
|
|
|
|
|
BuildRequires: perl(DateTime::Format::Pg)
|
|
|
|
|
BuildRequires: perl(DateTime::Format::SQLite)
|
|
|
|
|
BuildRequires: perl(DBD::Pg)
|
|
|
|
|
BuildRequires: perl(DBD::SQLite)
|
|
|
|
|
BuildRequires: perl(Devel::FindRef)
|
|
|
|
|
BuildRequires: perl(Errno)
|
|
|
|
|
BuildRequires: perl(File::Compare)
|
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
|
BuildRequires: perl(FileHandle)
|
|
|
|
|
BuildRequires: perl(FindBin)
|
|
|
|
|
BuildRequires: perl(IPC::Open2)
|
|
|
|
|
BuildRequires: perl(JSON)
|
|
|
|
|
#BuildRequires: perl(JSON::DWIW)
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(Module::Runtime)
|
|
|
|
|
BuildRequires: perl(Moose::Util)
|
|
|
|
|
BuildRequires: perl(Package::Stash)
|
|
|
|
|
BuildRequires: perl(Path::Class::File)
|
|
|
|
|
BuildRequires: perl(SQL::Abstract::Test)
|
|
|
|
|
BuildRequires: perl(SQL::Translator) >= 0.11018
|
|
|
|
|
BuildRequires: perl(Test::Builder)
|
|
|
|
|
BuildRequires: perl(Test::Deep)
|
|
|
|
|
BuildRequires: perl(Test::Differences)
|
|
|
|
|
BuildRequires: perl(Test::Exception)
|
|
|
|
|
BuildRequires: perl(Test::Moose)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Test::Warn)
|
|
|
|
|
BuildRequires: perl(Text::CSV) >= 1.16
|
|
|
|
|
BuildRequires: perl(threads)
|
|
|
|
|
BuildRequires: perl(Time::Piece)
|
|
|
|
|
BuildRequires: perl(Time::Piece::MySQL)
|
|
|
|
|
BuildRequires: perl(namespace::autoclean) >= 0.09
|
|
|
|
|
BuildRequires: perl(namespace::clean) >= 0.24
|
|
|
|
|
|
|
|
|
|
# obsolete/provide old tests subpackage
|
|
|
|
|
# can be removed during F19 development cycle
|
|
|
|
|
Obsoletes: %{name}-tests < 0.08196-2
|
|
|
|
|
Provides: %{name}-tests = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(YAML)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
Requires: perl(B)
|
|
|
|
|
Requires: perl(B::Deparse)
|
|
|
|
|
Requires: perl(Config::Any)
|
|
|
|
|
Requires: perl(Data::Dumper)
|
|
|
|
|
Requires: perl(Data::Dumper::Concise)
|
|
|
|
|
Requires: perl(DateTime::Format::Strptime) >= 1.2
|
|
|
|
|
Requires: perl(DBI::Const::GetInfoReturn)
|
|
|
|
|
Requires: perl(DBI::Const::GetInfoType)
|
|
|
|
|
Requires: perl(Digest::MD5)
|
|
|
|
|
Requires: perl(File::Spec)
|
|
|
|
|
Requires: perl(Getopt::Long::Descriptive) >= 0.081
|
|
|
|
|
Requires: perl(JSON::Any) >= 1.23
|
|
|
|
|
Requires: perl(Math::Base36) >= 0.07
|
|
|
|
|
Requires: perl(Math::BigInt) >= 1.80
|
|
|
|
|
Requires: perl(Method::Generate::Accessor)
|
|
|
|
|
Requires: perl(Method::Generate::Constructor)
|
|
|
|
|
Requires: perl(Module::Find)
|
|
|
|
|
Requires: perl(Moo)
|
|
|
|
|
Requires: perl(Moo::Object)
|
|
|
|
|
Requires: perl(Moose) >= 0.98
|
|
|
|
|
Requires: perl(MooseX::Types) >= 0.21
|
|
|
|
|
Requires: perl(MooseX::Types::JSON) >= 0.02
|
|
|
|
|
Requires: perl(MooseX::Types::LoadableClass) > 0.011
|
|
|
|
|
Requires: perl(MooseX::Types::Path::Class) >= 0.05
|
|
|
|
|
Requires: perl(POSIX)
|
|
|
|
|
Requires: perl(SQL::Translator::Diff)
|
|
|
|
|
Requires: perl(Sub::Defer)
|
|
|
|
|
Requires: perl(Sub::Quote)
|
|
|
|
|
Requires: perl(Text::Balanced)
|
|
|
|
|
# hidden from PAUSE
|
|
|
|
|
Provides: perl(DBIx::Class::ResultSource::RowParser) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::ResultSource::RowParser::Util) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Admin::Descriptive) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Admin::Types) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Admin::Usage) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Carp) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::AccessorMapping) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::AttributeAPI) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::AutoUpdate) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::ColumnCase) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::ColumnGroups::GrouperShim) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::ColumnGroups) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::Constraints) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::Constructor) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::Copy) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::DestroyWarning) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::GetSet) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::ImaDBI) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::LazyLoading) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::LiveObjectIndex) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::NoObjectIndex) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::Pager) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::ReadOnly) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::Relationships) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::Retrieve) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::Stringify) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::TempColumns) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::CDBICompat::Triggers) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::ClassResolver::PassThrough) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Componentised) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::_ENV_) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::PK::Auto::DB2) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::PK::Auto::MSSQL) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::PK::Auto::MySQL) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::PK::Auto::Oracle) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::PK::Auto::Pg) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::PK::Auto::SQLite) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Relationship::Accessor) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Relationship::BelongsTo) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Relationship::CascadeActions) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Relationship::HasMany) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Relationship::HasOne) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Relationship::Helpers) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Relationship::ManyToMany) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Relationship::ProxyMethods) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::ResultSet::Pager) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::ResultSetProxy) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::ResultSourceProxy) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::ResultSource::RowParser::Util) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::ResultSource::RowParser) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::SQLAHacks::MSSQL) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::SQLAHacks::MySQL) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::SQLAHacks::OracleJoins) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::SQLAHacks::Oracle) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::SQLAHacks::SQLite) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::SQLAHacks) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::SQLMaker::ACCESS) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::SQLMaker::MSSQL) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::SQLMaker::MySQL) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::SQLMaker::Oracle) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::SQLMaker::SQLite) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Storage::BlockRunner) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Storage::DBI::ADO::CursorUtils) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Storage::DBI::ADO::Microsoft_SQL_Server::DateTime::Format) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Storage::DBI::ADO::MS_Jet::DateTime::Format) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Storage::DBIHacks) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Storage::DBI::Informix::DateTime::Format) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Storage::DBI::InterBase::DateTime::Format) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Storage::DBI::MSSQL::DateTime::Format) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Storage::DBI::ODBC::ACCESS::DateTime::Format) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Storage::DBI::Replicated::Types) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Storage::NESTED_ROLLBACK_EXCEPTION) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::_Util) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::VersionCompat) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Version::TableCompat) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Version::Table) = %{version}
|
|
|
|
|
Provides: perl(DBIx::Class::Version) = %{version}
|
|
|
|
|
|
|
|
|
|
%?perl_default_filter
|
|
|
|
|
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(DBD::Pg\\)$
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(DBD::Pg\\)$
|
|
|
|
|
%global __requires_exclude %__requires_exclude|perl\\(DBIx::Class::(Admin|CDBICompat|ClassResolver|Storage|Componentised|ResultSourceProxy)
|
|
|
|
|
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{perl_vendorlib}/DBIx/Class/Admin
|
|
|
|
|
%global __requires_exclude_from %{?__requires_exclude_from:%__requires_exclude_from|}%{perl_vendorlib}/DBIx/Class/Admin
|
|
|
|
|
%global __provides_exclude_from %__provides_exclude_from|%{perl_vendorlib}/DBIx/Class/CDBICompat
|
|
|
|
|
%global __requires_exclude_from %__provides_exclude_from|%{perl_vendorlib}/DBIx/Class/CDBICompat
|
|
|
|
|
%global __provides_exclude_from %__provides_exclude_from|%{perl_vendorlib}/DBIx/Class/PK/Auto
|
|
|
|
|
%global __requires_exclude_from %__provides_exclude_from|%{perl_vendorlib}/DBIx/Class/PK/Auto
|
|
|
|
|
%global __provides_exclude_from %__provides_exclude_from|%{perl_vendorlib}/DBIx/Class/SQLAHacks
|
|
|
|
|
%global __requires_exclude_from %__provides_exclude_from|%{perl_vendorlib}/DBIx/Class/SQLAHacks
|
|
|
|
|
%global __provides_exclude %__provides_exclude|perl\\(DBIx::Class::_Util\\)
|
|
|
|
|
%global __requires_exclude %__requires_exclude|perl\\(DBIx::Class::_Util\\)
|
|
|
|
|
%global __provides_exclude %__provides_exclude|perl\\(DBIx::Class::Storage::DBIHacks\\)
|
|
|
|
|
%global __requires_exclude %__requires_exclude|perl\\(DBIx::Class::Storage::DBIHacks\\)
|
|
|
|
|
%global __provides_exclude %__provides_exclude|perl\\(DBIx::Class::SQLMaker::
|
|
|
|
|
%global __requires_exclude %__requires_exclude|perl\\(DBIx::Class::SQLMaker::
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Getopt::Long::Descriptive\\)$
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(JSON::Any\\)$
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Moose\\)$
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(MooseX::Types\\)$
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(MooseX::Types::JSON\\)$
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(MooseX::Types::LoadableClass\\)$
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(MooseX::Types::Path::Class\\)$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This is an SQL to OO mapper with an object API inspired by Class::DBI
|
|
|
|
@ -143,37 +261,18 @@ DISTINCT, GROUP BY and HAVING support.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n DBIx-Class-%{version}
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
%patch2 -p1
|
|
|
|
|
|
|
|
|
|
find t/ -type f -exec perl -pi -e 's|\r||; s|^#!perl|#!%{__perl}|' {} +
|
|
|
|
|
find . -type f -exec chmod -c -x {} +
|
|
|
|
|
find t/ -type f -name '*.orig' -exec rm -v {} +
|
|
|
|
|
|
|
|
|
|
# utf8 issues
|
|
|
|
|
#for i in `find . -type f` ; do
|
|
|
|
|
# iconv -f iso8859-1 -t UTF-8 $i > foo
|
|
|
|
|
# mv foo $i
|
|
|
|
|
#done
|
|
|
|
|
|
|
|
|
|
chmod -c +x script/*
|
|
|
|
|
|
|
|
|
|
# skip dbic_pretty.t when bootstrapping
|
|
|
|
|
%if 0%{?perl_bootstrap}
|
|
|
|
|
rm t/storage/dbic_pretty.t
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -182,7 +281,6 @@ export DBICTEST_THREAD_STRESS=1
|
|
|
|
|
export DBICTEST_FORK_STRESS=1
|
|
|
|
|
export DBICTEST_STORAGE_STRESS=1
|
|
|
|
|
export DATA_DUMPER_TEST=1
|
|
|
|
|
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
@ -191,8 +289,12 @@ make test
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_mandir}/man[13]/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Dec 05 2014 Petr Šabata <contyk@redhat.com> - 0.082810-1
|
|
|
|
|
- 0.082810 bump
|
|
|
|
|
- Massive dependency lists rewrite
|
|
|
|
|
- Let's be consistent and provide all the hidden modules, not just some
|
|
|
|
|
|
|
|
|
|
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.08250-8
|
|
|
|
|
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|