rpms/python-sqlite/devel pysqlite-sqlite-prepare-nbytes.patch, NONE, 1.1 python-sqlite.spec, 1.3, 1.4
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed Feb 1 19:24:03 UTC 2006
Author: pnasrat
Update of /cvs/dist/rpms/python-sqlite/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv23085
Modified Files:
python-sqlite.spec
Added Files:
pysqlite-sqlite-prepare-nbytes.patch
Log Message:
Fix pysqlite for nbytes implementation
pysqlite-sqlite-prepare-nbytes.patch:
_sqlite.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE pysqlite-sqlite-prepare-nbytes.patch ---
--- ./_sqlite.c.nbytes 2006-02-01 14:09:47.000000000 -0500
+++ ./_sqlite.c 2006-02-01 14:09:55.000000000 -0500
@@ -1063,7 +1063,7 @@
{
db = con->p_db;
MY_BEGIN_ALLOW_THREADS(con->tstate)
- rc = sqlite3_prepare(db, tail, 0, &statement, &tail);
+ rc = sqlite3_prepare(db, tail, -1, &statement, &tail);
MY_END_ALLOW_THREADS(con->tstate)
if (rc != SQLITE_OK)
Index: python-sqlite.spec
===================================================================
RCS file: /cvs/dist/rpms/python-sqlite/devel/python-sqlite.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- python-sqlite.spec 1 Feb 2006 16:39:18 -0000 1.3
+++ python-sqlite.spec 1 Feb 2006 19:24:01 -0000 1.4
@@ -3,11 +3,12 @@
Summary: Python bindings for sqlite.
Name: python-sqlite
Version: 1.1.6
-Release: 2
+Release: 3
License: GPL
Group: Development/Libraries
URL: http://pysqlite.sf.net/
Source: http://dl.sf.net/pysqlite/pysqlite-%{version}.tar.gz
+Patch0: pysqlite-sqlite-prepare-nbytes.patch
Obsoletes: python-sqlite3
BuildRequires: python-devel, sqlite-devel
BuildRoot: %{_tmppath}/%{name}-root
@@ -18,6 +19,7 @@
%prep
%setup -q -n pysqlite
+%patch0 -p0 -b .nbytes
rm -f doc/rest/.*swp
%build
@@ -26,10 +28,6 @@
rm -rf ${RPM_BUILD_ROOT}
python ./setup.py install --prefix="${RPM_BUILD_ROOT}/%{_prefix}"
-%check
-cd test
-python all_tests.py || :
-
%clean
rm -rf ${RPM_BUILD_ROOT}
@@ -39,6 +37,10 @@
%{_libdir}/python*/site-packages/*
%changelog
+* Wed Feb 01 2006 Paul Nasrat <pnasrat at redhat.com> - 1.1.6-3
+- Pass valid parameter to prepare (#179547)
+- Temporarily remove %%check
+
* Wed Feb 01 2006 Paul Nasrat <pnasrat at redhat.com> - 1.1.6-2
- Rebuild
More information about the fedora-cvs-commits
mailing list