@ -1,76 +1,94 @@
Name: perl-DBIx-Class-Schema-Loader
Summary: Dynamic definition of a DBIx::Class::Schema
Version: 0.07033
Release: 5 %{?dist}
Version: 0.07042
Release: 1 %{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/R/RK/RKITOVER /DBIx-Class-Schema-Loader-%{version}.tar.gz
Source0: http://search.cpan.org/CPAN/authors/id/I/IL/ILMARI /DBIx-Class-Schema-Loader-%{version}.tar.gz
URL: http://search.cpan.org/dist/DBIx-Class-Schema-Loader/
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
BuildRequires: perl(Carp::Clan)
BuildRequires: perl(Class::Accessor::Grouped) >= 0.10002
BuildRequires: perl(Class::C3) >= 0.18
BuildRequires: perl(Class::C3::Componentised) >= 1.0008
BuildRequires: perl(Class::Inspector) >= 1.27
BuildRequires: perl(Class::Unload)
BuildRequires: perl(Config::Any)
BuildRequires: perl(Config::General)
BuildRequires: perl(Data::Dump) >= 1.06
BuildRequires: perl(DBD::SQLite) >= 1.29
BuildRequires: perl(DBI) >= 1.56
BuildRequires: perl(DBIx::Class) >= 0.08127
# Build
BuildRequires: perl
BuildRequires: perl(base)
BuildRequires: perl(Config)
BuildRequires: perl(CPAN)
BuildRequires: perl(Cwd)
BuildRequires: perl(DBIx::Class::IntrospectableM2M)
BuildRequires: perl(Digest::MD5) >= 2.36
BuildRequires: perl(Exporter) >= 5.63
BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Path) >= 2.07
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(File::Temp) >= 0.16
BuildRequires: perl(FindBin)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(lib)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Runtime
BuildRequires: perl(Carp)
BuildRequires: perl(Carp::Clan)
BuildRequires: perl(Class::Accessor::Grouped)
BuildRequires: perl(Class::C3::Componentised)
BuildRequires: perl(Class::Inspector)
BuildRequires: perl(Class::Unload)
BuildRequires: perl(Data::Dump)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(DBIx::Class)
BuildRequires: perl(DBIx::Class::Schema)
BuildRequires: perl(Digest::MD5)
BuildRequires: perl(Encode)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Temp)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Hash::Merge)
BuildRequires: perl(inc::Module::Install)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Lingua::EN::Inflect::Number) >= 1.1
BuildRequires: perl(Lingua::EN::Inflect::Phrase) >= 0.02
BuildRequires: perl(Lingua::EN::Tagger) >= 0.2
BuildRequires: perl(Lingua::EN::Inflect::Number)
BuildRequires: perl(Lingua::EN::Inflect::Phrase)
BuildRequires: perl(Lingua::EN::Tagger)
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(Moose) >= 1.12
BuildRequires: perl(MooseX::MarkAsMethods) >= 0.13
BuildRequires: perl(MooseX::NonMoose) >= 0.16
BuildRequires: perl(namespace::autoclean) >= 0.09
BuildRequires: perl(namespace::clean) >= 0.20
BuildRequires: perl(List::Util)
BuildRequires: perl(mro)
BuildRequires: perl(MRO::Compat)
BuildRequires: perl(namespace::clean)
BuildRequires: perl(overload)
BuildRequires: perl(Pod::Usage)
BuildRequires: perl(POSIX)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Scope::Guard)
BuildRequires: perl(String::CamelCase) >= 0.02
BuildRequires: perl(String::ToIdentifier::EN) >= 0.05
BuildRequires: perl(String::CamelCase )
BuildRequires: perl(String::ToIdentifier::EN)
BuildRequires: perl(String::ToIdentifier::EN::Unicode )
BuildRequires: perl(Sub::Name)
BuildRequires: perl(Task::Weaken)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(Test::Warn) >= 0.21
BuildRequires: perl(Text::Balanced)
BuildRequires: perl(Test::More)
BuildRequires: perl(Try::Tiny)
Requires: perl(Class::Accessor::Grouped) >= 0.10002
Requires: perl(Class::C3) >= 0.18
Requires: perl(Class::C3::Componentised) >= 1.0008
Requires: perl(Data::Dump) >= 1.06
Requires: perl(DBIx::Class) >= 0.08127
Requires: perl(Digest::MD5) >= 2.36
Requires: perl(Exporter) >= 5.63
Requires: perl(Lingua::EN::Inflect::Number) >= 1.1
Requires: perl(Lingua::EN::Inflect::Phrase) >= 0.02
Requires: perl(Scope::Guard)
Requires: perl(Text::Balanced)
# Tests only
# Unused BuildRequires: perl(DBD::Interbase)
# Unused BuildRequires: perl(DBD::Interbase::GetInfo)
BuildRequires: perl(DBD::SQLite)
BuildRequires: perl(DBI)
BuildRequires: perl(DBIx::Class::Core)
BuildRequires: perl(DBIx::Class::Optional::Dependencies)
BuildRequires: perl(DBIx::Class::Storage)
# Unused BuildRequires: perl(DBIx::Class::Storage::DBI)
BuildRequires: perl(Devel::Dwarn)
BuildRequires: perl(English)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(IO::File)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Moose::Role)
BuildRequires: perl(Scope::Guard)
BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::Differences)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::Warn)
BuildRequires: perl(utf8)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
# hidden from PAUSE
Provides: perl(DBIx::Class::Schema::Loader::Utils)
# obsolete/provide old tests subpackage
# can be removed during F19 development cycle
Obsoletes: %{name}-tests < 0.07010-5
Provides: %{name}-tests = %{version}-%{release}
%{?perl_default_filter}
@ -81,23 +99,14 @@ and setting up the columns, primary keys, and relationships.
%prep
%setup -q -n DBIx-Class-Schema-Loader-%{version}
mv README README.iconv
iconv -f iso-8859-1 -t utf-8 README.iconv >README
touch -r README.iconv README
rm -f README.iconv
find t -type f -print0 | xargs -0 sed -i '1s,#!.*perl,#!%{__perl},'
%build
%{__ perl} Makefile.PL --skipdeps INSTALLDIRS=vendor
perl Makefile.PL --skip_author_deps INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} +
%{_fixperms} %{buildroot}/*
%check
@ -105,12 +114,19 @@ export SCHEMA_LOADER_TESTS_BACKCOMPAT=1
make test
%files
%doc Changes README t/
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man[13]/*
%{_bindir}/*
%changelog
* Tue Dec 09 2014 Petr Šabata <contyk@redhat.com> - 0.07042-1
- 0.07042 bump
- META.* files list lots of modules with specific versions this
distribution doesn't even touch and the few that match what we really
use require dubious versions; I'm not going to list any unless it proves
to be necessary
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.07033-5
- Perl 5.20 rebuild