[packages/sqlite3] do not require replication patch when building without it

atler atler at pld-linux.org
Sun Dec 2 23:09:00 CET 2018


commit 7197ae18f9c4562771d2cf6f1b19d8fb815663fb
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Dec 2 23:07:32 2018 +0100

    do not require replication patch when building without it

 sqlite3.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/sqlite3.spec b/sqlite3.spec
index 12a52bf..4542b60 100644
--- a/sqlite3.spec
+++ b/sqlite3.spec
@@ -41,8 +41,10 @@ Source0:	http://www.sqlite.org/2018/sqlite-src-%{vnum}.zip
 # Source0-md5:	dfc2ae0e9b810e9e3db553f71ea832ad
 Patch0:		%{name}-sign-function.patch
 # https://github.com/CanonicalLtd/dqlite/issues/91
+%if %{with wal_replication}
 Patch1:		https://github.com/CanonicalLtd/sqlite/releases/download/version-%{ver}%%2Breplication3/sqlite-%{ver}.diff
 # Patch1-md5:	a865f0b6a7b72be0b48c3a6ddf4fd4a5
+%endif
 URL:		http://www.sqlite.org/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sqlite3.git/commitdiff/7197ae18f9c4562771d2cf6f1b19d8fb815663fb



More information about the pld-cvs-commit mailing list