From f5416321bb6a7ea066fe797a30a354491a4d895c0503dba34dfd54b428c42ea3 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Tue, 30 Jan 2024 18:08:35 +0000 Subject: [PATCH] - Update to release 3.45.1 * Details will follow... - Abort build when %version and %tarversion don't match. OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=328 --- sqlite-doc-3440200.zip | 3 --- sqlite-doc-3450100.zip | 3 +++ sqlite-src-3440200.zip | 3 --- sqlite-src-3450100.zip | 3 +++ sqlite3.changes | 8 ++++++++ sqlite3.spec | 16 ++++++++++++---- 6 files changed, 26 insertions(+), 10 deletions(-) delete mode 100644 sqlite-doc-3440200.zip create mode 100644 sqlite-doc-3450100.zip delete mode 100644 sqlite-src-3440200.zip create mode 100644 sqlite-src-3450100.zip diff --git a/sqlite-doc-3440200.zip b/sqlite-doc-3440200.zip deleted file mode 100644 index ebec809..0000000 --- a/sqlite-doc-3440200.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:62e51962552fb204ef0a541d51f8f721499d1a3fffae6e86558d251c96084fcf -size 10704552 diff --git a/sqlite-doc-3450100.zip b/sqlite-doc-3450100.zip new file mode 100644 index 0000000..1f363d0 --- /dev/null +++ b/sqlite-doc-3450100.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bbe376fdd36884a00f4dd93bcd6e80470d66408d4957cb23ba22931fa579206a +size 10746925 diff --git a/sqlite-src-3440200.zip b/sqlite-src-3440200.zip deleted file mode 100644 index a55c03d..0000000 --- a/sqlite-src-3440200.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:73187473feb74509357e8fa6cb9fd67153b2d010d00aeb2fddb6ceeb18abaf27 -size 14070781 diff --git a/sqlite-src-3450100.zip b/sqlite-src-3450100.zip new file mode 100644 index 0000000..85b606f --- /dev/null +++ b/sqlite-src-3450100.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f7b14a68edbcd4a57df3a8c4dbd56d2d3546a6e7cdd50de40ceb03af33d34ba +size 14152147 diff --git a/sqlite3.changes b/sqlite3.changes index ea596d1..0ab33f2 100644 --- a/sqlite3.changes +++ b/sqlite3.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Jan 30 18:05:28 UTC 2024 - Reinhard Max + +- Update to release 3.45.1 + * Details will follow... + +- Abort build when %version and %tarversion don't match. + ------------------------------------------------------------------- Thu Dec 7 13:38:59 UTC 2023 - Dominique Leuenberger diff --git a/sqlite3.spec b/sqlite3.spec index 5d8def0..1b8b74e 100644 --- a/sqlite3.spec +++ b/sqlite3.spec @@ -1,7 +1,7 @@ # # spec file for package sqlite3 # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,12 +17,12 @@ %define oname sqlite -%define tarversion 3440200 -%define docversion 3440200 +%define tarversion 3450100 +%define docversion 3450100 %bcond_with icu %bcond_without check Name: sqlite3 -Version: 3.44.2 +Version: 3.45.1 Release: 0 Summary: Embeddable SQL Database Engine License: SUSE-Public-Domain @@ -129,6 +129,14 @@ other documentation found on sqlite.org. The files can be found in %{_docdir}/%{name}-doc. %prep +# Version and %tarversion need to match, but %docversion might be different, +IFS=. read a b c d <<< "%version" +if [ "%tarversion" != $(printf "%1d%02d%02d%02d" $a $b $c $d) ] +then + echo "Version %version does not match tarversion %tarversion." + exit 1 +fi + %autosetup -p1 -n sqlite-src-%{tarversion} -a2 rm -v sqlite-doc-%{docversion}/releaselog/current.html