Author: cweyl Update of /cvs/extras/rpms/perl-DateTime-Format-DBI/devel In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv762 Modified Files: perl-DateTime-Format-DBI.spec Added Files: more_dbds.patch Log Message: * Wed Sep 03 2008 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.031-4 - add the dbd-specific DateTime::Format's as requires. Makes sense that installing this package should have stuff "just work". - patch for additional DBD support (just DB2 at this point) more_dbds.patch: --- NEW FILE more_dbds.patch --- --- lib/DateTime/Format/DBI.pm.orig 2008-09-03 18:02:20.937616172 -0700 +++ lib/DateTime/Format/DBI.pm 2008-09-03 18:11:00.206836977 -0700 @@ -12,8 +12,9 @@ our %db_to_parser = ( # lowercase for case-insensitivity! - 'mysql' => 'DateTime::Format::MySQL', - 'pg' => 'DateTime::Format::Pg', + 'mysql' => 'DateTime::Format::MySQL', + 'pg' => 'DateTime::Format::Pg', + 'db2' => 'DateTime::Format::DB2', ); sub new { Index: perl-DateTime-Format-DBI.spec =================================================================== RCS file: /cvs/extras/rpms/perl-DateTime-Format-DBI/devel/perl-DateTime-Format-DBI.spec,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- perl-DateTime-Format-DBI.spec 24 Jul 2008 23:02:15 -0000 1.2 +++ perl-DateTime-Format-DBI.spec 4 Sep 2008 01:19:46 -0000 1.3 @@ -1,6 +1,6 @@ Name: perl-DateTime-Format-DBI Version: 0.031 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Find a parser class for a database connection License: GPL+ or Artistic Group: Development/Libraries @@ -10,6 +10,9 @@ BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# additional dbd support... +Patch0: more_dbds.patch + BuildRequires: perl(DateTime) >= 0.1 BuildRequires: perl(DBI) >= 1.21 BuildRequires: perl(ExtUtils::MakeMaker) @@ -20,6 +23,12 @@ AutoProv: no Provides: perl(DateTime::Format::DBI) = %{version} +# require the dbd-specific datetime formats, so this "just works" the way we +# expect it to. +Requires: perl(DateTime::Format::MySQL) +Requires: perl(DateTime::Format::Pg) +Requires: perl(DateTime::Format::DB2) + %description This module finds a DateTime::Format::* class that is suitable for the use with a given DBI connection (and DBD::* driver). @@ -30,6 +39,7 @@ %prep %setup -q -n DateTime-Format-DBI-%{version} +%patch0 for i in README lib/DateTime/Format/DBI.pm ; do @@ -65,6 +75,11 @@ %{_mandir}/man3/* %changelog +* Wed Sep 03 2008 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.031-4 +- add the dbd-specific DateTime::Format's as requires. Makes sense that + installing this package should have stuff "just work". +- patch for additional DBD support (just DB2 at this point) + * Thu Jul 24 2008 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.031-3 - bump -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list