diff --git a/.gitignore b/.gitignore index 338ae54..4a03cd0 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /apsw-3.24.0-r1.zip /apsw-3.28.0-r1.zip /apsw-3.26.0-r1.zip +/apsw-3.29.0-r1.zip diff --git a/0003-Fix-virtual-table-test.patch b/0003-Fix-virtual-table-test.patch new file mode 100644 index 0000000..eb0bbf0 --- /dev/null +++ b/0003-Fix-virtual-table-test.patch @@ -0,0 +1,12 @@ +--- a/tests.py 2019-11-06 22:12:23.081264814 +0600 ++++ b/tests.py 2019-11-06 22:13:02.195006904 +0600 +@@ -2360,9 +2360,6 @@ + + for i in range(20): + self.db.createmodule("x" * i, lambda x: i) +- for ii in range(20): +- # SQLite 3.7.13 change - can't register same names +- self.assertRaises(apsw.MisuseError, self.db.createmodule, "x" * ii, lambda x: ii) + + # If shared cache is enabled then vtable creation is supposed to fail + # See https://sqlite.org/cvstrac/tktview?tn=3144 diff --git a/python-apsw.spec b/python-apsw.spec index b49ba31..adcd558 100644 --- a/python-apsw.spec +++ b/python-apsw.spec @@ -32,6 +32,9 @@ License: zlib URL: https://github.com/rogerbinns/apsw Source: https://github.com/rogerbinns/apsw/releases/download/%{pkg_version}/apsw-%{pkg_version}.zip +# https://github.com/rogerbinns/apsw/commit/13df0b57bff59542978abf7c0a440c9274e3aac3 +Patch3: 0003-Fix-virtual-table-test.patch + BuildRequires: gcc BuildRequires: python%{python3_pkgversion}-devel BuildRequires: sqlite-devel >= %{sqlite_version} diff --git a/sources b/sources index 0c7d829..d2b9b32 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (apsw-3.26.0-r1.zip) = aafc38eb7c6850af4b3d7d1bdaf6a04eff00dfe59022ffdaebde666f02cff691f1aeb7471bd1ba74f5afc41fed9cc982d5e9757026680e8c2e582180a6bee4d7 +SHA512 (apsw-3.29.0-r1.zip) = 7f26f30205242a7243387dc3a41a4dc05c965f44858f90ef4e6f28c33ccf6c364aaa55fc551fa2aded33f36676d7da01e8313f841975d3c597adfd809c94ccca