From: Arkadiusz Miƛkiewicz Date: Tue, 27 Oct 2015 22:26:09 +0000 (+0100) Subject: - up to 3.9.1 X-Git-Tag: auto/th/sqlite3-3.9.1.0-3 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=0400167dd916123fc3ac426f1129d79f7576a885;p=packages%2Fsqlite3.git - up to 3.9.1 --- diff --git a/sqlite3.spec b/sqlite3.spec index bb79b95..41edf00 100644 --- a/sqlite3.spec +++ b/sqlite3.spec @@ -21,7 +21,7 @@ %endif # sqlite3 version with zero padded without any dots (3 08 10 01 is 3.8.10.1) -%define vnum 3081101 +%define vnum 3090100 %define ver %{lua:vn=rpm.expand("%vnum");v="";for i in string.gmatch(string.format("%08d", vn), "..") do; v=v.."."..i:gsub("^0", "");end;v=v:gsub("^.","");print(v)} %define tclver 8.6 @@ -34,7 +34,7 @@ License: Public Domain Group: Libraries # Source0Download: http://www.sqlite.org/download.html Source0: http://www.sqlite.org/2015/sqlite-src-%{vnum}.zip -# Source0-md5: 4550012d85ffdc607d0c86aef2d47974 +# Source0-md5: 2392df5a532e1badea79d56a7e93f072 Patch0: %{name}-sign-function.patch URL: http://www.sqlite.org/ %{?with_load_extension:Provides: %{name}(load_extension)} @@ -181,11 +181,20 @@ Rozszerzenie sqlite3 dla Tcl. %{__sed} -i 's/mkdir doc/#mkdir doc/' Makefile.in -if [ "$(cat VERSION)" != "%{version}" ]; then +# temporary hack +V="$(cat VERSION)" +[ "$V" = "3.9.1" ] && V="3.9.1.0" + +if [ "$V" != "%{version}" ]; then echo "Tarball content doesn't match version %{version}." >&2 exit 1 fi +#if [ "$(cat VERSION)" != "%{version}" ]; then +# echo "Tarball content doesn't match version %{version}." >&2 +# exit 1 +#fi + %build %{__libtoolize} cp -f /usr/share/automake/config.sub .