Compare commits

..

207 Commits
f11 ... rawhide

Author SHA1 Message Date
Zuzana Miklankova
0ddb5e1f4a
update to 3.39.2 2022-07-29 10:06:10 +02:00
Fedora Release Engineering
b570eb4256 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 09:16:43 +00:00
Zuzana Miklankova
3beb0299d4
update to 3.39.1
And fix incorrect date in changelog of specfile.

Resolves: #2106900
2022-07-18 14:47:59 +02:00
Zuzana Miklankova
57bfa64729
update to 3.39.0 2022-06-27 11:57:20 +02:00
Zuzana Miklankova
807afbf3e8
Release bump for rebuild with fixed '--without sqldiff' option
This is not really necessary, because the change would not affect the
resulting package, which is shipped to Fedora, but this way I see as
more transparent.
2022-06-09 16:13:45 +02:00
Jan Pazdziora
110de5f827
Fix build error --without sqldiff.
Addressing
error: Installed (but unpackaged) file(s) found:
   /usr/bin/sqldiff
   /usr/lib/debug/usr/bin/sqldiff-3.31.1-1.fc31.x86_64.debug
2022-06-09 13:27:18 +02:00
Zuzana Miklankova
f04125dafa
update to 3.38.5 2022-05-09 11:19:28 +02:00
Zuzana Miklankova
3926e22b6b
Bump release because of various updates in build 2022-05-02 11:39:30 +02:00
Zuzana Miklankova
5fdbe169f2
add autoupdate command to %prep
Use of autoupdate removes WARNING messages, that tell about using deprecated macros
in the %build.

https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/autoupdate-Invocation.html
2022-05-02 11:33:23 +02:00
Zuzana Miklankova
1b8b324002
remove configure flag --enable-json1, as it is default from 3.38.0
Its usage causes warnings, as the flag is not available anymore.
Upstream docs: https://www.sqlite.org/compile.html#enable_json1

Moreover --disable-dependency-tracking and --enable-threads-override-locks
flags are not supported by the sqlite, but used as configure options and
are causing WARNING.
This is because they are a part of %configure macro and can not be
removed easily from there.
2022-05-02 11:28:31 +02:00
Zuzana Miklankova
f45efa0be6
add flag -mbranch-protection=standard for aarch64
added because of rpminspect check, which failed with:

FAIL: branch-protection test because the -mbranch-protection option was
not used
2022-05-02 11:27:07 +02:00
Zuzana Miklankova
0f684764a1
Update to 3.38.3 2022-04-28 09:24:43 +02:00
Zuzana Miklankova
511cb0af85
Update to 3.38.2 2022-04-07 10:51:28 +02:00
Zuzana Miklankova
afab63ea3c Merge #13 Enable tmt CI tests, remove obsolete STI test 2022-03-24 12:59:07 +00:00
Zuzana Miklankova
c2aa962caa
Update to 3.38.1 2022-03-23 13:03:09 +01:00
Filip Janus
a015330730 Enable tmt CI tests, remove obsolete STI test 2022-03-21 17:34:26 +01:00
Zuzana Miklankova
9e13576d40
Rebase to 3.38.0
- CFLAGS switched to configure options where possible
- remove SQLITE_ENABLE_MATH_FUNCTION, as this is default
- for i686 the atof1.test removed, due to failures, issue is filled in
  upstream. If the issue is fixed upstream, the test can be reenabled.
  Link on the issue: https://www.sqlite.org/forum/forumpost/b6a48b79f9
2022-03-15 13:11:48 +01:00
Fedora Release Engineering
f67f322c94 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 01:31:30 +00:00
Ondrej Dubaj
584b64a32d Enabled SQLITE_DBPAGE virtual table (#1973454) 2021-08-18 09:11:47 +02:00
Fedora Release Engineering
c598d326d1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 18:09:23 +00:00
Ondrej Dubaj
df6059ea18 Support SHA-1 algorithms (revert) 2021-07-12 08:31:03 +02:00
Ondrej Dubaj
219120d4fc Rebase to version 3.36.0 (#1973815) 2021-07-01 14:42:36 +02:00
Ondrej Dubaj
bee3a4ab7c Updated to version 3.35.5 (#1951196) 2021-04-20 07:55:15 +02:00
Ondrej Dubaj
2b4b69fa67 Remove SHA-1 algorithms according to its deprecation in RHEL-9 (#1935442) 2021-04-19 10:11:35 +02:00
Ondrej Dubaj
d95c433dc3 Fixed handling LIKE experrsion in WHERE clause (#1947883) 2021-04-14 08:33:09 +02:00
Ondrej Dubaj
cc02f02fbe Updated to version 3.35.4 (#1945904) 2021-04-06 09:19:44 +02:00
Ondrej Dubaj
f268594ea0 Updated to version 3.35.3 (#1943555) 2021-03-27 18:55:44 +01:00
Ondrej Dubaj
0a82e2f7fc Updated to version 3.35.2 (#1940208) 2021-03-18 08:23:04 +01:00
Ondrej Dubaj
8c30a63270 Updated to version 3.35.1 (#1939197) 2021-03-16 09:15:25 +01:00
Ondrej Dubaj
4f5d23b554 Updated to version 3.35.0 (#1938256) 2021-03-15 09:30:27 +01:00
Fedora Release Engineering
39b5d413df - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 20:55:49 +00:00
Ondrej Dubaj
d0951b106a Rebase to version 3.34.1 2021-01-25 09:12:11 +01:00
Tom Stellard
090121b464 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-08 21:53:31 +00:00
Ondrej Dubaj
ee088db164 Updated to version 3.34.0 2020-12-02 08:33:34 +01:00
Ondrej Dubaj
6d6c71ff90 Enabled fts3conf.test on s390x and ppc64 architectures 2020-12-01 09:37:44 +01:00
Sheng Mao
f098d15dcf Enable FTS4 extensions (rhbz#1887106) 2020-10-10 15:15:56 -06:00
Michal Schorm
ed8cce7995 Remove redundant macros
%{?_smp_mflags} macro is a part of %make_build macro
2020-08-18 22:49:37 +00:00
Ondrej Dubaj
cfaecde041 Rebased to version 3.33.0
Resolves: #1868945
2020-08-16 17:55:11 +02:00
Fedora Release Engineering
51ca689e25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 11:20:21 +00:00
Ondrej Dubaj
6d8f355237 Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2020-07-21 14:12:34 +02:00
Ondrej Dubaj
9eee6d2954 Rebase to version 3.32.3 2020-06-24 08:00:23 +02:00
Ondrej Dubaj
efa76439d7 Rebase to version 3.32.2
Resolves: #1844043
2020-06-05 08:08:11 +02:00
Ondrej Dubaj
f23b9ba5aa Rebase to version 3.32.1
Resolves: #1839834
2020-05-26 13:00:46 +02:00
Ondrej Dubaj
442daf2297 Rebase to version 3.32.0
Resolves: #1839234
2020-05-25 09:50:16 +02:00
Ondrej Dubaj
236dd0f14c - Updated to version 3.31.1 (https://sqlite.org/releaselog/3_31_1.html)
- updated spec file, deleted useless patches
- Resolved s390 arch incompatibility
- Modified FTS tests to support big endian platforms
2020-02-05 08:48:04 +01:00
Fedora Release Engineering
60ea8a821d - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 00:08:02 +00:00
Petr Kubat
5cf0d06ce8 introduce sqlite-tools package 2020-01-20 10:43:25 +01:00
Tom Callaway
683ae70000 apply upstream fix for CVE-2019-19926 (bz1789441) 2020-01-09 16:44:30 -05:00
Petr Kubat
45f87b7215 Updated to version 3.30.1 (https://sqlite.org/releaselog/3_30_1.html) 2019-10-14 09:24:14 +02:00
Ondrej Dubaj
84c1917155 Updated to version 3.30.0 2019-10-07 11:55:36 +02:00
Fedora Release Engineering
76cd8b6d29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 00:01:13 +00:00
Petr Kubat
2474f1a528 Updated to version 3.29.0 (https://sqlite.org/releaselog/3_29_0.html)
Remove stupid-openfiles-test patch as the upstream test should now
work properly even on systems with larger number of file descriptors
  Related: https://sqlite.org/src/info/a27b0b880d76c683
2019-07-16 09:28:37 +02:00
Petr Kubat
709ff94d3e update to version 3.28.0 (https://sqlite.org/releaselog/3_28_0.html)
remove sqlite-3.8.10.1-tcl-regress-tests.patch as the issue is fixed with rawhide tcl.
2019-05-13 09:07:39 +02:00
Petr Kubat
cced181805 Updated to version 3.27.2 (https://sqlite.org/releaselog/3_27_2.html) 2019-02-28 09:30:21 +01:00
Igor Gnatenko
21545daa34 Rebuild for readline 8.0 2019-02-17 09:30:53 +01:00
Fedora Release Engineering
e2f43acf00 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 08:26:48 +00:00
Igor Gnatenko
bdf5773f12 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:50 +01:00
Petr Kubat
5b435e6dc5 Updated to version 3.26.0 (https://sqlite.org/releaselog/3_26_0.html) 2018-12-12 09:22:22 +01:00
Petr Kubat
09499b5817 Updated to version 3.25.2 (https://sqlite.org/releaselog/3_25_2.html) 2018-10-11 09:12:48 +02:00
Fedora Release Engineering
2390f0331a - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 06:37:31 +00:00
Igor Gnatenko
97379bec3b add BuildRequires: gcc
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-09 19:06:51 +02:00
Petr Kubat
b2344e7008 Fix bogus date in spec 2018-06-05 09:45:45 +02:00
Petr Kubat
c4dcb281b7 Updated to version 3.24.0 2018-06-05 09:26:16 +02:00
Petr Kubat
f8087997b5 Updated to version 3.23.1 2018-04-11 09:28:03 +02:00
Petr Kubat
bc5c0abaa3 Updated to version 3.23.0 2018-04-03 10:54:40 +02:00
Petr Kubat
d42040b7b5 Remove sqlite.css~ backup file from the rpm content 2018-03-23 11:32:55 +01:00
Petr Kubat
f2d6883ed2 Fixed CVE-2018-8740
Resolves: #1558809
2018-03-21 15:11:04 +01:00
Florian Weimer
28cc179ee2 Use LDFLAGS from redhat-rpm-config for building lemon, too
Without passing $RPM_LD_FLAGS explicitly, lemon will not be linked
with the Fedora linker flags.
2018-02-09 14:53:10 +01:00
Petr Kubat
356bcdfff8 Fixed issue with some walro2 tests failing on ppc64 2018-02-06 09:02:23 +01:00
Petr Kubat
3bf8338e67 Merge #1 Add CI tests using the standard test interface 2018-02-05 10:55:06 +00:00
Igor Gnatenko
5d8d6e2c08
Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-03 17:16:05 +01:00
Serhii Turivny
1fcb324fe3 Add CI tests using the standard test interface 2018-02-02 11:36:31 +00:00
Petr Kubat
15324d9449 Fixed issue with a fts3rank test failing on big-endian systems 2018-01-25 08:11:21 +01:00
Petr Kubat
2ed6522be2 Fixed issue with some e_expr tests failing i686 2018-01-24 15:44:40 +01:00
Petr Kubat
5c2bab8225 Updated to version 3.22.0
Resolves: #1537337
2018-01-23 11:21:10 +01:00
Petr Kubat
fc234aaae7 Updated to version 3.21.0
Resolves: #1508243
2017-11-01 12:13:22 +01:00
Petr Kubat
d786881866 Updated to version 3.20.1
Resolves: #1485093
2017-08-29 14:33:22 +02:00
Kalev Lember
542d236eac Build with --enable-fts5
tracker now requires that sqlite is built with --enable-fts5.

https://mail.gnome.org/archives/distributor-list/2017-August/msg00004.html
2017-08-22 17:13:34 +02:00
Petr Kubat
1d7853ae89 Updated to version 3.20.0 2017-08-02 08:06:40 +02:00
Fedora Release Engineering
6104dfdb20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 19:10:47 +00:00
Petr Kubat
a9f2f8dd0f Updated to version 3.19.3
Better detection of CVE-2017-10989
Resolves: #1469673
2017-07-12 08:55:01 +02:00
Petr Kubat
d3581336ba Updated to version 3.19.1 2017-05-25 09:12:11 +02:00
Petr Kubat
2beb9f1c3f Updated to version 3.18.0
Modify sync2.test to pass with DIRSYNC turned off
2017-04-03 13:40:41 +02:00
Petr Kubat
083e37cd70 Rebuild using newest gcc
Resolves: #1428286
2017-03-02 10:24:48 +01:00
Petr Kubat
e1d4f821fc Updated to version 3.17.0 2017-02-21 11:23:48 +01:00
Fedora Release Engineering
864bed4db2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 13:53:23 +00:00
Igor Gnatenko
d10bb36897 Rebuild for readline 7.x
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:42 +01:00
Jakub Dorňák
971f767ebb Update to version 3.16.2 2017-01-07 10:37:24 +01:00
Jakub Dorňák
b1ebe486e9 Disable tests date-2.2c on i686, enable trace3 on arm 2017-01-05 11:35:31 +01:00
Jakub Dorňák
5b249a67f3 Updated to version 3.16.1 2017-01-04 08:22:15 +01:00
Jakub Dorňák
2e515f8467 Updated to version 3.16.0 2017-01-03 09:49:27 +01:00
Jakub Dorňák
989e347e7f Updated to version 3.14.2 2016-09-21 10:20:57 +02:00
Jakub Dorňák
a016d3aadf skip other tests failing on different architectures 2016-08-22 21:06:29 +02:00
Jakub Dorňák
9278ce6646 test csv01.test hangs on armv7hl
(reported to upstream)
2016-08-22 10:01:11 +02:00
Jakub Dorňák
8ec1196bae Updated to version 3.14.1 2016-08-15 16:59:42 +02:00
Jakub Dorňák
e4c2a64939 Updated to version 3.13.0 2016-05-24 17:53:46 +02:00
Jakub Dorňák
7bf18aa23a Updated to version 3.12.2
(https://sqlite.org/releaselog/3_12_2.html)
2016-04-25 10:04:06 +02:00
Jan Staněk
ef9949220a Release bump for #1312506 2016-03-02 13:28:26 +01:00
Nils Philippsen
9dd40257c7 bump release 2016-02-23 14:56:37 +01:00
Nils Philippsen
9ad7728ee8 make -devel package depend on arch-specific -libs package
1) the library has moved from the main to the -libs package
2) this ensures that a -devel package always pulls in the right arch of the
-libs package, e.g. on multi-lib systems
2016-02-23 14:14:03 +01:00
Nils Philippsen
b298fdb060 make updates on multi-lib systems work
add appropriate obsoletes/conflicts to main and -libs packages (#1310441)
2016-02-23 14:09:23 +01:00
Jan Staněk
dd10d16dca Updated to version 3.11.0 (https://sqlite.org/releaselog/3_11_0.html) 2016-02-17 10:41:29 +01:00
Jan Staněk
d76b0d7fa7 Merge dist-git 2016-02-08 16:38:15 +01:00
Jan Staněk
262f80098c Split the shared libraries to standalone subpackage 2016-02-08 16:35:43 +01:00
Fedora Release Engineering
eed63c6fb9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 00:31:46 +00:00
Jan Staněk
12d1f9dbab JSON1 extension typo fix 2016-01-26 12:28:37 +01:00
Jan Staněk
aa93283a6a Updated to version 3.10.2 (http://sqlite.org/releaselog/3_10_2.html)
- Enabled JSON1 Extension (rhbz#1277387)
- Made test failure nonfatal on MIPS (rhbz#1294888)
2016-01-22 11:02:57 +01:00
Jan Staněk
90f5d3b148 Updated to version 3.10.0 (http://sqlite.org/releaselog/3_10_0.html) 2016-01-13 12:41:02 +01:00
Jan Staněk
8f95779ee5 Updated to version 3.9.2 (http://sqlite.org/releaselog/3_9_2.html) 2015-12-21 15:13:34 +01:00
Jan Staněk
e6061f0e46 Add autoconf amalgamation for stage2 builds. 2015-12-10 13:07:36 +01:00
Jaromir Capik
4080e818bd Adding STAGE2 bootstrap recipe
https://fedorahosted.org/fpc/ticket/529
2015-11-05 17:22:29 +01:00
Jan Staněk
5cb00885e3 Updated to version 3.9.0 (https://sqlite.org/releaselog/3_9_0.html) 2015-10-15 10:18:49 +02:00
Jan Staněk
4181013043 Updated to version 3.8.11.1 2015-09-22 11:18:02 +02:00
Jan Staněk
aa82fcfac8 Updated to version 3.8.11 (https://sqlite.org/releaselog/3_8_11.html) 2015-07-28 16:00:10 +02:00
Jan Staněk
0ce38edc0e Enabled SQLITE_ENABLE_FTS3_PARENTHESIS extension (rhbz#1232301) 2015-06-19 11:18:43 +02:00
Dennis Gilmore
c0df793fd6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 01:33:52 +00:00
Jan Staněk
37fbe7dde1 Updated to version 3.8.10.2 (https://sqlite.org/releaselog/3_8_10_2.html) 2015-05-29 10:32:37 +02:00
Jan Staněk
90868c3c1e Updated to version 3.8.10.1 (https://www.sqlite.org/releaselog/3_8_10_1.html) 2015-05-18 10:49:28 +02:00
Jan Staněk
492fdc40b0 Updated to version 3.8.9 (https://www.sqlite.org/releaselog/3_8_9.html) 2015-04-14 11:10:23 +02:00
Jan Staněk
3c8201b11e Updated to version 3.8.8.3 (https://sqlite.org/releaselog/3_8_8_3.html) 2015-02-26 15:03:03 +01:00
Till Maas
5bfa073ea4 Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
2015-02-21 22:25:08 +01:00
Jan Staněk
bcebda6cdd Fixed out-of-date source URLs (rhbz#1188092) 2015-02-03 09:39:36 +01:00
Jan Staněk
40789bb5a6 Updated to version 3.8.8 (https://sqlite.org/releaselog/3_8_8.html)
- Recreated patches to work on current version.
2015-01-20 09:42:24 +01:00
Jan Staněk
10b7004e32 Updated to version 3.8.7.4 (http://www.sqlite.org/releaselog/3_8_7_4.html) 2014-12-12 12:39:37 +01:00
Jan Staněk
4bb8b3ead8 Updated to version 3.8.7.2 (http://sqlite.org/releaselog/3_8_7_2.html) 2014-11-25 09:53:16 +01:00
Jan Staněk
b275f4cd9b Updated to version 3.8.7 (http://sqlite.org/releaselog/3_8_7.html)
- Dropped patch for problem fixed upstream
2014-10-21 10:12:19 +02:00
Jan Staněk
7bea281fe2 Added auto-selection of Tcl version based on Fedora version 2014-08-22 11:49:05 +02:00
Jan Staněk
7515b23d4d Updated to version 3.8.6 (http://www.sqlite.org/releaselog/3_8_6.html) 2014-08-19 10:39:34 +02:00
Peter Robinson
7649f308ea - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 03:28:49 +00:00
Peter Robinson
545b5c9bf5 Re-enable tests on aarch64 now they pass again 2014-06-11 13:09:05 +01:00
Jan Staněk
129d97d351 Update to version 3.8.5 (http://www.sqlite.org/releaselog/3_8_5.html)
- Dropped patch already included upstream
2014-06-10 13:26:57 +02:00
Dennis Gilmore
052da49995 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 02:03:30 -05:00
Peter Robinson
ee36e322ac Don't make tests fail the build on aarch64 like some of the other arches 2014-06-05 12:07:40 +01:00
Jan Staněk
3c89e80445 Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86 with correct tcl_version 2014-05-28 13:07:52 +02:00
Jaroslav Škarvada
28b3474333 - Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86 2014-05-21 12:41:16 +02:00
Jan Staněk
bf31177687 Update to version 3.8.4.3 (http://www.sqlite.org/releaselog/3_8_4_3.html)
- Changed patch for rhbz#1075889 to upstream version
  Related: #1075889
2014-04-29 11:09:31 +02:00
Honza Horak
388d96395c Revert part of the upstream commit dca1945aeb3fb005, since it causes nautilus to crash Related: #1075889 2014-04-25 11:59:18 +02:00
Jan Staněk
2c2eb9ed52 Added building and shipping of sqlite3_analyzer (#1007159) 2014-04-02 16:28:53 +02:00
Jan Staněk
67e2333a5c Update to 3.8.4 (http://www.sqlite.org/releaselog/3_8_4_2.html) 2014-03-28 08:56:31 +01:00
Jan Staněk
520be4a047 Update to 3.8.4 (http://www.sqlite.org/releaselog/3_8_4.html) 2014-03-11 13:37:35 +01:00
Peter Robinson
cc31ef5051 Re-enable check on ARM/aarch64 as failing test fixed upstream for non x86 arches, modernise spec 2014-02-23 10:27:59 +00:00
Jan Staněk
34d3e20fb9 Update to 3.8.3 (http://www.sqlite.org/releaselog/3_8_3.html)
- Dropped man-page patch - included upstream
2014-02-11 12:16:54 +01:00
Peter Robinson
c79a6e8a65 Add aarch64 to all the other arch excludes for tests 2014-01-06 15:06:17 +00:00
Jan Staněk
3ccd3fa483 Update to 3.8.2 (http://www.sqlite.org/releaselog/3_8_2.html)
Removed patch already integrated into upstream
2013-12-10 09:55:10 +01:00
Debarshi Ray
6ac28fc9c6 Do not use transitive WHERE-clause constraints on LEFT JOINs (#1034714) 2013-11-26 16:52:56 +01:00
Jan Staněk
f75c937c9d Update to 3.8.1 (http://www.sqlite.org/releaselog/3_8_1.html) 2013-10-22 15:10:28 +02:00
Jan Staněk
2b63b05a01 Removed fullversioned provides and start using full version for rpm version 2013-09-26 14:42:51 +02:00
Jan Staněk
3c8f4bc2fc Added fullversioned Provides to fix broken dependency 2013-09-23 10:58:43 +02:00
Jan Staněk
fa192e70eb Dropped problematic percentile-2.1.50 test 2013-09-16 13:40:05 +02:00
Jan Staněk
3ce1b85a7d Update to 3.8.0.2 (http://sqlite.org/releaselog/3_8_0_2.html) 2013-09-05 14:20:03 +02:00
Dennis Gilmore
e2add83df3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 10:38:42 -05:00
Jan Staněk
f933cf3eba Updated upstream URL. 2013-07-31 13:36:18 +02:00
Jan Staněk
3e086960fb Update to 3.7.17 (http://www.sqlite.org/releaselog/3_7_17.html) 2013-05-22 13:38:15 +02:00
Jan Staněk
f57859a490 Added missing options to man page (#948862) 2013-05-16 14:53:08 +02:00
Jan Staněk
57925f4f66 update to 3.7.16.2 (http://www.sqlite.org/releaselog/3_7_16_2.html)
- add support for aarch64 (rerunning autoconf) (#926568)
2013-04-29 15:27:59 +02:00
Panu Matilainen
04ef11c25a - update to 3.7.16.1 2013-03-31 11:48:54 +03:00
Panu Matilainen
8cb641a39f - update to 3.7.16 2013-03-20 21:07:55 +02:00
Dennis Gilmore
85d5b02aa9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 18:29:05 -06:00
Panu Matilainen
cec23d80ef - bah, the version mangling is no longer automated... 2013-01-10 13:17:27 +02:00
Panu Matilainen
eb65935719 - update to 3.7.15.2 2013-01-10 12:41:47 +02:00
Panu Matilainen
a66e6e64e4 - fix an old incorrect date in spec changelog 2012-12-13 14:22:46 +02:00
Panu Matilainen
a795cf9dfc - update to 3.7.15 2012-12-13 14:21:23 +02:00
Panu Matilainen
9b7e5c5bbd - Meh, new-sources ate -doc as there's no separate version for 3.7.14.1 2012-11-06 16:37:17 +02:00
Panu Matilainen
d13a48a372 - update to 3.7.14.1 2012-11-06 16:03:11 +02:00
Panu Matilainen
7db5b83830 - update to 3.7.14 2012-10-03 13:56:37 +03:00
Dennis Gilmore
a38baf5650 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 15:50:15 -05:00
Panu Matilainen
d2196c88af - update to 3.7.13 (http://www.sqlite.org/releaselog/3_7_13.html)
- drop no longer needed savepoint relase patch
2012-06-25 17:01:18 +03:00
Panu Matilainen
9e4dd640a8 - don't abort pending queries on release of nested savepoint (#821642) 2012-06-01 10:15:01 +03:00
Panu Matilainen
54145bd8e4 - run test-suite with MALLOC_CHECK_=3
- disable buggy malloc_usable_size code (#801981)
2012-04-25 09:42:32 +03:00
Panu Matilainen
7712aba608 - update to 3.7.11 2012-03-26 10:40:34 +03:00
Panu Matilainen
c5aa6a5c7d - update to 3.7.10 2012-03-08 08:07:58 +02:00
Dennis Gilmore
55d15c1382 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 22:21:08 -06:00
Panu Matilainen
f09581c42a - update to 3.7.9 2011-11-22 18:50:41 +02:00
Panu Matilainen
649a471531 - update to 3.7.8 2011-10-28 16:02:56 +03:00
Panu Matilainen
30d0e9aa29 - update to 3.7.7.1
- autoconf no longer needed for build, libdl check finally upstreamed
- nodirsync test-suite fiddling no longer seems necessary
- update the broken oserror test patch to apply
2011-07-13 10:09:23 +03:00
Panu Matilainen
cec0a298b8 - update to 3.7.6.3 2011-05-25 12:34:16 +03:00
Peter Robinson
2744a9a631 add arm to the exclude from tests list 2011-05-21 18:26:12 +01:00
Panu Matilainen
bf8a6d9be8 - Comment out stupid oserror tests which depend on system settings
on max permitted open files per user: on koji these tests "fail"
  because sqlite can open more files than a the hardcoded limit of 2000
  in the tests expect, so it never sees the errors it thinks 2000
  open files should cause. Doh.
2011-04-29 13:30:08 +03:00
Panu Matilainen
1518161595 - update to 3.7.6.2 2011-04-21 13:51:36 +03:00
Dennis Gilmore
8b94c1ffdc build tests on sparc expecting failures same as the other big endian arches 2011-02-25 15:19:51 -06:00
Dennis Gilmore
ef38f7eb9a - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 09:48:34 -06:00
Panu Matilainen
4ddb5c027f - unwanted cgi-script in docs creating broken dependencies, remove it
- make doc sub-package noarch
2011-02-02 15:41:11 +02:00
Panu Matilainen
4cd939c0fa - update to 3.7.5 2011-02-01 10:51:14 +02:00
Panu Matilainen
e5b14b43aa - update to 3.7.4
- deal with upstream source naming, versioning and format changing
- fixup wal2-test expections wrt SQLITE_DISABLE_DIRSYNC use
2010-12-09 14:18:57 +02:00
Dan Horák
abaefeeb05 - expect test failures also on s390x 2010-11-05 16:21:28 +01:00
Panu Matilainen
74b92869c3 - update to 3.7.3 2010-11-01 14:04:40 +02:00
Tom "spot" Callaway
c2b9045477 enable SQLITE_SECURE_DELETE, SQLITE_ENABLE_UNLOCK_NOTIFY for firefox 4 2010-09-07 12:13:34 -04:00
Panu Matilainen
13839730a0 - update to 3.7.0.1 2010-08-13 12:52:31 +03:00
Fedora Release Engineering
12604fe78d dist-git conversion 2010-07-29 13:07:12 +00:00
Dan Horák
926f717bf4 - some tests are failing on s390 and ppc/ppc64 so don't fail the whole
build there
2010-07-03 11:57:52 +00:00
Panu Matilainen
bf978b4a5f - update to 3.6.23.1 2010-04-19 12:01:52 +00:00
Panu Matilainen
e3525490a2 - update to 3.6.23
- drop the lemon sprintf patch, upstream doesn't want it
- make test-suite errors fail build finally
2010-03-10 15:20:36 +00:00
Panu Matilainen
a11024b7ab - update to 3.6.22 2010-01-18 12:20:19 +00:00
Panu Matilainen
f3b16591ce - update to 3.6.21 2009-12-08 07:16:40 +00:00
Bill Nottingham
a3289c98ce Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:15:36 +00:00
Panu Matilainen
a237aeba67 - update to 3.6.20 2009-11-19 11:17:46 +00:00
Panu Matilainen
983c062eea - gah, fuzzing with sources... 2009-10-06 06:45:11 +00:00
Panu Matilainen
c7084d09dd - update to 3.6.18 (http://www.sqlite.org/releaselog/3_6_18.html)
- drop no longer needed test-disabler patches
2009-10-06 06:38:53 +00:00
Panu Matilainen
61184f52c3 - update to 3.6.17
- disable to failing tests until upstream fixes
2009-08-21 10:23:52 +00:00
Jesse Keating
3e3691c44a - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-27 04:43:48 +00:00
Panu Matilainen
e479b786b7 - update to 3.6.14.2 (#505229) 2009-06-12 10:34:58 +00:00
Panu Matilainen
a3b00fbea1 - disable rpath
- add -doc subpackage instead of patching out reference to it
2009-05-18 08:06:21 +00:00
Panu Matilainen
953d3963bc - remember to upload new sources too, duh.. 2009-05-14 12:33:42 +00:00
Panu Matilainen
a80e2df17d - update to 3.6.14 2009-05-14 12:09:11 +00:00
Panu Matilainen
83462ab867 - fixup io-test fsync expectations wrt SQLITE_DISABLE_DIRSYNC 2009-05-14 09:24:05 +00:00
Panu Matilainen
9d202ae946 - merge-review cosmetics (#226429)
- drop ancient sqlite3 obsoletes
- fix tab vs space whitespace issues
- remove commas from summaries
2009-05-14 08:46:20 +00:00
Panu Matilainen
0c6ef34f6e - update to 3.6.13 2009-04-15 17:20:59 +00:00
13 changed files with 878 additions and 171 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

4
.gitignore vendored
View File

@ -1 +1,3 @@
sqlite-3.6.12.tar.gz
/sqlite-*.zip
/sqlite-autoconf-*.tar.gz
/sqlite-*/

23
STAGE2-sqlite Normal file
View File

@ -0,0 +1,23 @@
#####################################################
# sqlite is choking on sqlite_int64 definition
#####################################################
mcd $BUILDDIR/sqlite
export CFLAGS="$RPM_OPT_FLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -Wall -fno-strict-aliasing"
$SRC/sqlite-*/configure --disable-tcl --enable-threadsafe --enable-threads-override-locks --enable-load-extension $TCONFIGARGS
# the compile would fail here, so on a host you need to run
# tclsh ../../rpmbuild/BUILD/sqlite-src-3070500/tool/mksqlite3h.tcl ../../rpmbuild/BUILD/sqlite-src-3070500 > sqlite3.h
cp ../../rpmbuild/BUILD/sqlite-src-*/sqlite3.h.stage1 sqlite3.h
# Also possibly add -ldl to TLIB in the Makefile
if egrep '^TLIBS.*ldl' Makefile > /dev/null
then
true
else
sed 's/^\(TLIBS = .*\)/\1 -ldl/' Makefile > Makefile.stage2
mv Makefile.stage2 Makefile
fi
make $J
make $J install

10
ci.fmf Normal file
View File

@ -0,0 +1,10 @@
/test:
summary:
Basic set of quick tests for sqlite.
discover:
- name: fedora
how: fmf
url: "https://src.fedoraproject.org/tests/sqlite.git"
ref: main
execute:
how: tmt

View File

@ -1,2 +1,3 @@
0faf8fc8ccff5297513c6532b2b4ce23 sqlite-3.6.20.tar.gz
64d1f3ad4a20f92594fd7263d408ad83 sqlite_docs_3_6_20.zip
SHA512 (sqlite-autoconf-3390200.tar.gz) = c16b50ade3c182d5473014ac0a51e2bb8a5cfc46e532c2bda77ae4d530336e2b57aa4f12dccb6aa2148d60e9289305bf20842ac95dc52f2d31df8eb5f0599de6
SHA512 (sqlite-src-3390200.zip) = a838386a48654391590ea0e1cb355d29f6f93033c3e582df7c63139adaf5119dd5a1550e913dbad0d3eafb0bfa03c4fc6dc48a334d9c45ffb8a7205a528b38f1
SHA512 (sqlite-doc-3390200.zip) = 54b9e632244b95ebf35fcaa5ce9c02381601eb442eec2ec2a809a7fe24d2cfed751581bb82fd243aaede2c935864da39fd1f1685e762826dd76fc754c7f79c0b

View File

@ -0,0 +1,24 @@
diff -up sqlite-src-3120200/configure.ac.malloc_usable_size sqlite-src-3120200/configure.ac
--- sqlite-src-3120200/configure.ac.malloc_usable_size 2016-04-25 09:46:48.134690570 +0200
+++ sqlite-src-3120200/configure.ac 2016-04-25 09:48:41.622637181 +0200
@@ -108,7 +108,7 @@ AC_CHECK_HEADERS([sys/types.h stdlib.h s
#########
# Figure out whether or not we have these functions
#
-AC_CHECK_FUNCS([fdatasync gmtime_r isnan localtime_r localtime_s malloc_usable_size strchrnul usleep utime pread pread64 pwrite pwrite64])
+AC_CHECK_FUNCS([fdatasync gmtime_r isnan localtime_r localtime_s strchrnul usleep utime pread pread64 pwrite pwrite64])
#########
# By default, we use the amalgamation (this may be changed below...)
diff -up sqlite-src-3120200/configure.malloc_usable_size sqlite-src-3120200/configure
--- sqlite-src-3120200/configure.malloc_usable_size 2016-04-25 09:47:12.594679063 +0200
+++ sqlite-src-3120200/configure 2016-04-25 09:49:28.684615042 +0200
@@ -10275,7 +10275,7 @@ done
#########
# Figure out whether or not we have these functions
#
-for ac_func in fdatasync gmtime_r isnan localtime_r localtime_s malloc_usable_size strchrnul usleep utime pread pread64 pwrite pwrite64
+for ac_func in fdatasync gmtime_r isnan localtime_r localtime_s strchrnul usleep utime pread pread64 pwrite pwrite64
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"

View File

@ -0,0 +1,14 @@
--- sqlite-src-3160100/test/date.test.orig 2017-01-04 14:48:46.113737093 +0100
+++ sqlite-src-3160100/test/date.test 2017-01-04 14:49:11.144833563 +0100
@@ -76,11 +76,6 @@ datetest 2.1c datetime(0,'unixepochx') N
datetest 2.1d datetime('2003-10-22','unixepoch') NULL
datetest 2.2 datetime(946684800,'unixepoch') {2000-01-01 00:00:00}
datetest 2.2b datetime('946684800','unixepoch') {2000-01-01 00:00:00}
-for {set i 0} {$i<1000} {incr i} {
- set sql [format {strftime('%%H:%%M:%%f',1237962480.%03d,'unixepoch')} $i]
- set res [format {06:28:00.%03d} $i]
- datetest 2.2c-$i $sql $res
-}
datetest 2.3 {date('2003-10-22','weekday 0')} 2003-10-26
datetest 2.4 {date('2003-10-22','weekday 1')} 2003-10-27
datetest 2.4a {date('2003-10-22','weekday 1')} 2003-10-27

View File

@ -0,0 +1,90 @@
--- sqlite-src-3180000/test/sync2.test.sync2-dirsync 2017-03-30 21:26:42.000000000 +0200
+++ sqlite-src-3180000/test/sync2.test 2017-04-03 13:16:14.422329691 +0200
@@ -44,6 +44,15 @@
uplevel [list do_test $tn [list execsql_sync $sql] [list {*}$res]]
}
+# Wrapper over the expected sync count, takes DIRSYNC into consideration
+proc expected_sync_count {sync_count} {
+ ifcapable dirsync {
+ return $sync_count
+ } else {
+ return [ incr sync_count -1 ]
+ }
+}
+
#-----------------------------------------------------------------------
# Tests for journal mode.
#
@@ -53,13 +62,13 @@
INSERT INTO t1 VALUES(1, 2);
}
-do_execsql_sync_test 1.1 { INSERT INTO t1 VALUES(3, 4) } 4
+do_execsql_sync_test 1.1 { INSERT INTO t1 VALUES(3, 4) } [ expected_sync_count 4 ]
# synchronous=normal. So, 1 sync on the directory, 1 on the journal, 1
# on the db file. 3 in total.
do_execsql_test 1.2.1 { PRAGMA main.synchronous = NORMAL }
do_execsql_test 1.2.2 { PRAGMA main.synchronous } 1
-do_execsql_sync_test 1.2.3 { INSERT INTO t1 VALUES(5, 6) } 3
+do_execsql_sync_test 1.2.3 { INSERT INTO t1 VALUES(5, 6) } [ expected_sync_count 3 ]
# synchronous=off. No syncs.
do_execsql_test 1.3.1 { PRAGMA main.synchronous = OFF }
@@ -70,7 +79,7 @@
# 2 on the journal, 1 on the db file. 4 in total.
do_execsql_test 1.4.1 { PRAGMA main.synchronous = FULL }
do_execsql_test 1.4.2 { PRAGMA main.synchronous } 2
-do_execsql_sync_test 1.4.3 { INSERT INTO t1 VALUES(9, 10) } 4
+do_execsql_sync_test 1.4.3 { INSERT INTO t1 VALUES(9, 10) } [ expected_sync_count 4 ]
#-----------------------------------------------------------------------
# Tests for wal mode.
@@ -79,7 +88,7 @@
# sync=full, journal_mode=wal. One sync on the directory, two on the
# wal file.
-do_execsql_sync_test 1.6 { INSERT INTO t1 VALUES(11, 12) } 3
+do_execsql_sync_test 1.6 { INSERT INTO t1 VALUES(11, 12) } [ expected_sync_count 3 ]
# One sync on the wal file.
do_execsql_sync_test 1.7 { INSERT INTO t1 VALUES(13, 14) } 1
@@ -112,7 +121,7 @@
# Wal mode, sync=normal. The first transaction does one sync on directory,
# one on the wal file. The second does no syncs.
- do_execsql_sync_test 1.11.1 { INSERT INTO t1 VALUES(19, 20) } 2
+ do_execsql_sync_test 1.11.1 { INSERT INTO t1 VALUES(19, 20) } [ expected_sync_count 2 ]
do_execsql_sync_test 1.11.2 { INSERT INTO t1 VALUES(21, 22) } 0
do_execsql_test 1.11.3 { PRAGMA main.synchronous } 1
@@ -129,14 +138,14 @@
# Delete mode, sync=full. The first transaction does one sync on
# directory, two on the journal file, one on the db. The second does
# the same.
- do_execsql_sync_test 1.15.1 { INSERT INTO t1 VALUES(26, 27) } 4
- do_execsql_sync_test 1.15.2 { INSERT INTO t1 VALUES(28, 29) } 4
+ do_execsql_sync_test 1.15.1 { INSERT INTO t1 VALUES(26, 27) } [ expected_sync_count 4 ]
+ do_execsql_sync_test 1.15.2 { INSERT INTO t1 VALUES(28, 29) } [ expected_sync_count 4 ]
do_execsql_test 1.15.3 { PRAGMA main.synchronous } 2
# Switch back to wal mode.
do_execsql_test 1.16 { PRAGMA journal_mode = wal } {wal}
- do_execsql_sync_test 1.17.1 { INSERT INTO t1 VALUES(30, 31) } 2
+ do_execsql_sync_test 1.17.1 { INSERT INTO t1 VALUES(30, 31) } [ expected_sync_count 2 ]
do_execsql_sync_test 1.17.2 { INSERT INTO t1 VALUES(32, 33) } 0
do_execsql_test 1.17.3 { PRAGMA main.synchronous } 1
@@ -152,8 +161,8 @@
# Close and reopen the db. Back to synchronous=normal.
db close
sqlite3 db test.db
- do_execsql_sync_test 1.20.1 { INSERT INTO t1 VALUES(38, 39) } 4
- do_execsql_sync_test 1.20.2 { INSERT INTO t1 VALUES(40, 41) } 4
+ do_execsql_sync_test 1.20.1 { INSERT INTO t1 VALUES(38, 39) } [ expected_sync_count 4 ]
+ do_execsql_sync_test 1.20.2 { INSERT INTO t1 VALUES(40, 41) } [ expected_sync_count 4 ]
do_execsql_test 1.20.3 { PRAGMA main.synchronous } 2
}

View File

@ -1,11 +0,0 @@
diff -up sqlite-3.6.4/configure.ac.orig sqlite-3.6.4/configure.ac
--- sqlite-3.6.4/configure.ac.orig 2008-11-08 11:37:15.000000000 +0200
+++ sqlite-3.6.4/configure.ac 2008-11-08 11:35:50.000000000 +0200
@@ -606,6 +606,7 @@ AC_ARG_ENABLE(load-extension, AC_HELP_ST
[use_loadextension=$enableval],[use_loadextension=no])
if test "${use_loadextension}" = "yes" ; then
OPT_FEATURE_FLAGS=""
+ AC_SEARCH_LIBS(dlopen, [dl])
else
OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1"
fi

View File

@ -0,0 +1,13 @@
diff --git a/tool/lemon.c b/tool/lemon.c
index 54c8946..ac14a06 100644
--- a/tool/lemon.c
+++ b/tool/lemon.c
@@ -3668,6 +3668,8 @@ PRIVATE FILE *tplt_open(struct lemon *lemp)
tpltname = buf;
}else if( access(templatename,004)==0 ){
tpltname = templatename;
+ }else if( access("/usr/share/lemon/lempar.c", R_OK)==0){
+ tpltname = "/usr/share/lemon/lempar.c";
}else{
toFree = tpltname = pathsearch(lemp->argv0,templatename,0);
}

View File

@ -1,111 +0,0 @@
diff -up sqlite-3.6.6.2/tool/lemon.c.lemparpath sqlite-3.6.6.2/tool/lemon.c
--- sqlite-3.6.6.2/tool/lemon.c.lemparpath 2008-12-05 20:37:49.000000000 +0200
+++ sqlite-3.6.6.2/tool/lemon.c 2008-12-05 20:44:08.000000000 +0200
@@ -1324,15 +1324,15 @@ void ErrorMsg(const char *filename, int
va_start(ap, format);
/* Prepare a prefix to be prepended to every output line */
if( lineno>0 ){
- sprintf(prefix,"%.*s:%d: ",PREFIXLIMIT-10,filename,lineno);
+ snprintf(prefix,sizeof prefix,"%.*s:%d: ",PREFIXLIMIT-10,filename,lineno);
}else{
- sprintf(prefix,"%.*s: ",PREFIXLIMIT-10,filename);
+ snprintf(prefix,sizeof prefix,"%.*s: ",PREFIXLIMIT-10,filename);
}
prefixsize = lemonStrlen(prefix);
availablewidth = LINEWIDTH - prefixsize;
/* Generate the error message */
- vsprintf(errmsg,format,ap);
+ vsnprintf(errmsg,sizeof errmsg,format,ap);
va_end(ap);
errmsgsize = lemonStrlen(errmsg);
/* Remove trailing '\n's from the error message. */
@@ -2911,7 +2911,7 @@ struct lemon *lemp;
while( cfp ){
char buf[20];
if( cfp->dot==cfp->rp->nrhs ){
- sprintf(buf,"(%d)",cfp->rp->index);
+ snprintf(buf,sizeof buf,"(%d)",cfp->rp->index);
fprintf(fp," %5s ",buf);
}else{
fprintf(fp," ");
@@ -2966,6 +2966,7 @@ int modemask;
{
char *pathlist;
char *path,*cp;
+ size_t pathsz;
char c;
#ifdef __WIN32__
@@ -2976,21 +2977,21 @@ int modemask;
if( cp ){
c = *cp;
*cp = 0;
- path = (char *)malloc( lemonStrlen(argv0) + lemonStrlen(name) + 2 );
- if( path ) sprintf(path,"%s/%s",argv0,name);
+ path = (char *)malloc((pathsz=lemonStrlen(argv0) + lemonStrlen(name) + 2));
+ if( path ) snprintf(path,pathsz,"%s/%s",argv0,name);
*cp = c;
}else{
extern char *getenv();
pathlist = getenv("PATH");
if( pathlist==0 ) pathlist = ".:/bin:/usr/bin";
- path = (char *)malloc( lemonStrlen(pathlist)+lemonStrlen(name)+2 );
+ path = (char *)malloc((pathsz=lemonStrlen(pathlist)+lemonStrlen(name)+2));
if( path!=0 ){
while( *pathlist ){
cp = strchr(pathlist,':');
if( cp==0 ) cp = &pathlist[lemonStrlen(pathlist)];
c = *cp;
*cp = 0;
- sprintf(path,"%s/%s",pathlist,name);
+ snprintf(path,pathsz,"%s/%s",pathlist,name);
*cp = c;
if( c==0 ) pathlist = "";
else pathlist = &cp[1];
@@ -3070,14 +3071,16 @@ struct lemon *lemp;
cp = strrchr(lemp->filename,'.');
if( cp ){
- sprintf(buf,"%.*s.lt",(int)(cp-lemp->filename),lemp->filename);
+ snprintf(buf,sizeof buf,"%.*s.lt",(int)(cp-lemp->filename),lemp->filename);
}else{
- sprintf(buf,"%s.lt",lemp->filename);
+ snprintf(buf,sizeof buf,"%s.lt",lemp->filename);
}
if( access(buf,004)==0 ){
tpltname = buf;
}else if( access(templatename,004)==0 ){
tpltname = templatename;
+ }else if( access("/usr/share/lemon/lempar.c",004)==0 ){
+ tpltname = "/usr/share/lemon/lempar.c";
}else{
tpltname = pathsearch(lemp->argv0,templatename,0);
}
@@ -3089,7 +3092,7 @@ struct lemon *lemp;
}
in = fopen(tpltname,"rb");
if( in==0 ){
- fprintf(stderr,"Can't open the template file \"%s\".\n",templatename);
+ fprintf(stderr,"Can't open the template file \"%s\".\n",tpltname);
lemp->errorcnt++;
return 0;
}
@@ -3827,7 +3830,7 @@ int mhflag; /* Output in makeheaders
/* Generate a table containing the symbolic name of every symbol
*/
for(i=0; i<lemp->nsymbol; i++){
- sprintf(line,"\"%s\",",lemp->symbols[i]->name);
+ snprintf(line,sizeof line,"\"%s\",",lemp->symbols[i]->name);
fprintf(out," %-15s",line);
if( (i&3)==3 ){ fprintf(out,"\n"); lineno++; }
}
@@ -3983,7 +3986,7 @@ struct lemon *lemp;
in = file_open(lemp,".h","rb");
if( in ){
for(i=1; i<lemp->nterminal && fgets(line,LINESIZE,in); i++){
- sprintf(pattern,"#define %s%-30s %2d\n",prefix,lemp->symbols[i]->name,i);
+ snprintf(pattern,sizeof pattern,"#define %s%-30s %2d\n",prefix,lemp->symbols[i]->name,i);
if( strcmp(line,pattern) ) break;
}
fclose(in);

View File

@ -0,0 +1,15 @@
# On i686 arch the removed test fails with result 2749999.50004681 instead of expected
# 2749999.5. This patch is temporary workaround and should be dropped as soon as a valid
# fix is found.
diff -up sqlite-src-3080002/test/percentile.test.broken sqlite-src-3080002/test/percentile.test
--- sqlite-src-3080002/test/percentile.test.broken 2013-09-16 13:19:53.406004041 +0200
+++ sqlite-src-3080002/test/percentile.test 2013-09-16 13:20:00.079024945 +0200
@@ -195,7 +195,6 @@ ifcapable vtab {
foreach {in out} {
0 0.0
100 9999990.0
- 50 2749999.5
10 99999.9
} {
do_test percentile-2.1.$in {

View File

@ -1,35 +1,53 @@
# bcond default logic is nicely backwards...
%bcond_without tcl
%bcond_without sqldiff
%bcond_with static
%bcond_without check
# upstream doesn't provide separate -docs sources for all minor releases
%define basever 3.6.20
%define docver %(echo %{basever}|sed -e "s/\\./_/g")
%define realver 3390200
%define docver 3390200
%define rpmver 3.39.2
%define year 2022
Summary: Library that implements an embeddable SQL database engine
Name: sqlite
Version: %{basever}
Release: 1%{?dist}
Version: %{rpmver}
Release: 2%{?dist}
License: Public Domain
Group: Applications/Databases
URL: http://www.sqlite.org/
Source0: http://www.sqlite.org/sqlite-%{version}.tar.gz
Source1: http://www.sqlite.org/sqlite_docs_%{docver}.zip
# Fix build with --enable-load-extension, upstream ticket #3137
Patch1: sqlite-3.6.12-libdl.patch
# Avoid insecure sprintf(), use a system path for lempar.c, patch from Debian
Patch2: sqlite-3.6.6.2-lemon-snprintf.patch
Source0: http://www.sqlite.org/%{year}/sqlite-src-%{realver}.zip
Source1: http://www.sqlite.org/%{year}/sqlite-doc-%{docver}.zip
Source2: http://www.sqlite.org/%{year}/sqlite-autoconf-%{realver}.tar.gz
# Support a system-wide lemon template
Patch1: sqlite-3.6.23-lemon-system-template.patch
# sqlite >= 3.7.10 is buggy if malloc_usable_size() is detected, disable it:
# https://bugzilla.redhat.com/show_bug.cgi?id=801981
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665363
Patch2: sqlite-3.12.2-no-malloc-usable-size.patch
# Temporary workaround for failed percentile test, see patch for details
Patch3: sqlite-3.8.0-percentile-test.patch
# Disable test date-2.2c on i686
Patch4: sqlite-3.16-datetest-2.2c.patch
# Modify sync2.test to pass with DIRSYNC turned off
Patch5: sqlite-3.18.0-sync2-dirsync.patch
BuildRequires: make
BuildRequires: gcc
BuildRequires: ncurses-devel readline-devel glibc-devel
# libdl patch needs
BuildRequires: autoconf
%if %{with tcl}
BuildRequires: /usr/bin/tclsh
BuildRequires: tcl-devel
%{!?tcl_version: %global tcl_version 8.5}
%{!?tcl_version: %global tcl_version 8.6}
%{!?tcl_sitearch: %global tcl_sitearch %{_libdir}/tcl%{tcl_version}}
%endif
BuildRoot: %{_tmppath}/%{name}-root
Requires: %{name}-libs = %{version}-%{release}
# Ensure updates from pre-split work on multi-lib systems
Obsoletes: %{name} < 3.11.0-1
Conflicts: %{name} < 3.11.0-1
%description
SQLite is a C library that implements an SQL database engine. A large
@ -42,8 +60,7 @@ are named to permit each to be installed on a single host
%package devel
Summary: Development tools for the sqlite3 embeddable SQL database engine
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description devel
@ -51,9 +68,19 @@ This package contains the header files and development documentation
for %{name}. If you like to develop programs using %{name}, you will need
to install %{name}-devel.
%package libs
Summary: Shared library for the sqlite3 embeddable SQL database engine.
# Ensure updates from pre-split work on multi-lib systems
Obsoletes: %{name} < 3.11.0-1
Conflicts: %{name} < 3.11.0-1
%description libs
This package contains the shared library for %{name}.
%package doc
Summary: Documentation for sqlite
Group: Documentation
BuildArch: noarch
%description doc
This package contains most of the static HTML files that comprise the
@ -62,7 +89,6 @@ C/C++ interface specs and other miscellaneous documentation.
%package -n lemon
Summary: A parser generator
Group: Development/Tools
%description -n lemon
Lemon is an LALR(1) parser generator for C or C++. It does the same
@ -75,41 +101,103 @@ that can be used to eliminate resource leaks, making is suitable for
use in long-running programs such as graphical user interfaces or
embedded controllers.
%if %{with sqldiff}
%package tools
Summary: %{name} tools
Group: Development/Tools
%description tools
%{name} related tools. Currently contains only sqldiff.
- sqldiff: The sqldiff binary is a command-line utility program
that displays the differences between SQLite databases.
%endif
%if %{with tcl}
%package tcl
Summary: Tcl module for the sqlite3 embeddable SQL database engine
Group: Development/Languages
Requires: %{name} = %{version}-%{release}
Requires: tcl(abi) = %{tcl_version}
%description tcl
This package contains the tcl modules for %{name}.
%package analyzer
Summary: An analysis program for sqlite3 database files
Requires: %{name} = %{version}-%{release}
Requires: tcl(abi) = %{tcl_version}
%description analyzer
This package contains the analysis program for %{name}.
%endif
%prep
%setup -q -a1
%patch1 -p1 -b .libdl
%patch2 -p1 -b .lemon-sprintf
%setup -q -a1 -n %{name}-src-%{realver}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%ifarch %{ix86}
%patch4 -p1
%endif
%patch5 -p1
# The atof test is failing on the i686 architecture, when binary configured with
# --enable-rtree option. Failing part is text->real conversion and
# text->real->text conversion in lower significant values after decimal point in a number.
%ifarch == i686
rm test/atof1.test
%endif
# Remove backup-file
rm -f %{name}-doc-%{docver}/sqlite.css~ || :
autoupdate
autoconf # Rerun with new autoconf to add support for aarm64
%build
autoconf
export CFLAGS="$RPM_OPT_FLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_FTS3=3 -DSQLITE_ENABLE_RTREE=1 -Wall -fno-strict-aliasing"
# following CFLAGS are not possible to set via the configure script
export CFLAGS="$RPM_OPT_FLAGS $RPM_LD_FLAGS \
-DSQLITE_ENABLE_COLUMN_METADATA=1 \
-DSQLITE_DISABLE_DIRSYNC=1 \
-DSQLITE_SECURE_DELETE=1 \
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
-DSQLITE_ENABLE_FTS3_PARENTHESIS=1 \
-DSQLITE_ENABLE_DBPAGE_VTAB \
-Wall -fno-strict-aliasing"
%ifarch == aarch64
export CFLAGS="$CFLAGS -mbranch-protection=standard"
%endif
%configure %{!?with_tcl:--disable-tcl} \
--enable-rtree \
--enable-fts3 \
--enable-fts4 \
--enable-fts5 \
--enable-threadsafe \
--enable-threads-override-locks \
--enable-load-extension \
%{?with_tcl:TCLLIBDIR=%{tcl_sitearch}/sqlite3}
# rpath removal
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
%make_build
# Build sqlite3_analyzer
# depends on tcl
%if %{with tcl}
%make_build sqlite3_analyzer
%endif
# Build sqldiff
%if %{with sqldiff}
%make_build sqldiff
%endif
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=${RPM_BUILD_ROOT} install
%make_install
install -D -m0644 sqlite3.1 $RPM_BUILD_ROOT/%{_mandir}/man1/sqlite3.1
install -D -m0755 lemon $RPM_BUILD_ROOT/%{_bindir}/lemon
@ -118,6 +206,13 @@ install -D -m0644 tool/lempar.c $RPM_BUILD_ROOT/%{_datadir}/lemon/lempar.c
%if %{with tcl}
# fix up permissions to enable dep extraction
chmod 0755 ${RPM_BUILD_ROOT}/%{tcl_sitearch}/sqlite3/*.so
# Install sqlite3_analyzer
install -D -m0755 sqlite3_analyzer $RPM_BUILD_ROOT/%{_bindir}/sqlite3_analyzer
%endif
# Install sqldiff
%if %{with sqldiff}
install -D -m0755 sqldiff $RPM_BUILD_ROOT/%{_bindir}/sqldiff
%endif
%if ! %{with static}
@ -126,28 +221,30 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/*.{la,a}
%if %{with check}
%check
# let this fail for now:
# - five nan-test broken on PPC (upstream ticket #3404)
# - bunch of rtree-tests failing on PPC atm
make test ||:
# XXX shell tests are broken due to loading system libsqlite3, work around...
export LD_LIBRARY_PATH=`pwd`/.libs
export MALLOC_CHECK_=3
# csv01 hangs on all non-intel archs i've tried
%ifarch x86_64 %{ix86}
%else
rm test/csv01.test
%endif
%clean
rm -rf $RPM_BUILD_ROOT
make test
%endif #with check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets libs
%files
%defattr(-, root, root)
%doc README
%{_bindir}/sqlite3
%{_libdir}/*.so.*
%{_mandir}/man?/*
%files libs
%doc README.md
%{_libdir}/*.so.*
%files devel
%defattr(-, root, root)
%{_includedir}/*.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
@ -157,21 +254,560 @@ rm -rf $RPM_BUILD_ROOT
%endif
%files doc
%defattr(-, root, root)
%doc %{name}-%{docver}-docs/*
%doc %{name}-doc-%{docver}/*
%files -n lemon
%defattr(-, root, root)
%{_bindir}/lemon
%{_datadir}/lemon
%if %{with tcl}
%files tcl
%defattr(-, root, root)
%{tcl_sitearch}/sqlite3
%if %{with sqldiff}
%files tools
%{_bindir}/sqldiff
%endif
%files analyzer
%{_bindir}/sqlite3_analyzer
%endif
%changelog
* Fri Jul 29 2022 Zuzana Miklankova <zmiklank@redhat.com> - 3.39.2-1
- Updated to version 3.39.2 (https://sqlite.org/releaselog/3_39_2.html)
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.39.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jul 18 2022 Zuzana Miklankova <zmiklank@redhat.com> - 3.39.1-1
- Updated to version 3.39.1 (https://sqlite.org/releaselog/3_39_1.html)
* Mon Jun 27 2022 Zuzana Miklankova <zmiklank@redhat.com> - 3.39.0-1
- Updated to version 3.39.0 (https://sqlite.org/releaselog/3_39_0.html)
* Thu Jun 09 2022 Zuzana Miklankova <zmiklank@redhat.com> - 3.38.5-2
- Fix build error --without sqldiff
- Fix typo in changelog
* Mon May 09 2022 Zuzana Miklankova <zmiklank@redhat.com> - 3.38.5-1
- Updated to version 3.38.5 (https://sqlite.org/releaselog/3_38_5.html)
* Mon May 02 2022 Zuzana Miklankova <zmiklank@redhat.com> - 3.38.3-2
- add flag -mbranch-protection=standard for aarch64
- remove configure flag --enable-json1, as this is default from 3.38.0
- run autoupdate before autoconf in %prep
* Thu Apr 28 2022 Zuzana Miklankova <zmiklank@redhat.com> - 3.38.3-1
- Updated to version 3.38.3 (https://sqlite.org/releaselog/3_38_3.html)
* Thu Apr 07 2022 Zuzana Miklankova <zmiklank@redhat.com> - 3.38.2-1
- Updated to version 3.38.2 (https://sqlite.org/releaselog/3_38_2.html)
* Wed Mar 23 2022 Zuzana Miklankova <zmiklank@redhat.com> - 3.38.1-1
- Updated to version 3.38.1 (https://sqlite.org/releaselog/3_38_1.html)
* Thu Mar 03 2022 Zuzana Miklankova <zmiklank@redhat.com> - 3.38.0-1
- Updated to version 3.38.0 (https://sqlite.org/releaselog/3_38_0.html)
- Set flags with configure script, whenever possible
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.36.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Aug 18 2021 Ondrej Dubaj <odubaj@redhat.com> - 3.36.0-4
- Enabled SQLITE_DBPAGE virtual table (#1973454)
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.36.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon Jul 12 2021 Ondrej Dubaj <odubaj@redhat.com> - 3.36.0-2
- Support SHA-1 algorithms in sqlite (revert)
* Thu Jul 01 2021 Ondrej Dubaj <odubaj@redhat.com> - 3.36.0-1
- Updated to version 3.36.0 (https://sqlite.org/releaselog/3_36_0.html)
* Tue Apr 20 2021 Ondrej Dubaj <odubaj@redhat.com> - 3.35.5-1
- Updated to version 3.35.5 (https://sqlite.org/releaselog/3_35_5.html)
* Thu Apr 15 2021 Ondrej Dubaj <odubaj@redhat.com> - 3.35.4-3
- Remove SHA-1 algorithms according to its deprecation in RHEL-9 (#1935442)
* Wed Apr 14 2021 Ondrej Dubaj <odubaj@redhat.com> - 3.35.4-2
- Fixed handling LIKE experrsion in WHERE clause (#1947883)
* Tue Apr 06 2021 Ondrej Dubaj <odubaj@redhat.com> - 3.35.4-1
- Updated to version 3.35.4 (https://sqlite.org/releaselog/3_35_4.html)
* Fri Mar 26 2021 Ondrej Dubaj <odubaj@redhat.com> - 3.35.3-1
- Updated to version 3.35.3 (https://sqlite.org/releaselog/3_35_3.html)
* Thu Mar 18 2021 Ondrej Dubaj <odubaj@redhat.com> - 3.35.2-1
- Updated to version 3.35.2 (https://sqlite.org/releaselog/3_35_2.html)
* Tue Mar 16 2021 Ondrej Dubaj <odubaj@redhat.com> - 3.35.1-1
- Updated to version 3.35.1 (https://sqlite.org/releaselog/3_35_1.html)
* Mon Mar 15 2021 Ondrej Dubaj <odubaj@redhat.com> - 3.35.0-1
- Updated to version 3.35.0 (https://sqlite.org/releaselog/3_35_0.html)
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.34.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Jan 21 2021 Ondrej Dubaj <odubaj@redhat.com> - 3.34.1-1
- Updated to version 3.34.1 (https://sqlite.org/releaselog/3_34_1.html)
* Wed Dec 02 2020 Ondrej Dubaj <odubaj@redhat.com> - 3.34.0-1
- Updated to version 3.34.0 (https://sqlite.org/releaselog/3_34_0.html)
- Enabled fts3conf.test on s390x and ppc64 architectures
* Fri Oct 09 2020 Sheng Mao <shngmao@gmail.com> - 3.33.0-2
- Enable FTS4 extensions (rhbz#1887106)
* Fri Aug 14 2020 Ondrej Dubaj <odubaj@redhat.com> - 3.33.0-1
- Updated to version 3.33.0 (https://sqlite.org/releaselog/3_33_0.html)
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.32.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 3.32.3-2
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Fri Jun 19 2020 Ondrej Dubaj <odubaj@redhat.com> - 3.32.3-1
- Updated to version 3.32.3 (https://sqlite.org/releaselog/3_32_3.html)
* Fri Jun 05 2020 Ondrej Dubaj <odubaj@redhat.com> - 3.32.2-1
- Updated to version 3.32.2 (https://sqlite.org/releaselog/3_32_2.html)
* Tue May 26 2020 Ondrej Dubaj <odubaj@redhat.com> - 3.32.1-1
- Updated to version 3.32.1 (https://sqlite.org/releaselog/3_32_1.html)
* Mon May 25 2020 Ondrej Dubaj <odubaj@redhat.com> - 3.32.0-1
- Updated to version 3.32.0 (https://sqlite.org/releaselog/3_32_0.html)
* Wed Feb 05 2020 Ondrej Dubaj <odubaj@redhat.com> - 3.31.1-1
- Updated to version 3.31.1 (https://sqlite.org/releaselog/3_31_1.html)
- updated spec file, deleted useless patches
- Resolved s390 arch incompatibility
- Modified FTS tests to support big endian platforms
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.30.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Jan 20 2020 Petr Kubat <pkubat@redhat.com> - 3.30.1-3
- introduce sqlite-tools package
* Thu Jan 9 2020 Tom Callaway <spot@fedoraproject.org> - 3.30.1-2
- apply upstream fix for CVE-2019-19926 (bz1789441)
* Mon Oct 14 2019 Petr Kubat <pkubat@redhat.com> - 3.30.1-1
- Updated to version 3.30.1 (https://sqlite.org/releaselog/3_30_1.html)
* Mon Oct 07 2019 Ondrej Dubaj <odubaj@redhat.com> - 3.30.0-1
- Updated to version 3.30.0 (https://sqlite.org/releaselog/3_30_0.html)
- updated spec file, deleted useless patches
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.29.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Jul 16 2019 Petr Kubat <pkubat@redhat.com> - 3.29.0-1
- Updated to version 3.29.0 (https://sqlite.org/releaselog/3_29_0.html)
- Remove stupid-openfiles-test patch as the upstream test should now
work properly even on systems with larger number of file descriptors
Related: https://sqlite.org/src/info/a27b0b880d76c683
* Mon May 13 2019 Petr Kubat <pkubat@redhat.com> - 3.28.0-1
- Updated to version 3.28.0 (https://sqlite.org/releaselog/3_28_0.html)
* Thu Feb 28 2019 Petr Kubat <pkubat@redhat.com> - 3.27.2-1
- Updated to version 3.27.2 (https://sqlite.org/releaselog/3_27_2.html)
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.26.0-3
- Rebuild for readline 8.0
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.26.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Dec 12 2018 Petr Kubat <pkubat@redhat.com> - 3.26.0-1
- Updated to version 3.26.0 (https://sqlite.org/releaselog/3_26_0.html)
* Thu Oct 11 2018 Petr Kubat <pkubat@redhat.com> - 3.25.2-1
- Updated to version 3.25.2 (https://sqlite.org/releaselog/3_25_2.html)
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.24.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 05 2018 Petr Kubat <pkubat@redhat.com> - 3.24.0-1
- Updated to version 3.24.0 (https://sqlite.org/releaselog/3_24_0.html)
* Wed Apr 11 2018 Petr Kubat <pkubat@redhat.com> - 3.23.1-1
- Updated to version 3.23.1 (https://sqlite.org/releaselog/3_23_1.html)
* Tue Apr 03 2018 Petr Kubat <pkubat@redhat.com> - 3.23.0-1
- Updated to version 3.23.0 (https://sqlite.org/releaselog/3_23_0.html)
* Wed Mar 21 2018 Petr Kubat <pkubat@redhat.com> - 3.22.0-4
- Fixed CVE-2018-8740 (#1558809)
* Fri Feb 9 2018 Florian Weimer <fweimer@redhat.com> - 3.22.0-3
- Use LDFLAGS from redhat-rpm-config for building lemon, too
* Mon Feb 05 2018 Petr Kubat <pkubat@redhat.com> - 3.22.0-2
- Fixed issue with some walro2 tests failing on ppc64
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.22.0-2
- Switch to %%ldconfig_scriptlets
* Thu Jan 25 2018 Petr Kubat <pkubat@redhat.com> - 3.22.0-1
- Fixed issue with some e_expr tests failing i686
- Fixed issue with a fts3rank test failing on big-endian systems
* Tue Jan 23 2018 Petr Kubat <pkubat@redhat.com> - 3.22.0-1
- Updated to version 3.22.0 (https://sqlite.org/releaselog/3_22_0.html)
* Wed Nov 01 2017 Petr Kubat <pkubat@redhat.com> - 3.21.0-1
- Updated to version 3.21.0 (https://sqlite.org/releaselog/3_21_0.html)
* Mon Aug 28 2017 Petr Kubat <pkubat@redhat.com> - 3.20.1-1
- Updated to version 3.20.1 (https://sqlite.org/releaselog/3_20_1.html)
* Tue Aug 22 2017 Kalev Lember <klember@redhat.com> - 3.20.0-2
- Build with --enable-fts5
* Wed Aug 02 2017 Petr Kubat <pkubat@redhat.com> - 3.20.0-1
- Updated to version 3.20.0 (https://sqlite.org/releaselog/3_20_0.html)
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.19.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed Jul 12 2017 Petr Kubat <pkubat@redhat.com> - 3.19.3-1
- Updated to version 3.19.3 (https://sqlite.org/releaselog/3_19_3.html)
- Better detection of CVE-2017-10989 (#1469673)
* Thu May 25 2017 Petr Kubat <pkubat@redhat.com> - 3.19.1-1
- Updated to version 3.19.1 (https://sqlite.org/releaselog/3_19_1.html)
* Mon Apr 03 2017 Petr Kubat <pkubat@redhat.com> - 3.18.0-1
- Updated to version 3.18.0 (https://sqlite.org/releaselog/3_18_0.html)
- Modify sync2.test to pass with DIRSYNC turned off
* Thu Mar 02 2017 Petr Kubat <pkubat@redhat.com> - 3.17.0-2
- Rebuild using newest gcc (#1428286)
* Tue Feb 21 2017 Petr Kubat <pkubat@redhat.com> - 3.17.0-1
- Updated to version 3.17.0 (https://sqlite.org/releaselog/3_17_0.html)
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.16.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 3.16.2-2
- Rebuild for readline 7.x
* Sat Jan 7 2017 Jakub Dorňák <jakub.dornak@misli.cz> - 3.16.2-1
- Updated to version 3.16.2 (https://sqlite.org/releaselog/3_16_2.html)
* Wed Jan 4 2017 Jakub Dorňák <jakub.dornak@misli.cz> - 3.16.1-1
- Updated to version 3.16.1 (https://sqlite.org/releaselog/3_16_1.html)
* Tue Jan 3 2017 Jakub Dorňák <jakub.dornak@misli.cz> - 3.16.0-1
- Updated to version 3.16.0 (https://sqlite.org/releaselog/3_16_0.html)
* Wed Sep 21 2016 Jakub Dorňák <jdornak@redhat.com> - 3.14.2-1
- Updated to version 3.14.2 (https://sqlite.org/releaselog/3_14_2.html)
* Mon Aug 15 2016 Jakub Dorňák <jdornak@redhat.com> - 3.14.1-1
- Updated to version 3.14.1 (https://sqlite.org/releaselog/3_14_1.html)
* Tue May 24 2016 Jakub Dorňák <jdornak@redhat.com> - 3.13.0-1
- Updated to version 3.13.0 (https://sqlite.org/releaselog/3_13_0.html)
* Mon Apr 25 2016 Jakub Dorňák <jdornak@redhat.com> - 3.12.2-1
- Updated to version 3.12.2 (https://sqlite.org/releaselog/3_12_2.html)
* Wed Mar 02 2016 Jan Stanek <jstanek@redhat.com> - 3.11.0-3
- Release bump for #1312506
* Tue Feb 23 2016 Nils Philippsen <nils@redhat.com> - 3.11.0-2
- add obsoletes/conflicts to make updates on multi-lib systems work (#1310441)
- make -devel package depend on arch-specific -libs (not main) package
* Wed Feb 17 2016 Jan Stanek <jstanek@redhat.com> - 3.11.0-1
- Updated to version 3.11.0 (https://sqlite.org/releaselog/3_11_0.html)
* Mon Feb 08 2016 Jan Stanek <jstanek@redhat.com> - 3.10.2-3
- Split the shared libraries to standalone subpackage
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jan 22 2016 Jan Stanek <jstanek@redhat.com> - 3.10.2-1
- Updated to version 3.10.2 (http://sqlite.org/releaselog/3_10_2.html)
- Enabled JSON1 Extension (rhbz#1277387)
- Made test failure nonfatal on MIPS (rhbz#1294888)
* Wed Jan 13 2016 Jan Stanek <jstanek@redhat.com> - 3.10.0-1
- Updated to version 3.10.0 (http://sqlite.org/releaselog/3_10_0.html)
* Mon Dec 21 2015 Jan Stanek <jstanek@redhat.com> - 3.9.2-1
- Updated to version 3.9.2 (http://sqlite.org/releaselog/3_9_2.html)
* Thu Dec 10 2015 Jan Stanek <jstanek@redhat.com> - 3.9.0-2
- Add autoconf amalgamation for stage2 builds.
* Thu Oct 15 2015 Jan Stanek <jstanek@redhat.com> - 3.9.0-1
- Updated to version 3.9.0 (https://sqlite.org/releaselog/3_9_0.html)
* Tue Sep 22 2015 Jan Stanek <jstanek@redhat.com> - 3.8.11.1-1
- Updated to version 3.8.11.1
* Tue Jul 28 2015 Jan Stanek <jstanek@redhat.com> - 3.8.11-1
- Updated to version 3.8.11 (https://sqlite.org/releaselog/3_8_11.html)
* Fri Jun 19 2015 Jan Stanek <jstanek@redhat.com> - 3.8.10.2-3
- Enabled SQLITE_ENABLE_FTS3_PARENTHESIS extension (rhbz#1232301)
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.10.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri May 29 2015 Jan Stanek <jstanek@redhat.com> - 3.8.10.2-1
- Updated to version 3.8.10.2 (https://sqlite.org/releaselog/3_8_10_2.html)
* Mon May 18 2015 Jan Stanek <jstanek@redhat.com> - 3.8.10.1-1
- Updated to version 3.8.10.1 (https://www.sqlite.org/releaselog/3_8_10_1.html)
* Tue Apr 14 2015 Jan Stanek <jstanek@redhat.com> - 3.8.9-1
- Updated to version 3.8.9 (https://www.sqlite.org/releaselog/3_8_9.html)
* Thu Feb 26 2015 Jan Stanek <jstanek@redhat.com> - 3.8.8.3-1
- Updated to version 3.8.8.3 (https://sqlite.org/releaselog/3_8_8_3.html)
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 3.8.8-3
- Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
* Tue Feb 03 2015 Jan Stanek <jstanek@redhat.com> - 3.8.8-2
- Fixed out-of-date source URLs (rhbz#1188092)
* Tue Jan 20 2015 Jan Stanek <jstanek@redhat.com> - 3.8.8-1
- Updated to version 3.8.8 (https://sqlite.org/releaselog/3_8_8.html)
- Recreated patches to work on current version.
* Fri Dec 12 2014 Jan Stanek <jstanek@redhat.com> - 3.8.7.4-1
- Updated to version 3.8.7.4 (http://www.sqlite.org/releaselog/3_8_7_4.html)
* Tue Nov 25 2014 Jan Stanek <jstanek@redhat.com> - 3.8.7.2-1
- Updated to version 3.8.7.2 (http://sqlite.org/releaselog/3_8_7_2.html)
* Tue Oct 21 2014 Jan Stanek <jstanek@redhat.com> - 3.8.7-1
- Updated to version 3.8.7 (http://sqlite.org/releaselog/3_8_7.html)
- Dropped patch for problem fixed upstream
* Tue Aug 19 2014 Jan Stanek <jstanek@redhat.com> - 3.8.6-2
- Added auto-selection of Tcl version based on Fedora version
* Tue Aug 19 2014 Jan Stanek <jstanek@redhat.com> - 3.8.6-1
- Updated to version 3.8.6 (http://www.sqlite.org/releaselog/3_8_6.html)
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Wed Jun 11 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.8.5-2
- Re-enable tests on aarch64 now they pass again
* Tue Jun 10 2014 Jan Stanek <jstanek@redhat.com> - 3.8.5-1
- Update to version 3.8.5 (http://www.sqlite.org/releaselog/3_8_5.html)
- Dropped patch already included upstream
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.4.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Jun 5 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.8.4.3-4
- Don't make tests fail the build on aarch64 like some of the other arches
* Wed May 28 2014 Jan Stanek <jstanek@redhat.com> - 3.8.4.3-3
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86 with correct tcl_version
* Wed May 21 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 3.8.4.3-2
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86
* Tue Apr 29 2014 Jan Stanek <jstanek@redhat.com> - 3.8.4.3-1
- Update to version 3.8.4.3 (http://www.sqlite.org/releaselog/3_8_4_3.html)
- Changed patch for rhbz#1075889 to upstream version
Related: #1075889
* Fri Apr 25 2014 Honza Horak <hhorak@redhat.com> - 3.8.4.2-3
- Revert part of the upstream commit dca1945aeb3fb005, since it causes
nautilus to crash
Related: #1075889
* Wed Apr 02 2014 Jan Stanek <jstanek@redhat.com> 3.8.4.2-2
- Added building and shipping of sqlite3_analyzer (#1007159)
* Fri Mar 28 2014 Jan Stanek <jstanek@redhat.com> 3.8.4.2-1
- Update to 3.8.4 (http://www.sqlite.org/releaselog/3_8_4_2.html)
* Tue Mar 11 2014 Jan Stanek <jstanek@redhat.com> 3.8.4-1
- Update to 3.8.4 (http://www.sqlite.org/releaselog/3_8_4.html)
* Sun Feb 23 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.8.3-2
- Re-enable check on ARM/aarch64 as failing test fixed upstream for non x86 arches
- Modernise spec
* Tue Feb 11 2014 Jan Stanek <jstanek@redhat.com> 3.8.3-1
- Update to 3.8.3 (http://www.sqlite.org/releaselog/3_8_3.html)
- Dropped man-page patch - included upstream
* Mon Jan 6 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.8.2-2
- Add aarch64 to all the other arch excludes for tests
* Tue Dec 10 2013 Jan Stanek <jstanek@redhat.com> - 3.8.2-1
- Update to 3.8.2 (http://www.sqlite.org/releaselog/3_8_2.html)
* Tue Nov 26 2013 Debarshi Ray <rishi@fedoraproject.org> - 3.8.1-2
- Do not use transitive WHERE-clause constraints on LEFT JOINs (#1034714)
* Tue Oct 22 2013 Jan Stanek <jstanek@redhat.com> - 3.8.1-1
- Update to 3.8.1 (http://www.sqlite.org/releaselog/3_8_1.html)
* Thu Sep 26 2013 Jan Stanek <jstanek@redhat.com> - 3.8.0.2-4
- Removed fullversioned provides and start using full version for rpm version
* Mon Sep 23 2013 Jan Stanek <jstanek@redhat.com> - 3.8.0-3
- Added fullversioned Provides to fix broken dependency
* Mon Sep 16 2013 Jan Stanek <jstanek@redhat.com> - 3.8.0-2
- Dropped problematic percentile-2.1.50 test
* Thu Sep 05 2013 Jan Stanek <jstanek@redhat.com> - 3.8.0-1
- Update to 3.8.0.2 (http://sqlite.org/releaselog/3_8_0_2.html)
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.17-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed May 22 2013 Jan Stanek <jstanek@redhat.com> - 3.7.17-1
- Update to 3.7.17 (http://www.sqlite.org/releaselog/3_7_17.html)
* Thu May 16 2013 Jan Stanek <jstanek@redhat.com> - 3.7.16.2-2
- Added missing options to man page (#948862)
* Mon Apr 29 2013 Jan Stanek <jstanek@redhat.com> - 3.7.16.2-1
- update to 3.7.16.2 (http://www.sqlite.org/releaselog/3_7_16_2.html)
- add support for aarch64 (rerunning autoconf) (#926568)
* Sun Mar 31 2013 Panu Matilainen <pmatilai@redhat.com> - 3.7.16.1-1
- update to 3.7.16.1 (https://www.sqlite.org/releaselog/3_7_16_1.html)
* Wed Mar 20 2013 Panu Matilainen <pmatilai@redhat.com> - 3.7.16-1
- update to 3.7.16 (http://www.sqlite.org/releaselog/3_7_16.html)
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.15.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Thu Jan 10 2013 Panu Matilainen <pmatilai@redhat.com> - 3.7.15.2-1
- update to 3.7.15.2 (http://www.sqlite.org/releaselog/3_7_15_2.html)
* Thu Dec 13 2012 Panu Matilainen <pmatilai@redhat.com> - 3.7.15-1
- update to 3.7.15 (http://www.sqlite.org/releaselog/3_7_15.html)
- fix an old incorrect date in spec changelog
* Tue Nov 06 2012 Panu Matilainen <pmatilai@redhat.com> - 3.7.14.1-1
- update to 3.7.14.1 (http://www.sqlite.org/releaselog/3_7_14_1.html)
* Wed Oct 03 2012 Panu Matilainen <pmatilai@redhat.com> - 3.7.14-1
- update to 3.7.14 (http://www.sqlite.org/releaselog/3_7_14.html)
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Jun 25 2012 Panu Matilainen <pmatilai@redhat.com> - 3.7.13-1
- update to 3.7.13 (http://www.sqlite.org/releaselog/3_7_13.html)
- drop no longer needed savepoint relase patch
* Fri Jun 01 2012 Panu Matilainen <pmatilai@redhat.com> - 3.7.11-3
- don't abort pending queries on release of nested savepoint (#821642)
* Wed Apr 25 2012 Panu Matilainen <pmatilai@redhat.com> - 3.7.11-2
- run test-suite with MALLOC_CHECK_=3
- disable buggy malloc_usable_size code (#801981)
* Mon Mar 26 2012 Panu Matilainen <pmatilai@redhat.com> - 3.7.11-1
- update to 3.7.11 (http://www.sqlite.org/releaselog/3_7_11.html)
* Wed Mar 07 2012 Panu Matilainen <pmatilai@redhat.com> - 3.7.10-1
- update to 3.7.10 (http://www.sqlite.org/releaselog/3_7_10.html)
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Nov 22 2011 Panu Matilainen <pmatilai@redhat.com> - 3.7.9-1
- update to 3.7.9 (http://www.sqlite.org/releaselog/3_7_9.html)
* Fri Oct 28 2011 Panu Matilainen <pmatilai@redhat.com> - 3.7.8-1
- update to 3.7.8 (http://www.sqlite.org/releaselog/3_7_8.html)
* Wed Jul 13 2011 Panu Matilainen <pmatilai@redhat.com> - 3.7.7.1-1
- update to 3.7.7.1 (http://www.sqlite.org/releaselog/3_7_7_1.html)
- autoconf no longer needed for build, libdl check finally upstreamed
* Wed May 25 2011 Panu Matilainen <pmatilai@redhat.com> - 3.7.6.3-1
- update to 3.7.6.3 (http://www.sqlite.org/releaselog/3_7_6_3.html)
* Sat May 21 2011 Peter Robinson <pbrobinson@gmail.com> - 3.7.6.2-3
- add arm to the exclude from tests list
* Fri Apr 29 2011 Panu Matilainen <pmatilai@redhat.com> - 3.7.6.2-2
- comment out stupid tests causing very bogus build failure on koji
* Thu Apr 21 2011 Panu Matilainen <pmatilai@redhat.com> - 3.7.6.2-1
- update to 3.7.6.2 (http://www.sqlite.org/releaselog/3_7_6_2.html)
* Fri Feb 25 2011 Dennis Gilmore <dennis@ausil.us> - 3.7.5-4
- build tests on sparc expecting failures same as the other big endian arches
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Feb 2 2011 Panu Matilainen <pmatilai@redhat.com> - 3.7.5-2
- unwanted cgi-script in docs creating broken dependencies, remove it
- make doc sub-package noarch
* Tue Feb 1 2011 Panu Matilainen <pmatilai@redhat.com> - 3.7.5-1
- update to 3.7.5 (http://www.sqlite.org/releaselog/3_7_5.html)
* Thu Dec 9 2010 Panu Matilainen <pmatilai@redhat.com> - 3.7.4-1
- update to 3.7.4 (http://www.sqlite.org/releaselog/3_7_4.html)
- deal with upstream source naming, versioning and format changing
- fixup wal2-test expections wrt SQLITE_DISABLE_DIRSYNC use
* Fri Nov 5 2010 Dan Horák <dan[at]danny.cz> - 3.7.3-2
- expect test failures also on s390x
* Mon Nov 1 2010 Panu Matilainen <pmatilai@redhat.com> - 3.7.3-1
- update to 3.7.3 (http://www.sqlite.org/releaselog/3_7_3.html)
* Thu Sep 2 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 3.7.0.1-2
- enable SQLITE_SECURE_DELETE, SQLITE_ENABLE_UNLOCK_NOTIFY for firefox 4
* Fri Aug 13 2010 Panu Matilainen <pmatilai@redhat.com> - 3.7.0.1-1
- update to 3.7.0.1 (http://www.sqlite.org/releaselog/3_7_0_1.html)
* Sat Jul 3 2010 Dan Horák <dan[at]danny.cz> - 3.6.23.1-2
- some tests are failing on s390 and ppc/ppc64 so don't fail the whole build there
* Mon Apr 19 2010 Panu Matilainen <pmatilai@redhat.com> - 3.6.23.1-1
- update to 3.6.23.1 (http://www.sqlite.org/releaselog/3_6_23_1.html)
* Wed Mar 10 2010 Panu Matilainen <pmatilai@redhat.com> - 3.6.23-1
- update to 3.6.23 (http://www.sqlite.org/releaselog/3_6_23.html)
- drop the lemon sprintf patch, upstream doesn't want it
- make test-suite errors fail build finally
* Mon Jan 18 2010 Panu Matilainen <pmatilai@redhat.com> - 3.6.22-1
- update to 3.6.22 (http://www.sqlite.org/releaselog/3_6_22.html)
* Tue Dec 08 2009 Panu Matilainen <pmatilai@redhat.com> - 3.6.21-1
- update to 3.6.21 (http://www.sqlite.org/releaselog/3_6_21.html)
* Tue Nov 17 2009 Panu Matilainen <pmatilai@redhat.com> - 3.6.20-1
- update to 3.6.20 (http://www.sqlite.org/releaselog/3_6_20.html)