[packages/sqlite3] - make sure version_num gets properly updated
arekm
arekm at pld-linux.org
Mon Dec 1 23:34:18 CET 2014
commit 78ed83ff910041fa7350d3857cc11ee56dea2071
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Dec 1 23:34:13 2014 +0100
- make sure version_num gets properly updated
sqlite3.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/sqlite3.spec b/sqlite3.spec
index 5c74c3a..90f736a 100644
--- a/sqlite3.spec
+++ b/sqlite3.spec
@@ -179,6 +179,11 @@ Rozszerzenie sqlite3 dla Tcl.
%{__sed} -i 's/mkdir doc/#mkdir doc/' Makefile.in
+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 .
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sqlite3.git/commitdiff/78ed83ff910041fa7350d3857cc11ee56dea2071
More information about the pld-cvs-commit
mailing list