]> git.pld-linux.org Git - packages/sqlite3.git/commitdiff
- up to 3.9.1 auto/th/sqlite3-3.9.1.0-3
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 27 Oct 2015 22:26:09 +0000 (23:26 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 27 Oct 2015 22:26:09 +0000 (23:26 +0100)
sqlite3.spec

index bb79b95b11bb1b9d4c5ed7a0b377ae415bfad8a7..41edf00dca5b978b24166cbbd75356e46686c37a 100644 (file)
@@ -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 .
This page took 0.27327 seconds and 4 git commands to generate.