浏览代码

modifying package: perl-dbi-5.8.8 20061104 -> 20070108

Ralf S. Engelschall 19 年之前
父节点
当前提交
b594310b3f
共有 2 个文件被更改,包括 19 次插入8 次删除
  1. 17 6
      perl-dbi/perl-dbi.patch
  2. 2 2
      perl-dbi/perl-dbi.spec

+ 17 - 6
perl-dbi/perl-dbi.patch

@@ -1,6 +1,6 @@
 Index: DBD-SQLite-1.13/Makefile.PL
---- DBD-SQLite-1.13/Makefile.PL.orig	2006-09-08 05:45:13.000000000 +0200
-+++ DBD-SQLite-1.13/Makefile.PL	2006-09-19 20:05:27.104172279 +0200
+--- DBD-SQLite-1.13/Makefile.PL.orig	2006-09-08 05:45:13 +0200
++++ DBD-SQLite-1.13/Makefile.PL	2007-01-08 19:32:01 +0100
 @@ -10,34 +10,6 @@
  }
  use Config;
@@ -62,8 +62,8 @@ Index: DBD-SQLite-1.13/Makefile.PL
      'DEFINE'        => "-DNDEBUG=1 -DSQLITE_PTR_SZ=$Config{ptrsize}" .
                         ( ($Config{d_usleep} ||
 Index: DBD-SQLite-1.13/dbdimp.c
---- DBD-SQLite-1.13/dbdimp.c.orig	2006-09-08 06:50:50.000000000 +0200
-+++ DBD-SQLite-1.13/dbdimp.c	2006-09-19 20:03:45.164447005 +0200
+--- DBD-SQLite-1.13/dbdimp.c.orig	2006-09-08 06:50:50 +0200
++++ DBD-SQLite-1.13/dbdimp.c	2007-01-08 19:32:01 +0100
 @@ -394,14 +394,17 @@
      
      sqlite_trace(3, "Execute returned %d cols\n", DBIc_NUM_FIELDS(imp_sth));
@@ -84,8 +84,8 @@ Index: DBD-SQLite-1.13/dbdimp.c
          sqlite3_reset(imp_sth->stmt);
          imp_sth->nrow = sqlite3_changes(imp_dbh->db);
 Index: DBD-SQLite-1.13/dbdimp.h
---- DBD-SQLite-1.13/dbdimp.h.orig	2006-09-08 06:50:50.000000000 +0200
-+++ DBD-SQLite-1.13/dbdimp.h	2006-09-19 20:03:45.164783426 +0200
+--- DBD-SQLite-1.13/dbdimp.h.orig	2006-09-08 06:50:50 +0200
++++ DBD-SQLite-1.13/dbdimp.h	2007-01-08 19:32:01 +0100
 @@ -4,7 +4,7 @@
  #define _DBDIMP_H   1
  
@@ -95,3 +95,14 @@ Index: DBD-SQLite-1.13/dbdimp.h
  
  /* 30 second timeout by default */
  #define SQL_TIMEOUT 30000
+Index: DBD-mysql-4.001/dbdimp.h
+--- DBD-mysql-4.001/dbdimp.h.orig	2007-01-06 20:00:08 +0100
++++ DBD-mysql-4.001/dbdimp.h	2007-01-08 19:32:01 +0100
+@@ -19,6 +19,7 @@
+  *  Header files we use
+  */
+ #include <DBIXS.h>  /* installed by the DBI module                        */
++#include <my_global.h>
+ #include <mysql.h>  /* Comes with MySQL-devel */
+ #include <mysqld_error.h>  /* Comes MySQL */
+ #include <errmsg.h> /* Comes with MySQL-devel */

+ 2 - 2
perl-dbi/perl-dbi.spec

@@ -35,7 +35,7 @@
 %define       V_dbd_csv         0.22
 %define       V_dbd_sprite      0.59
 %define       V_dbd_sqlite      1.13
-%define       V_dbd_mysql       3.0008
+%define       V_dbd_mysql       4.001
 %define       V_dbd_pgsql       1.49
 %define       V_dbd_oracle      1.19
 %define       V_dbd_sybase      1.07_01
@@ -53,7 +53,7 @@ Class:        BASE
 Group:        Perl
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20061104
+Release:      20070108
 
 #   package options
 %option       with_dbd_sqlite  yes