From 20933c5f685eb45d011b11e53d195063ad9604a6 Mon Sep 17 00:00:00 2001 From: Denis Fateyev Date: Jun 12 2020 20:41:22 +0000 Subject: python-apsw: bump upstream to 3.32.2-r1 --- diff --git a/.gitignore b/.gitignore index aa0231d..f7a0ddb 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /apsw-3.29.0-r1.zip /apsw-3.30.1-r1.zip /apsw-3.31.1-r1.zip +/apsw-3.32.2-r1.zip diff --git a/0001-Improved-test-for-SQLITE_DETERMINISTIC.patch b/0001-Improved-test-for-SQLITE_DETERMINISTIC.patch deleted file mode 100644 index e383b65..0000000 --- a/0001-Improved-test-for-SQLITE_DETERMINISTIC.patch +++ /dev/null @@ -1,30 +0,0 @@ -From e19b2f2ac49d5daa7c6e0bde54441d0fa417ec7c Mon Sep 17 00:00:00 2001 -From: Roger Binns -Date: Wed, 27 May 2020 14:50:13 -0700 -Subject: [PATCH] Improved test for SQLITE_DETERMINISTIC - -https://sqlite.org/forum/forumpost/552e8e236a ---- - tests.py | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/tests.py b/tests.py -index 46c0da6..374a33c 100644 ---- a/tests.py -+++ b/tests.py -@@ -1322,9 +1322,11 @@ class APSW(unittest.TestCase): - self.db.createscalarfunction("nondeterministic", Counter(), deterministic=False) - self.db.createscalarfunction("unspecdeterministic", Counter()) - -- self.assertEqual(c.execute("select deterministic()=deterministic()").fetchall()[0][0], 1) -+ # only deterministic can be used for indices -+ c.execute("create table td(a,b); create index tda on td(a) where deterministic()") - self.assertEqual(c.execute("select nondeterministic()=nondeterministic()").fetchall()[0][0], 0) - self.assertEqual(c.execute("select unspecdeterministic()=unspecdeterministic()").fetchall()[0][0], 0) -+ self.assertRaises(apsw.SQLError, c.execute, "create index tdb on td(b) where nondeterministic()") - - def testAggregateFunctions(self): - "Verify aggregate functions" --- -2.26.2 - diff --git a/python-apsw.spec b/python-apsw.spec index ee6fc7f..1b694d2 100644 --- a/python-apsw.spec +++ b/python-apsw.spec @@ -8,7 +8,7 @@ %endif %if 0%{?fedora} >= 32 -%global sqlite_version 3.31.1 +%global sqlite_version 3.32.2 %global uprel 1 %global pkg_version %{sqlite_version}-r%{uprel} %endif @@ -26,14 +26,11 @@ Name: python-apsw Version: %{real_version} -Release: 3%{?dist} +Release: 1%{?dist} Summary: Another Python SQLite Wrapper 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/e19b2f2ac49d5daa7c6e0bde54441d0fa417ec7c -# Fixes build with Python 3.9 -Patch0: 0001-Improved-test-for-SQLITE_DETERMINISTIC.patch BuildRequires: gcc BuildRequires: python%{python3_pkgversion}-devel @@ -77,6 +74,10 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} setup.py test %changelog +* Fri Jun 12 2020 Denis Fateyev - 3.32.2.r1-1 +- Bump upstream version to 3.32.2 +- Removed obsolete Python 3.9 patch + * Fri May 29 2020 Adam Williamson - 3.31.1.r1-3 - Backport upstream test improvement to fix build with Python 3.9 diff --git a/sources b/sources index 0f8b277..02cfa12 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (apsw-3.31.1-r1.zip) = dfd64b539d79d97c3b97b206d6dddbd28a3a6bdfb8c5fab5fd64fcafede06c4beeaf584fbe30e202d2cc9f158dee49ab6d1f1b22ed56498865417c0d48f6beee +SHA512 (apsw-3.32.2-r1.zip) = 718de699c43eec139747f63c3c26da206aa20f104ec1c478009d29cedff7a432138726131b2458ecd3a67675254af77e94e50e8e96a208600fe2a94aa9d924c7