Specify all dependencies

This commit is contained in:
Petr Písař 2014-12-03 18:13:06 +01:00
parent 96bd55bb81
commit 4ab1d94b7b

View File

@ -1,35 +1,70 @@
Name: perl-SQL-Abstract Name: perl-SQL-Abstract
Version: 1.81 Version: 1.81
Release: 1%{?dist} Release: 2%{?dist}
Summary: Generate SQL from Perl data structures Summary: Generate SQL from Perl data structures
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/SQL-Abstract URL: http://search.cpan.org/dist/SQL-Abstract
Source0: http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/SQL-Abstract-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/SQL-Abstract-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(Class::Accessor::Grouped) >= 0.10005 BuildRequires: perl
BuildRequires: perl(Clone) >= 0.31 BuildRequires: perl(inc::Module::Install) >= 1.06
BuildRequires: perl(Module::Install::Makefile)
BuildRequires: perl(Module::Install::Metadata)
BuildRequires: perl(Module::Install::WriteAll)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(Data::Dumper) BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Exporter) >= 5.57 # DBIx::Class::Storage::Statistic used only with optional tests
BuildRequires: perl(MRO::Compat) >= 0.12 BuildRequires: perl(DBIx::Class::Storage::Statistics)
BuildRequires: perl(Moo) >= 1.004002 BuildRequires: perl(Exporter) >= 5.57
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(Getopt::Long::Descriptive) >= 0.091
BuildRequires: perl(Hash::Merge) >= 0.12 BuildRequires: perl(Hash::Merge) >= 0.12
BuildRequires: perl(List::Util) BuildRequires: perl(List::Util)
BuildRequires: perl(Method::Generate::Accessor)
BuildRequires: perl(Method::Generate::Constructor)
BuildRequires: perl(Moo) >= 1.004002
BuildRequires: perl(Moo::Object)
BuildRequires: perl(mro)
# MRO::Compat 0.12 not needed since perl 5.9
BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Text::Balanced) >= 2.00 BuildRequires: perl(Sub::Defer)
BuildRequires: perl(Sub::Quote)
BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::Builder::Module)
BuildRequires: perl(Test::Deep) >= 0.101 BuildRequires: perl(Test::Deep) >= 0.101
BuildRequires: perl(Text::Balanced) >= 2.00
# Optional run-time:
# Term::ANSIColor not usefull for tests
# Tests:
BuildRequires: perl(overload)
BuildRequires: perl(Storable)
BuildRequires: perl(Test::Exception) >= 0.31 BuildRequires: perl(Test::Exception) >= 0.31
BuildRequires: perl(Test::Warn)
BuildRequires: perl(Test::More) >= 0.92 BuildRequires: perl(Test::More) >= 0.92
BuildRequires: perl(Test::Warn)
# Optional tests:
BuildRequires: perl(DBIx::Class) >= 0.08124
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(Class::Accessor::Grouped) >= 0.10005 Requires: perl(Data::Dumper)
Requires: perl(Getopt::Long::Descriptive) >= 0.091 Requires: perl(Exporter) >= 5.57
Requires: perl(Hash::Merge) >= 0.12 Requires: perl(Hash::Merge) >= 0.12
Requires: perl(Method::Generate::Accessor)
Requires: perl(Method::Generate::Constructor)
Requires: perl(Moo) >= 1.004002
Requires: perl(Moo::Object)
Requires: perl(mro)
# MRO::Compat 0.12 not needed since perl 5.9
Requires: perl(Sub::Defer)
Requires: perl(Sub::Quote)
Requires: perl(Test::Deep) >= 0.101
Requires: perl(Text::Balanced) >= 2.00
%{?perl_default_filter} %{?perl_default_filter}
# Remove under-speciefed dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Exporter|Test::Deep)\\)$
%description %description
%{summary}. %{summary}.
@ -38,12 +73,17 @@ Requires: perl(Hash::Merge) >= 0.12
Summary: Pretty Printing DebugObj Summary: Pretty Printing DebugObj
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
# Optional run-time:
# Term::ANSIColor
%description -n perl-DBIx-Class-Storage-Debug-PrettyPrint %description -n perl-DBIx-Class-Storage-Debug-PrettyPrint
%{summary}. %{summary}.
%prep %prep
%setup -q -n SQL-Abstract-%{version} %setup -q -n SQL-Abstract-%{version}
# Remove bundled modules
rm -r ./inc
sed -i -e '/^inc\//d' MANIFEST
%build %build
PERL5_CPANPLUS_IS_RUNNING=1 %{__perl} Makefile.PL INSTALLDIRS=vendor PERL5_CPANPLUS_IS_RUNNING=1 %{__perl} Makefile.PL INSTALLDIRS=vendor
@ -70,6 +110,9 @@ SQLATEST_TESTER=1 make test
%{_mandir}/man3/DBIx::Class::Storage::Debug::PrettyPrint.3pm* %{_mandir}/man3/DBIx::Class::Storage::Debug::PrettyPrint.3pm*
%changelog %changelog
* Wed Dec 03 2014 Petr Pisar <ppisar@redhat.com> - 1.81-2
- Specify all dependencies (bug #1168882)
* Mon Nov 24 2014 Tom Callaway <spot@fedoraproject.org> - 1.81-1 * Mon Nov 24 2014 Tom Callaway <spot@fedoraproject.org> - 1.81-1
- update to 1.81 - update to 1.81