Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37876864
en ru br
ALT Linux repositórios
S:1.74-alt1
5.0: 1.14-alt2
4.1: 1.14-alt1
4.0: 1.14-alt1
+updates:1.13-alt3
3.0: 1.09-alt1

Group :: Desenvolvimento/Perl
RPM: perl-DBD-SQLite

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: perl-DBD-SQLite-1.14-alt2.patch
Download


 .gear-rules                                        |    2 +
 .../2be6db106a1f9bc49db32b14f820a8a468027349       |   13 +++
 .../d1fc605e0db67bc5d10e69ee3079d3a8129bb780       |   13 +++
 .gear-tags/list                                    |    2 +
 MANIFEST                                           |   70 ----------------
 Makefile.PL                                        |    3 +
 dbdimp.c                                           |    4 +-
 dbdimp.h                                           |    2 +-
 perl-DBD-SQLite.spec                               |   84 ++++++++++++++++++++
 9 files changed, 120 insertions(+), 73 deletions(-)
diff --git a/.gear-rules b/.gear-rules
new file mode 100644
index 0000000..3879f01
--- /dev/null
+++ b/.gear-rules
@@ -0,0 +1,2 @@
+tar: @version@:. name=DBD-SQLite-@version@-no-sqlite-src base=DBD-SQLite-@version@
+diff: @version@:. . name=perl-DBD-SQLite-@version@-@release@.patch
diff --git a/.gear-tags/2be6db106a1f9bc49db32b14f820a8a468027349 b/.gear-tags/2be6db106a1f9bc49db32b14f820a8a468027349
new file mode 100644
index 0000000..a33d7a3
--- /dev/null
+++ b/.gear-tags/2be6db106a1f9bc49db32b14f820a8a468027349
@@ -0,0 +1,13 @@
+object 9855ef953b55e1174e9011891655b9bfb21ba42c
+type commit
+tag 1.13
+tagger Alexey Tourbin <at@altlinux.ru> 1161466613 +0400
+
+1.13
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQBFOpL3fBKgtDjnu0YRAiKpAJ94hjNy5CLnDAQl/ukwJg/A/dZHkgCeJDbb
+6LnD2Yo0sqES7aBvxP6piaU=
+=Saly
+-----END PGP SIGNATURE-----
diff --git a/.gear-tags/d1fc605e0db67bc5d10e69ee3079d3a8129bb780 b/.gear-tags/d1fc605e0db67bc5d10e69ee3079d3a8129bb780
new file mode 100644
index 0000000..4f01641
--- /dev/null
+++ b/.gear-tags/d1fc605e0db67bc5d10e69ee3079d3a8129bb780
@@ -0,0 +1,13 @@
+object 988700f2b4503f3b14dd533da8a9dea43811d326
+type commit
+tag 1.14
+tagger Alexey Tourbin <at@altlinux.ru> 1192547283 +0400
+
+1.14
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.7 (GNU/Linux)
+
+iD8DBQBHFNPTfBKgtDjnu0YRAtybAKCXBi4h3T/s1UY8sqG4Mx5w8TrAjwCfZH1N
+8nInCSUJllVjQxpM7eevRis=
+=dOh8
+-----END PGP SIGNATURE-----
diff --git a/.gear-tags/list b/.gear-tags/list
new file mode 100644
index 0000000..7414e2f
--- /dev/null
+++ b/.gear-tags/list
@@ -0,0 +1,2 @@
+2be6db106a1f9bc49db32b14f820a8a468027349 1.13
+d1fc605e0db67bc5d10e69ee3079d3a8129bb780 1.14
diff --git a/MANIFEST b/MANIFEST
index 53e1a9c..c11e56d 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,68 +1,15 @@
-alter.c
-analyze.c
-attach.c
-auth.c
-btree.c
-btree.h
-btreeInt.h
-build.c
-callback.c
 Changes
-complete.c
-date.c
 dbdimp.c
 dbdimp.h
-delete.c
-expr.c
-func.c
-fts2.c
-fts2.h
-fts2_hash.c
-fts2_hash.h
-fts2_icu.c
-fts2_porter.c
-fts2_tokenizer.c
-fts2_tokenizer.h
-fts2_tokenizer1.c
 getsqlite.pl
-hash.c
-hash.h
-insert.c
-keywordhash.h
-legacy.c
 lib/DBD/SQLite.pm
-loadext.c
-main.c
 Makefile.PL
-malloc.c
 MANIFEST
 MANIFEST.SKIP
 META.yml			Module meta-data (added by MakeMaker)
-opcodes.c
-opcodes.h
-os.c
-os.h
-os_common.h
-os_os2.c
-os_os2.h
-os_unix.c
-os_win.c
-pager.c
-pager.h
-parse.c
-parse.h
 ppport.h
-pragma.c
-prepare.c
-printf.c
-random.c
 README
-select.c
 SQLite.xs
-sqlite3.h
-sqlite3ext.h
-sqliteInt.h
-sqliteLimit.h
 SQLiteXS.h
 t/00basic.t
 t/01logon.t
@@ -95,20 +42,3 @@ t/ak-dbd.t
 t/dbdadmin.t
 t/lib.pl
 t/SQLite.dbtest
-table.c
-tokenize.c
-trigger.c
-update.c
-utf.c
-util.c
-vacuum.c
-vdbe.c
-vdbe.h
-vdbeapi.c
-vdbeaux.c
-vdbeblob.c
-vdbefifo.c
-vdbeInt.h
-vdbemem.c
-vtab.c
-where.c
diff --git a/Makefile.PL b/Makefile.PL
index d5c210e..6caa453 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -10,6 +10,8 @@ if ($@) {
 }
 use Config;
 use strict;
+
+=pod
 eval {
     require DBD::SQLite;
     if ($DBD::SQLite::VERSION < 1.0) {
@@ -38,6 +40,7 @@ EOT
         }
     }
 };
+=cut # (ALT) don't look for existing installations
 
 # 2005/6/19, by rjray@blackperl.com
 #
diff --git a/dbdimp.c b/dbdimp.c
index bcc1ad1..0aa2a11 100644
--- a/dbdimp.c
+++ b/dbdimp.c
@@ -399,7 +399,7 @@ sqlite_st_execute (SV *sth, imp_sth_t *imp_sth)
                 continue;
             }
             /* There are bug reports that say this should be sqlite3_reset() */
-            sqlite3_finalize(imp_sth->stmt);
+            sqlite3_reset(imp_sth->stmt);
             sqlite_error(sth, (imp_xxh_t*)imp_sth, imp_sth->retval, (char*)sqlite3_errmsg(imp_dbh->db));
             return -5;
         }
@@ -419,7 +419,7 @@ sqlite_st_execute (SV *sth, imp_sth_t *imp_sth)
                           sqlite_trace(5, "exec ok - %d rows, %d cols\n", imp_sth->nrow, DBIc_NUM_FIELDS(imp_sth));
                           return 0;
                           /* There are bug reports that say this should be sqlite3_reset() */
-        default:          sqlite3_finalize(imp_sth->stmt);
+        default:          sqlite3_reset(imp_sth->stmt);
                           sqlite_error(sth, (imp_xxh_t*)imp_sth, imp_sth->retval, (char*)sqlite3_errmsg(imp_dbh->db));
                           return -6;
     }
diff --git a/dbdimp.h b/dbdimp.h
index 34701f7..e659c15 100644
--- a/dbdimp.h
+++ b/dbdimp.h
@@ -4,7 +4,7 @@
 #define _DBDIMP_H   1
 
 #include "SQLiteXS.h"
-#include "sqliteInt.h"
+#include <sqlite3.h>
 
 /* 30 second timeout by default */
 #define SQL_TIMEOUT 30000
diff --git a/perl-DBD-SQLite.spec b/perl-DBD-SQLite.spec
new file mode 100644
index 0000000..6e34e01
--- /dev/null
+++ b/perl-DBD-SQLite.spec
@@ -0,0 +1,84 @@
+%define dist DBD-SQLite
+Name: perl-%dist
+Version: 1.14
+Release: alt2
+
+Summary: SQLite driver for DBI interface in Perl
+License: GPL or Artistic
+Group: Development/Perl
+
+URL: %CPAN %dist
+Source: %dist-%version-no-sqlite-src.tar
+Patch: %name-%version-%release.patch
+
+# last_insert_id will only work on DBI 1.43
+Requires: perl-DBI >= 1.43
+BuildPreReq: perl-DBI-devel >= 1.43
+
+# for CCFLAGS=-fvisibility=hidden
+BuildPreReq: perl-devel >= 1:5.8.8-alt5
+
+# Automatically added by buildreq on Sat May 24 2008
+BuildRequires: libsqlite3-devel perl-DBI-devel perl-devel
+
+%description
+DBD::SQLite is a DBI driver for SQLite database.
+SQLite is a small C library that implements a self-contained,
+embeddable, zero-configuration SQL database engine.
+
+%prep
+%setup -q -n %dist-%version
+%patch -p1
+
+%build
+%perl_vendor_build LIBS=-lsqlite3 CCFLAGS=-fvisibility=hidden
+
+%install
+%perl_vendor_install
+
+%files
+%doc	Changes README
+%dir	%perl_vendor_archlib/DBD
+	%perl_vendor_archlib/DBD/SQLite.pm
+%dir	%perl_vendor_autolib/DBD
+%dir	%perl_vendor_autolib/DBD/SQLite
+	%perl_vendor_autolib/DBD/SQLite/SQLite.so
+
+%changelog
+* Sat May 24 2008 Alexey Tourbin <at@altlinux.ru> 1.14-alt2
+- dbdimp.c: use sqlite3_reset() where appropriate (cpan #32100)
+
+* Tue Oct 16 2007 Alexey Tourbin <at@altlinux.ru> 1.14-alt1
+- 1.13 -> 1.14
+
+* Mon Aug 06 2007 Alexey Tourbin <at@altlinux.ru> 1.13-alt3
+- applied debian fix for "Unknown named parameter" (deb #422209)
+
+* Sun Oct 22 2006 Alexey Tourbin <at@altlinux.ru> 1.13-alt2
+- imported sources into git and built with gear
+- backported fix for pragmas on empty db causing "Not an error" errors
+- there's still a problem with Class::DBI, but I think I should also
+  fix Class::DBI for this time
+
+* Sat Sep 09 2006 Alexey Tourbin <at@altlinux.ru> 1.13-alt1
+- 1.12 -> 1.13
+
+* Mon Apr 17 2006 Alexey Tourbin <at@altlinux.ru> 1.12-alt1
+- 1.09 -> 1.12
+
+* Fri Jun 24 2005 Alexey Tourbin <at@altlinux.ru> 1.09-alt1
+- 1.08 -> 1.09
+
+* Fri Mar 04 2005 Alexey Tourbin <at@altlinux.ru> 1.08-alt1
+- 1.07 -> 1.08
+
+* Sun Dec 19 2004 Alexey Tourbin <at@altlinux.ru> 1.07-alt1
+- 1.05 -> 1.07
+- manual pages not packaged (use perldoc)
+
+* Thu Sep 16 2004 Alexey Tourbin <at@altlinux.ru> 1.05-alt1
+- 1.03 -> 1.05
+
+* Fri Aug 13 2004 Alexey Tourbin <at@altlinux.ru> 1.03-alt1
+- initial revision
+- remove sqlite3 sources and use system-wide libsqlite3
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009