diff --git a/.cvsignore b/.cvsignore index c4c9a27..5da6155 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -DBI-1.32.tar.gz +DBI-1.37.tar.gz diff --git a/perl-DBI-1.37-prever.patch b/perl-DBI-1.37-prever.patch new file mode 100644 index 0000000..3380d50 --- /dev/null +++ b/perl-DBI-1.37-prever.patch @@ -0,0 +1,16 @@ +This diff is to remove a version check that is causing trouble with +RH's perl 5.8.1 prerelease. Since we mark it as 5.8.0, this confuses +modules that do checks. +--- DBI-1.37/DBI.xs.prever 2003-07-07 08:42:08.000000000 -0400 ++++ DBI-1.37/DBI.xs 2003-07-07 08:42:31.000000000 -0400 +@@ -54,10 +54,6 @@ + #define aTHXo_ + #endif + +-#if (PERL_VERSION < 8) || ((PERL_VERSION == 8) && (PERL_SUBVERSION == 0)) +-#define DBI_save_hv_fetch_ent +-#endif +- + + static imp_xxh_t *dbih_getcom _((SV *h)); + static imp_xxh_t *dbih_getcom2 _((SV *h, MAGIC **mgp)); diff --git a/perl-DBI.spec b/perl-DBI.spec index fb38793..df03227 100644 --- a/perl-DBI.spec +++ b/perl-DBI.spec @@ -2,15 +2,17 @@ Summary: A database access API for perl Name: perl-DBI -Version: 1.32 -Release: 5 +Version: 1.37 +Release: 1 URL: http://dbi.perl.org/ License: Artistic Group: Applications/Databases Source: DBI-%{version}.tar.gz Source2: filter-requires-dbi.sh +Patch0: perl-DBI-1.37-prever.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: perl >= 5.6.1 +BuildRequires: perl-Time-HiRes %description @@ -24,6 +26,7 @@ database interface independent of the actual database being used. %prep %setup -q -n DBI-%{version} +%patch0 -p1 %build CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor @@ -56,6 +59,12 @@ fi %changelog +* Mon Jul 7 2003 Chip Turner 1.37-1 +- upgrade to 1.37 + +* Wed Apr 2 2003 Chip Turner 1.32-6 +- add buildrequires on perl-Time-HiRes + * Tue Feb 18 2003 Chip Turner - update dependency filter to remove dependency on perl(Apache) that - crept in (#82927) diff --git a/sources b/sources index 8b66490..00ef213 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5a6b8fb4433da1a9363a0b2ab1d6f21e DBI-1.32.tar.gz +0113d0f47cf13b0694e0bfb2d13a5789 DBI-1.37.tar.gz