commit 64bd1ece4d814b543d85db53d5c1493331f1d80d Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Nov 1 10:36:44 2012 +0100 Specify all dependencies perl-SQL-Statement.spec | 37 ++++++++++++++++++++----------------- 1 files changed, 20 insertions(+), 17 deletions(-) --- diff --git a/perl-SQL-Statement.spec b/perl-SQL-Statement.spec index 9294192..59f54fc 100644 --- a/perl-SQL-Statement.spec +++ b/perl-SQL-Statement.spec @@ -1,30 +1,35 @@ Name: perl-SQL-Statement Version: 1.401 -Release: 1%{?dist} +Release: 2%{?dist} Summary: SQL parsing and processing engine Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/SQL-Statement/ Source0: http://www.cpan.org/authors/id/R/RE/REHSACK/SQL-Statement-%{version}.tar.gz BuildArch: noarch -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) -Requires: perl(DBI) >= 1.612 +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: BuildRequires: perl(base) -BuildRequires: perl(constant) -BuildRequires: perl(lib) BuildRequires: perl(Carp) BuildRequires: perl(Clone) >= 0.30 +BuildRequires: perl(constant) BuildRequires: perl(Data::Dumper) BuildRequires: perl(Encode) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(File::Spec) +BuildRequires: perl(Exporter) BuildRequires: perl(List::Util) BuildRequires: perl(Math::BigFloat) BuildRequires: perl(Math::BigInt) +BuildRequires: perl(Math::Trig) BuildRequires: perl(Params::Util) >= 1.00 BuildRequires: perl(Scalar::Util) BuildRequires: perl(Time::HiRes) -# for tests only: +# Tests: +BuildRequires: perl(Cwd) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) +# Optional test: # DBD::CSV buildrequires SQL::Statement %if 0%{!?perl_bootstrap:1} BuildRequires: perl(DBD::CSV) >= 0.30 @@ -32,16 +37,11 @@ BuildRequires: perl(DBD::CSV) >= 0.30 BuildRequires: perl(DBD::DBM) >= 0.06 BuildRequires: perl(DBD::File) >= 0.40 BuildRequires: perl(DBD::SQLite) -BuildRequires: perl(DBD::XBase) -BuildRequires: perl(DBI::DBD::SqlEngine) >= 0.03 +%if ! (0%{?rhel} >= 7) BuildRequires: perl(MLDBM) -BuildRequires: perl(Test::Simple) >= 0.90 -# For maintainer tests only: -BuildRequires: perl(Test::Pod) >= 1.00 -BuildRequires: perl(Test::Pod::Coverage) >= 1.00 -# Test::Pod::Spelling::CommonMistakes not packaged yet -# Bundle::Test::SQL::Statement not packaged or released yet -#BuildRequires: perl(Test::Pod::Spelling::CommonMistakes) +%endif +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(DBI) >= 1.612 %description The SQL::Statement module implements a pure Perl SQL parsing and execution @@ -75,6 +75,9 @@ make test %{_mandir}/man3/*.3pm* %changelog +* Thu Nov 01 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 1.401-2 +- Specify all dependencies + * Wed Oct 31 2012 Petr Šabata <contyk@xxxxxxxxxx> - 1.401-1 - 1.401 bump (upstream switches to 3-digit minor version) - Drop command macros and modernize spec -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel