Przeglądaj źródła

modifying package: perl-dbi-5.8.5 20040810 -> 20040824

Thorsten Hohmeier 21 lat temu
rodzic
commit
8c87d2149a
2 zmienionych plików z 11 dodań i 11 usunięć
  1. 9 9
      perl-dbi/perl-dbi.patch
  2. 2 2
      perl-dbi/perl-dbi.spec

+ 9 - 9
perl-dbi/perl-dbi.patch

@@ -73,8 +73,8 @@ Index: MANIFEST
 -vdbemem.c
 -where.c
 Index: Makefile.PL
---- Makefile.PL.orig	2004-08-01 06:36:27 +0200
-+++ Makefile.PL	2004-08-01 20:17:27 +0200
+--- Makefile.PL.orig	2004-08-23 16:46:22 +0200
++++ Makefile.PL	2004-08-24 09:54:46 +0200
 @@ -5,34 +5,6 @@
  use ExtUtils::MakeMaker;
  use Config;
@@ -108,19 +108,19 @@ Index: Makefile.PL
 -    }
 -};
  
- WriteMakefile(
-     'NAME'          => 'DBD::SQLite',
-@@ -40,7 +12,9 @@
+ my $nlid = $DBI::VERSION > 1.42 ? '' : '-Dno_last_insert_id';
+ 
+@@ -41,8 +13,9 @@
+     'VERSION_FROM'  => 'lib/DBD/SQLite.pm', # finds $VERSION
      'PREREQ_PM'     => {DBI => 1.21}, # e.g., Module::Name => 1.1
      'OBJECT'        => '$(O_FILES)',
-     'INC'           => '-I$(DBI_INSTARCH_DIR)',
--    'OPTIMIZE'      => "-O6 -DNDEBUG=1 -DSQLITE_PTR_SZ=$Config{ptrsize}",
+-    'INC'           => '-I$(DBI_INSTARCH_DIR)',
+     'OPTIMIZE'      => "-O2",
 +    'INC'           => '-I@l_prefix@/include -I$(DBI_INSTARCH_DIR)',
 +    'LIBS'          => ['-L@l_prefix@/lib -lsqlite3'],
-+    'OPTIMIZE'      => "-O2",
+     'DEFINE'        => "-DNDEBUG=1 -DSQLITE_PTR_SZ=$Config{ptrsize} $nlid",
      'clean'         => { FILES => 'SQLite.xsi config.h' },
      'PL_FILES'      => {},
- );
 Index: dbdimp.h
 --- dbdimp.h.orig	2004-08-01 06:36:19 +0200
 +++ dbdimp.h	2004-08-01 20:16:30 +0200

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

@@ -29,7 +29,7 @@
 %define       V_sql_statement  1.09
 %define       V_dbd_anydata    0.08
 %define       V_dbd_sprite     0.50
-%define       V_dbd_sqlite     1.03
+%define       V_dbd_sqlite     1.04
 %define       V_dbd_mysql      2.9004
 %define       V_dbd_pgsql      1.32
 %define       V_dbd_oracle     1.15
@@ -46,7 +46,7 @@ Class:        BASE
 Group:        Language
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20040810
+Release:      20040824
 
 #   package options
 %option       with_dbd_sqlite  no