Przeglądaj źródła

modifying package: perl-dbi-5.10.0 20080818 -> 20080820

Ralf S. Engelschall 17 lat temu
rodzic
commit
033155e66b
2 zmienionych plików z 48 dodań i 48 usunięć
  1. 46 46
      perl-dbi/perl-dbi.patch
  2. 2 2
      perl-dbi/perl-dbi.spec

+ 46 - 46
perl-dbi/perl-dbi.patch

@@ -1,6 +1,6 @@
 Index: DBD-SQLite-1.14/Makefile.PL
 --- DBD-SQLite-1.14/Makefile.PL.orig	2007-08-28 21:57:09 +0200
-+++ DBD-SQLite-1.14/Makefile.PL	2008-02-02 10:57:18 +0100
++++ DBD-SQLite-1.14/Makefile.PL	2008-08-20 09:12:11 +0200
 @@ -10,34 +10,6 @@
  }
  use Config;
@@ -63,7 +63,7 @@ Index: DBD-SQLite-1.14/Makefile.PL
                         ( ($Config{d_usleep} ||
 Index: DBD-SQLite-1.14/dbdimp.h
 --- DBD-SQLite-1.14/dbdimp.h.orig	2007-08-23 02:45:08 +0200
-+++ DBD-SQLite-1.14/dbdimp.h	2008-02-02 10:57:18 +0100
++++ DBD-SQLite-1.14/dbdimp.h	2008-08-20 09:12:11 +0200
 @@ -4,7 +4,7 @@
  #define _DBDIMP_H   1
  
@@ -73,9 +73,40 @@ Index: DBD-SQLite-1.14/dbdimp.h
  
  /* 30 second timeout by default */
  #define SQL_TIMEOUT 30000
+Index: DBD-Sybase-1.08/dbdimp.c
+--- DBD-Sybase-1.08/dbdimp.c.orig	2007-04-19 20:33:30 +0200
++++ DBD-Sybase-1.08/dbdimp.c	2008-08-20 09:12:11 +0200
+@@ -797,22 +797,22 @@
+ 
+ #if defined(CS_VERSION_150)
+     if(cs_ver == CS_VERSION_150)
+-	BLK_VERSION = BLK_VERSION_150;
++	BLK_VERSION = CS_VERSION_150;
+ #endif
+ #if defined(CS_VERSION_125)
+     if(cs_ver == CS_VERSION_125)
+-	BLK_VERSION = BLK_VERSION_125;
++	BLK_VERSION = CS_VERSION_125;
+ #endif
+ #if defined(CS_VERSION_120)
+     if(cs_ver == CS_VERSION_120)
+-	BLK_VERSION = BLK_VERSION_120;
++	BLK_VERSION = CS_VERSION_120;
+ #endif
+ #if defined(CS_VERSION_110)
+     if(cs_ver == CS_VERSION_110)
+-	BLK_VERSION = BLK_VERSION_110;
++	BLK_VERSION = CS_VERSION_110;
+ #endif
+     if(cs_ver == CS_VERSION_100)
+-	BLK_VERSION = BLK_VERSION_100;
++	BLK_VERSION = CS_VERSION_100;
+ 
+ #if USE_CSLIB_CB
+     if (cs_config(context, CS_SET, CS_MESSAGE_CB,
 Index: DBD-cego/Makefile.PL
 --- DBD-cego/Makefile.PL.orig	2007-06-25 20:38:07 +0200
-+++ DBD-cego/Makefile.PL	2008-02-02 10:57:18 +0100
++++ DBD-cego/Makefile.PL	2008-08-20 09:12:11 +0200
 @@ -43,7 +43,7 @@
      'VERSION_FROM'  => 'Cego.pm',
      'PREREQ_PM'     => {DBI => 1.03},
@@ -86,8 +117,8 @@ Index: DBD-cego/Makefile.PL
  	      . $opt->{'prefix'} . "/lib/libXML.a " 
  	      . $opt->{'prefix'} . "/lib/libBase.a",
 Index: DBD-mysql-4.008/dbdimp.h
---- DBD-mysql-4.008/dbdimp.h.orig	2007-12-11 22:41:50 +0100
-+++ DBD-mysql-4.008/dbdimp.h	2008-02-02 10:57:18 +0100
+--- DBD-mysql-4.008/dbdimp.h.orig	2008-04-29 01:36:17 +0200
++++ DBD-mysql-4.008/dbdimp.h	2008-08-20 09:12:11 +0200
 @@ -19,6 +19,7 @@
   *  Header files we use
   */
@@ -96,18 +127,18 @@ Index: DBD-mysql-4.008/dbdimp.h
  #include <mysql.h>  /* Comes with MySQL-devel */
  #include <mysqld_error.h>  /* Comes MySQL */
  
-Index: SQL-Translator-0.09000/Build.PL
---- SQL-Translator-0.09000/Build.PL.orig	2008-01-31 13:06:23 +0100
-+++ SQL-Translator-0.09000/Build.PL	2008-02-02 10:58:12 +0100
-@@ -25,7 +25,6 @@
-         'Class::Data::Inheritable' => 0.02,
+Index: SQL-Translator-0.09001/Build.PL
+--- SQL-Translator-0.09001/Build.PL.orig	2008-08-19 17:40:47 +0200
++++ SQL-Translator-0.09001/Build.PL	2008-08-20 09:12:11 +0200
+@@ -26,7 +26,6 @@
          'Class::MakeMethods'       => 0,
+         'Digest::SHA1'             => 2.00,
          'IO::Dir'                  => 0,
 -        'Log::Log4perl'            => 0,
          'Parse::RecDescent'        => 1.94,
          'Pod::Usage'               => 0,
          'Class::Accessor::Fast'    => 0,
-@@ -44,13 +43,6 @@
+@@ -46,13 +45,6 @@
          'XML::XPath'              => 1.13,
      },
      build_requires    => {
@@ -121,15 +152,15 @@ Index: SQL-Translator-0.09000/Build.PL
      },
      get_options => {
          # Where to store additional files such as templates.
-Index: SQL-Translator-0.09000/lib/SQL/Translator/Schema/Graph.pm
---- SQL-Translator-0.09000/lib/SQL/Translator/Schema/Graph.pm.orig	2008-01-31 13:06:23 +0100
-+++ SQL-Translator-0.09000/lib/SQL/Translator/Schema/Graph.pm	2008-02-02 10:57:18 +0100
+Index: SQL-Translator-0.09001/lib/SQL/Translator/Schema/Graph.pm
+--- SQL-Translator-0.09001/lib/SQL/Translator/Schema/Graph.pm.orig	2008-08-19 17:40:47 +0200
++++ SQL-Translator-0.09001/lib/SQL/Translator/Schema/Graph.pm	2008-08-20 09:14:47 +0200
 @@ -5,8 +5,6 @@
  use Data::Dumper;
  local $Data::Dumper::Maxdepth = 3;
  
 -use Log::Log4perl qw(:easy);
--Log::Log4perl->easy_init($ERROR);
+-Log::Log4perl->easy_init($ERROR) unless Log::Log4perl->initialized();
  use SQL::Translator::Schema::Graph::Node;
  use SQL::Translator::Schema::Graph::Edge;
  use SQL::Translator::Schema::Graph::Port;
@@ -176,34 +207,3 @@ Index: SQL-Translator-0.09000/lib/SQL/Translator/Schema/Graph.pm
              $i++;
            }
          }
-Index: DBD-Sybase-1.08/dbdimp.c
---- DBD-Sybase-1.08/dbdimp.c.orig	2007-04-19 20:33:30 +0200
-+++ DBD-Sybase-1.08/dbdimp.c	2008-07-29 18:32:49 +0200
-@@ -797,22 +797,22 @@
- 
- #if defined(CS_VERSION_150)
-     if(cs_ver == CS_VERSION_150)
--	BLK_VERSION = BLK_VERSION_150;
-+	BLK_VERSION = CS_VERSION_150;
- #endif
- #if defined(CS_VERSION_125)
-     if(cs_ver == CS_VERSION_125)
--	BLK_VERSION = BLK_VERSION_125;
-+	BLK_VERSION = CS_VERSION_125;
- #endif
- #if defined(CS_VERSION_120)
-     if(cs_ver == CS_VERSION_120)
--	BLK_VERSION = BLK_VERSION_120;
-+	BLK_VERSION = CS_VERSION_120;
- #endif
- #if defined(CS_VERSION_110)
-     if(cs_ver == CS_VERSION_110)
--	BLK_VERSION = BLK_VERSION_110;
-+	BLK_VERSION = CS_VERSION_110;
- #endif
-     if(cs_ver == CS_VERSION_100)
--	BLK_VERSION = BLK_VERSION_100;
-+	BLK_VERSION = CS_VERSION_100;
- 
- #if USE_CSLIB_CB
-     if (cs_config(context, CS_SET, CS_MESSAGE_CB,

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

@@ -29,7 +29,7 @@
 %define       V_sql_routine     0.70.3
 %define       V_sql_builder     0.033
 %define       V_sql_interpolate 0.33
-%define       V_sql_translator  0.09000
+%define       V_sql_translator  0.09001
 %define       V_dbd_mock        1.37
 %define       V_dbd_anydata     0.09
 %define       V_dbd_csv         0.22
@@ -54,7 +54,7 @@ Class:        BASE
 Group:        Perl
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20080818
+Release:      20080820
 
 #   package options
 %option       with_dbd_sqlite  yes